Results 1 to 3 of 3
Thread: Networking in kickstart
Enjoy an ad free experience by logging in. Not a member yet? Register.
Networking in kickstart
Now, it's being used to install the OS on an HP Proliant that's in a remote datacenter via iLO, and it takes about an hour to transfer all of the files over iLO. So I got clever, commented out "cdrom" and added url --url http://ip.of.my.yum.server/path/to/os/ Then, at the end of %pre, I added /sbin/ifconfig eth0 $IP netmask $NM up However... it appears that kickstart sees the "url" directive and therefore assumes that it must have networking RIGHT NOW! It tries DHCP, fails, then runs %pre. I'm not certain if it ever raises the interface or not, but it complains "Unable to read package metadata"
Is there a way to do what I want to do... NOT configure eth0 in kickstart, but the way I'm doing it, raise the interface, and install from a network source instead of the disc?
My suggestion would be to drop the script in %pre and instead provide IP/netmask/gw/dns/hostname via dhcp.
The MAC address can be used to identify a specific network device.You must always face the curtain with a bow.