<div>
                    Hi Mr. Pushpendra,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>Sorry for reply so late :)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>It's working follow your steps as bellow:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>%post --nochroot</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>cp -af /run/install/repo/Test /mnt/sysimage/</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>%end</div>
                <div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">在 2014年7月28日星期一,下午5:16,Mr. Pushpendra Chavan 写道:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Hello Jojo,</div><div><br></div><div>I think the DVD iso is not mounted at /mnt/source in CentOS 7 but at</div><div>/run/install/repo</div><div><br></div><div>So try out the following script.</div><div><br></div><div>%post --nochroot</div><div>cp -af /run/install/repo/Test /mnt/sysimage/</div><div>%end</div><div><br></div><div>Is this working?</div><div><br></div><div>In case this too not working, you can simply have a workaround as follows.</div><div><br></div><div>%post --nochroot</div><div>mkdir /tmp/repo</div><div>mount /dev/sr0 /mnt/repo</div><div>cp -af /mnt/repo/Test /mnt/sysimage/</div><div>%end</div><div><br></div><div><br></div><div>On Sun, Jul 27, 2014 at 9:44 AM, jojo <<a href="mailto:rjiejie@gmail.com">rjiejie@gmail.com</a>> wrote:</div><blockquote type="cite"><div><div>Hi,</div><div><br></div><div>I rebuild CentOS iso target with a customized directory named "Test" in</div><div>directory "isolinux/" .</div><div><br></div><div>In the old CentOS 6.x version,</div><div><br></div><div>i do copy like following command in kickstart is ok:</div><div><br></div><div>%post --nochroot</div><div>cp -af /mnt/source/Test /mnt/sysimage/</div><div>%end</div><div><br></div><div>but in CentOS 7.0,</div><div><br></div><div>the same command is failed :(</div><div><br></div><div>something what i did is wrong ?</div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div><div><br></div><div>_______________________________________________</div><div>Kickstart-list mailing list</div><div><a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a></div><div><a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a></div></div></blockquote><div><br></div><div>_______________________________________________</div><div>Kickstart-list mailing list</div><div><a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a></div><div><a href="https://www.redhat.com/mailman/listinfo/kickstart-list">https://www.redhat.com/mailman/listinfo/kickstart-list</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>