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

RE: %post question



Thanks, I'll keep that in mind.  I guess my question is more when I try to
mount the file system, all it does is hang.  I've disabled the firewall
within kickstart,so that *shouldn't* be a problem.  I wouldn't think I'd
have to start mountd, portmapper and the like for this would I since I'm
doing my install via nfs.

Thanks,

Steve

-----Original Message-----
From: Philip Rowlands [mailto:phr doc ic ac uk]
Sent: Thursday, May 22, 2003 7:46 PM
To: 'kickstart-list redhat com'
Subject: 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


_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list




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