Re: %post....copy file using NFS

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

 



On Fri, 2004-03-26 at 05:42, root wrote:
> Hello Friends,
>   I have created my own custom cd and tested it to install it from the
> network. I have setup the dhcp and NFS server and all works fine. Now i
> want to copy some files from the remote network server (NFS server) to
> the client machine in the %post section of the kickstart. How can i do
> that...can anyone help me for that...:-)

%post --nochroot
cp /mnt/source/files/you/want /mnt/sysimage/path

-----
/mnt/source in the --nochroot environment contains the installation
directory (it contains RedHat/ [or Fedora/], images, etc.), and
/mnt/sysimage is the path to your newly-installed system (it contains
/home, /root, etc.).

Forrest



[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