Yes Paul, this is why you need to put the nochroot option...look the example: %post --nochroot cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf I think the resolv.conf is on the cd image. -- ======================================== Marcos Aurelio Rodrigues (DEiGrAtiA-33) <deigratia33@xxxxxxxxx> CCNA, MCSO, Security+ Mirabilia laudo semprer, Dei ======================================== On Mon, May 5, 2008 at 2:38 PM, Paul Whitney <paul.whitney@xxxxxxx> wrote: > Marcos, > > You are correct. The %post is still a valid feature. But read the "Note" > before it... > > "Note > The post-install script is run in a chroot environment; therefore, > performing tasks such as copying scripts or RPMs from the installation > media do not work. " > > > Thanks, > > Paul Whitney > > > On Mon, 2008-05-05 at 14:30 -0300, Marcos Aurelio Rodrigues wrote: > > Sorry Paul if i didn't understand your question, but the option %post > > --nochroot is still available > > > > > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Installation_Guide/s1-kickstart2-postinstallconfig.html > > > > > > > > -- > > ======================================== > > Marcos Aurelio Rodrigues (DEiGrAtiA-33) > > <deigratia33@xxxxxxxxx> > > CCNA, MCSO, Security+ > > Mirabilia laudo semprer, Dei > > ======================================== > > > > > > On 5/5/08, Paul Whitney <paul.whitney@xxxxxxx> wrote: > > > > > > I am trying to create a custom ISO using RHEL 5. > > > > > > In RHEL 4 it was possible to mount the cdrom in the kickstart file > after > > > install (%post --nochroot) and copy over files to the root homedir. > > > > > > Apparently that feature is no longer available according to the RHEL 5 > > > Installation Guide. Are there any suggestions on how to get a tar > file, > > > background images and a script loaded onto a system using either > ks.cfg > > > or some other means automatically? (i.e. no user interaction) > > > > > > Thanks, > > > > > > Paul W. > > > > > > > > > -- > > > redhat-list mailing list > > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list