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

Re: %post question



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




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