fix up xen config at end of sipb-xen-install
authorGreg Price <price@mit.edu>
Mon, 29 Sep 2008 00:45:34 +0000 (20:45 -0400)
committerGreg Price <price@mit.edu>
Mon, 29 Sep 2008 00:45:34 +0000 (20:45 -0400)
svn path=/trunk/packages/sipb-xen-autoinstaller/; revision=939

host/usr/sbin/sipb-xen-install

index 6784e52..b8acec3 100644 (file)
@@ -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