# First interface. VMs get eth0. Physical machines it's usually bond0 interface0='eth0' ip0='10.67.32.88' subnet0='255.255.255.240' gateway0='10.67.32.81'
# Set this to install to a boot lun # UNSET IT FOR A VM. #wwid='088d' # formatting note: No colon, lower case. # Second interface--usually the manglement interface. VMs get eth1. Physical machines it's usually em2? interface1='eth1' ip1='10.67.90.142' subnet1='255.255.252.0' # gateway1='10.67.88.1' This results in network lines that look like: (sorry about the <thing>.org, but I'm a contractor here and yeah, you know) network --bootproto=static --ip=10.67.90.142 --netmask=255.255.252.0 --gateway=10.67.32.81 --nameserver=10.65.32.5 --hostname=onpcrfapp01.<thing>.org --device=eth1 --onboot=on network --bootproto=static --ip=10.67.32.88 --netmask=255.255.255.240 --gateway=10.67.32.81 --nameserver=10.65.32.5 --hostname=onpcrfapp01.<thing>.org --device=eth0 --onboot=on During the kickstart I get: 22:26:13 INFO : transfering http://server/path to a fd 22:26:13 INFO : setting up kickstart 22:26:13 INFO : kickstartFromURL 22:26:13 INFO : results of url ks, url http:etc. etc. etc. <load modules> 22.26.15 INFO : need to set up networking 22.26.15 INFO : going to pick interface 22.26.15 INFO : going to do getNetConfig <etc> 22.26.15 INFO : doing kickstart... setting it up 22.26.15 INFO : result of pumpSetupInterface failed create route - 1 Operation not permitted oh, and alt-<f4> says: <6>e1000: eth0 NIC Linuk is up (etc.) FC stuff... <6>e1000: eth1 NIC Link is up (etc.) Google lead me here: https://access.redhat.com/site/solutions/31028 which asserted that fixing the network line would solve my problems. This setup works fine for RHEL6. Unfortunately the product we need to run is stuck in the sorta cloudy ages and isn't supported on 6, hence trying on 5. I mangled a bit with cobbler/snippts/network_config to convice cobbler not put the gateway in eth1, which gave: network --bootproto=static --ip=10.67.90.142 --netmask=255.255.252.0 --nameserver=10.65.32.5 --hostname=onpcrfapp01.<thing>.org --device=eth1 --onboot=on network --bootproto=static --ip=10.67.32.88 --netmask=255.255.255.240 --gateway=10.67.32.81 --nameserver=10.65.32.5 --hostname=onpcrfapp01.<thing>.org --device=eth0 --onboot=on (mangle): #if $gateway != "" and $iname != 'eth1': #set $network_str = $network_str + " --gateway=" + $gateway #end if I'm really at a loss here. Any suggestions, or should this go to the kickstart list?
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
