Unable to use nfs in %post

Kaj Niemi kajtzu at basen.net
Mon Mar 10 18:46:57 UTC 2008


Hi,


You might want to put a very long sleep after the commands and either  
look at what happened from the command line (vty 2) or in your %post  
just put a practically infinite sleep, jump to vty 2, chroot /mnt/ 
sysimage and run the commands by hand to see what it bombs on. Good  
luck :)


On Mar 10, 2008, at 20:06, Rodrick Brown wrote:

> I’m unable to get the following lines to work in my Kickstart  
> profile I’m not sure what I could be doing
> Here is my configuration:
>
> %post
> # run custom scripts
> mkdir /a
> /bin/mount -t nfs 192.168.149.211:/mount/unix /a
> sleep 3
> [[ -f /a/scripts/motd.pl ]] && /usr/bin/perl /a/scripts/motd.pl > / 
> etc/motd
>
> # needed to connect to AD domain
> (cd /etc; tar xvf /a/packages/ldap_krbsettings.tar)
>
> ---
> Rodrick R. Brown
> Ballista Securities LLC
> 120 Wall St. Suite 2400
> C: 347 702 0012 | O: 646 307 4709
> http://www.ballistasec.com
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




HTH

Kaj
-- 
Kaj J. Niemi
<kajtzu at basen.net>
+358 45 63 12000



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080310/1b03a012/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3811 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080310/1b03a012/attachment.p7s>


More information about the Kickstart-list mailing list