vm_host = 0
vm_mem = 1
vm_mac5 = 2
-machines = { 'bees-knees' : ['not-forward', 4096, 10],
- 'cats-whiskers': ['not-forward', 7168, 20],
- 'not-backward' : ['not-forward', 2048, 30],
- 'busy-beaver' : ['conan-obrien', 3072, 40],
- 'pancake-bunny': ['conan-obrien', 3072, 50],
+machines = { 'bees-knees' : ['not-forward', 4096, 10],
- 'cats-whiskers' : ['not-forward', 4096, 20],
- 'not-backward' : ['not-forward', 4096, 30],
++ 'cats-whiskers' : ['not-forward', 7168, 20],
++ 'not-backward' : ['not-forward', 2048, 30],
+ 'busy-beaver' : ['conan-obrien', 3072, 40],
+ 'pancake-bunny' : ['conan-obrien', 3072, 50],
+ 'whole-enchilada': ['conan-obrien', 3072, 60],
}
vm = machines[machine_name]
# pub/fedora/linux/releases/test/11-Preview/Fedora/x86_64/os/isolinux/
kernel = "/root/%s-install/vmlinuz" % install
ramdisk = "/root/%s-install/initrd.img" % install
+ extra = "selinux=0"
elif 'type' in locals() and type == 'hvm':
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
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 builder != "hvm":
+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
file('/proc/sys/vm/drop_caches', 'w').write('1')