except Exception, e:
print "Serving kickstart failed."
print e
+ else:
+ print "Kickstart served"
- print "Kickstart served"
sys.exit()
if 'install' in locals():
"netmask=255.255.0.0",
"gateway=18.181.0.1",
"dns=18.70.0.160,18.71.0.151,18.72.0.3",
+ "ksdevice=eth0",
# "syslog=18.181.0.51:514 debug=1 loglevel=debug telnet",
])
on_reboot = 'destroy' # don't rerun the installer
vif = [i % mac5 for i in ['bridge=eth0, mac=ac:de:48:00:%s:01',
'bridge=eth1, mac=ac:de:48:00:%s:02']]
-if 'install' in locals():
- del vif[1]
-
if 'builder' not in locals() or builder != "hvm":
# https://bugzilla.redhat.com/show_bug.cgi?id=466681
# pygrub uses cached and eventually outdated grub.conf, kernel and initrd
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip ${ip} --netmask 255.255.0.0 --gateway 18.181.0.1 --nameserver 18.70.0.160,18.71.0.151,18.72.0.3 --hostname ${hostname}
-#network --device eth1 --bootproto static --ip ${backend_ip} --netmask 255.255.0.0
+network --device eth1 --bootproto static --ip ${backend_ip} --netmask 255.255.0.0
timezone --utc America/New_York
selinux --disabled