# -*- mode: python; -*- import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 1000 shadow_memory = 100 name = "Win2003" vcpus=1 vif = [ 'type=ioemu, mac=00:16:3e:33:33:55, bridge=xenbr0 '] disk = [ 'file:/xen_hosts/win2k3.img,ioemu:hda,w' ] #cdrom="/opt/win2k3.iso" device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' # boot on floppy (a), hard disk (c) or CD-ROM (d) boot="c" vnc=1 vncviewer=0 vncdisplay=3 vncunused=0 vncpasswd='' nographic=0 soundhw='sb16' audio=1 localtime=1 usb=1 usbdevice='mouse' keymap='fr'