Re: more newbie questions

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

 



On Fri, 2004-07-02 at 12:25, jason.ctr.alburger@xxxxxxx wrote:
> 
> 
> I have placed some files in the toplevel directory of my kickstart cd.  I
> want to copy these files to the /home directory during the kickstart
> installation.  I've been attempting to do this in the %post section of the
> ks.cfg file, but cannot figure out the file path to the toplevel directory
> on the cd.
> 
> ie, I have test.txt on the toplevel directory of the CD.  I want the
> post-install script to put this into /home.
> 
> How can I do this?

%post --nochroot
cp /mnt/source/test.txt /mnt/sysimage/home

%post
# Rest of %post commands.

Forrest



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux