TS

# set domU name
DOMAIN_NAME=ts34

# create domU
xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=00:00:00:00:00:34 \
--lvm=vg01 --dist=jaunty --mirror=http://archive.ubuntu.com/ubuntu/ --size=10Gb --memory=512Mb --swap=512Mb

# rename config file
mv /etc/xen/${DOMAIN_NAME}.cfg /etc/xen/${DOMAIN_NAME}

# set root password
mount /dev/vg01/${DOMAIN_NAME}-disk /mnt/
chroot /mnt/
echo root:terceS | chpasswd
apt-get install udev
exit
umount /mnt/

# start domU
xm create -c ${DOMAIN_NAME}