- Log in to post comments
# OPTIONAL: create hdd
lvcreate --name pxe-disk --size 4G vg01
# xen config
cat < /etc/xen/pxe
kernel='/usr/lib/xen-default/boot/hvmloader'
builder='hvm'
memory='512'
name='pxe'
device_model='/usr/lib/xen-default/bin/qemu-dm'
boot='nc'
#disk=['phy:/dev/vg01/pxe-disk,ioemu:hda,w']
vnc=1
vncviewer=1
vncpasswd="pxe"
vif=['type=ioemu,bridge=eth0,mac=00:00:aa:bb:44:ae']
usbdevice='tablet'
vnclisten='0.0.0.0'
# vncdisplay=1 # uncomment this line to run on port 5901
EOF
# start domU
xm create pxe
# connect to domU over VNC
vinagre YOUR_DOMU_IP