if [ $(id -u) != 0 ]; then echo "You're not root" exit 1 fi apt-get install debootstrap kpartx cd /etc/init wget https://git.linaro.org/ci/xen-ci.git/blob_plain/HEAD:/files/hvc0.conf echo "/etc/init.d/xencommons start" >> /etc/rc.local