From: Greg Price Date: Mon, 29 Sep 2008 00:45:34 +0000 (-0400) Subject: fix up xen config at end of sipb-xen-install X-Git-Tag: sipb-xen-autoinstaller/2.5~2 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-autoinstaller.git/commitdiff_plain/fe25c3ed3e4d7a5ea479a5fdb03a39450c4e8618?ds=sidebyside fix up xen config at end of sipb-xen-install svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=939 --- diff --git a/host/usr/sbin/sipb-xen-install b/host/usr/sbin/sipb-xen-install index 6784e52..b8acec3 100644 --- a/host/usr/sbin/sipb-xen-install +++ b/host/usr/sbin/sipb-xen-install @@ -30,3 +30,6 @@ fi export TARGET=/dev/mapper/xenvg-"$(echo "${NAME}_hda" | sed -e 's/-/--/g')" /usr/sbin/sipb-xen-create-image + +echo "dist = ['phy:$VGNAME/${NAME}_hda,hda,w']" >>/etc/xen/$HOSTNAME.cfg +echo "root = '/dev/hda1 ro'" >>/etc/xen/$HOSTNAME.cfg