I got one problem with the below script, when kickstart/anaconda process the %post section, it already eject by cd! Is there a way to copy the file before the CD ejects itself? dwc -----Original Message----- From: Depankar Neogi [mailto:dneogi@xxxxxxxxxxxx] Sent: Tuesday, August 05, 2003 11:02 AM To: Chan, Dominic Cc: anaconda-devel-list@xxxxxxxxxx; Richard Black Subject: Re: how to copy file at post? The following lines works for me on RedHat Advanced Server 2.1. --------------------------------------------------------------- #copy to /root/SCRIPTS /RedHat/RPMS/KickOS-cluster-patch-1.2-3.i386.rpm %post --nochroot mkdir -p /mnt/sysimage/root/SCRIPTS cp /mnt/source/RedHat/RPMS/KickOS-cluster*.rpm /mnt/sysimage/root/SCRIPTS/. cp /mnt/source/RedHat/RPMS/KickOS-nmhost*.rpm /mnt/sysimage/root/SCRIPTS/. cp /mnt/source/RedHat/RPMS/KickOS-dhcpd*.rpm /mnt/sysimage/root/SCRIPTS/. ---------------------------------------------------------------- -Depankar Chan, Dominic wrote: >Is there a way for me to copy a file off the CD to the /root during post >phrase (or before)?? Usually during post, the CD is already ejected. >How do I get around this? > >dwc > > > >_______________________________________________ >Anaconda-devel-list mailing list >Anaconda-devel-list@xxxxxxxxxx >https://www.redhat.com/mailman/listinfo/anaconda-devel-list > >