OpenBSD as a Xen domU

From Sfvlug

# -*- python -*-

if xm_vars.env.get('install'):
    boot	= "d"
    on_reboot	= "destroy"
    on_crash	= "destroy"
else:
    boot	= "c"
    on_reboot	= "restart"
    on_crash	= "restart"

name		= "obsdvm"
uuid		= "b90a8f1b-5494-acad-9f3f-32da801868ce"
builder		= "hvm"
kernel		= "/usr/lib/xen/boot/hvmloader"
device_model	= "/usr/lib64/xen/bin/qemu-dm"
pae		= 1
acpi		= 1
apic		= 1
localtime	= 0
sdl		= 0
vnc		= 1
vncunused	= 1
keymap		= "en-us"
maxmem		= 512
memory		= 512
vcpus		= 1
on_poweroff	= "destroy"
vfb		= [ "type=vnc,vncunused=1,keymap=en-us" ]
disk		= [ "phy:/dev/VolGroup00/obsdvm,hda,w",
		    "file:/var/lib/xen/images/install47.iso,hdc:cdrom,r"
		    ]
vif		= [ "mac=00:16:3E:A8:01:05,bridge=xenbr0," + \
		    "script=vif-bridge,model=ne2k_pci"
		    ]
parallel	= "none"
serial		= "pty"
Personal tools