RE: how to copy file at post?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>  
>





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux