Re: %post question

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

 



On Thu, 22 May 2003, Steven Garrett wrote:

>I'm trying to get a shell script to run from a nfs server during the %post
>portion of the kickstart.  I've looked at the documentation on redhat.com
>and tried what it said, but didn't work.
>
>in my %post section is
>%post --nochroot
>mkdir /mnt/temp
>mount 172.16.0.100:/d1/redhat/common /mnt/temp
>read -s -w --/mnt/temp/shell.sh

I'm not sure what that "read -s -w --" is trying to do. Try writing:

/mnt/temp/shell.sh

Remember that all paths to files on the newly installed system will have
to be prefixed with /mnt/sysimage if you use --nochroot.


Hope this helps,
Phil




[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