LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount NFS with Kickstart (https://www.linuxquestions.org/questions/linux-newbie-8/mount-nfs-with-kickstart-4175420899/)

musiqdefunk 08-07-2012 04:27 PM

Mount NFS with Kickstart
 
Kernel: 2.6.18-308
RHEL 5.8

I've followed all the suggestions from other threads.I am trying to mount an NFS share in my kickstart and it seems to make everything thing else in my %post script not work:

Code:


/etc/init.d/portmap start

/bin/mkdir -p /mnt/kickstart
/bin/mount -o nolock 192.168.0.20:/kickstart /mnt/kickstart
/bin/cp -ar /mnt/kickstart/XXX/XXXX /u03
/bin/umount /mnt/kickstart

thank you

kbp 08-08-2012 07:07 PM

You might need to do it in
Code:

%post --nochroot
.. instead, and copy the content to /mnt/sysimage/u03

musiqdefunk 08-10-2012 03:05 PM

Thanks but yeah I tried it on the nochroot side and it still doesn't work I think it might have something to do with it being built on a VM...

kbp 08-10-2012 07:44 PM

Shouldn't matter, as long as network is up it should be ok, switch to vty3 and check connectivity.


All times are GMT -5. The time now is 06:08 PM.