export MGUID=`xe vm-install template=centos6 new-name-label="centos 6 test install 3"`
xe vm-disk-add disk-size=11GiB vm=$MGUID sr-uuid=$STORAGE_UID device=0
xe vm-param-set uuid="$MGUID" PV-args="ks=http://server.com/ks.cfg ksdevice=eth0"
xe vm-param-set uuid="$MGUID" other-config:install-repository="http://mirror.switch.ch/ftp/mirror/centos/6/os/x86_64/"
xe vm-start uuid=$MGUID
when i do this i get a error that there is no bootloader. if i add a disk to the template and omit the 2nd command everything works fine.
so the question: how can i boot into installation after adding disk(s)