Hi Mr. Pushpendra,
Sorry for reply so late :)
It's working follow your steps as bellow:
%post --nochroot
cp -af /run/install/repo/Test /mnt/sysimage/
%end
Thanks,
- Jojo
在 2014年7月28日星期一,下午5:16,Mr. Pushpendra Chavan 写道:
Hello Jojo,I think the DVD iso is not mounted at /mnt/source in CentOS 7 but at/run/install/repoSo try out the following script.%post --nochrootcp -af /run/install/repo/Test /mnt/sysimage/%endIs this working?In case this too not working, you can simply have a workaround as follows.%post --nochrootmkdir /tmp/repomount /dev/sr0 /mnt/repocp -af /mnt/repo/Test /mnt/sysimage/%endOn Sun, Jul 27, 2014 at 9:44 AM, jojo <rjiejie@xxxxxxxxx> wrote:Hi,I rebuild CentOS iso target with a customized directory named "Test" indirectory "isolinux/" .In the old CentOS 6.x version,i do copy like following command in kickstart is ok:%post --nochrootcp -af /mnt/source/Test /mnt/sysimage/%endbut in CentOS 7.0,the same command is failed :(something what i did is wrong ?Thanks,- Jojo_______________________________________________Kickstart-list mailing list_______________________________________________Kickstart-list mailing list
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list