Re: Unable to use nfs in %post

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

 



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
 
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list




HTH

Kaj
-- 
Kaj J. Niemi
+358 45 63 12000



Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

[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