hey guys,
I have two VMs running inside virtualbox. One is an NFS server that is hosting my kickstart file, and i am trying to kickstart the other VM.
NFS is up and running on the server VM, selinux and iptables are off. I can see the server exports from some other RedHat VM by doing:
Code:
showmount -e 10.0.1.2
where 10.0.1.2 is the IP of the NFS server
in the kickstart file, i specified the NIC eth0 configuration to be statistically assigned an IP address (same subnet, and mask as the server ofcourse). I generated the kickstart file using CentOS kickstart tool, so there's no chance for syntax errors or something.
Now, on the boot prompt of the VM that I wanna kickstart I do:
Code:
boot: linux ks=nfs:10.0.1.2:/kickme/ks.cfg
installation proceeds but a message is displayed.. don't quite remember the exact message but it was trying to contact a DHCP server to get IP!!!
why did that happen? even though I statically configured eth0 in the ks file!
the other weird part, if I set the network configuration on the boot prompt by doing:
Code:
boot: linux ks=nfs:10.0.1.2:/kickme/ks.cfg --ip=10.0.1.5 -netmask=255.255.255.0
all proceeds OK and apparently the network is configured properly but the anaconda complains about not being able to download the kickstart file.. I guess this has something to do with loading nfs module or something but I never investigated.
Can anybody please shed some light on my problems with VirtualBox?
Thanks in advance,