projects
/
invirt/packages/invirt-autoinstaller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run xen-create-image with --verbose so you get useful output
[invirt/packages/invirt-autoinstaller.git]
/
host
/
usr
/
sbin
/
sipb-xen-install
diff --git
a/host/usr/sbin/sipb-xen-install
b/host/usr/sbin/sipb-xen-install
index
6784e52
..
e17e1f7
100644
(file)
--- 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
export TARGET=/dev/mapper/xenvg-"$(echo "${NAME}_hda" | sed -e 's/-/--/g')"
/usr/sbin/sipb-xen-create-image
+
+echo "disk = ['phy:$VGNAME/${NAME}_hda,hda,w']" >>/etc/xen/$HOSTNAME.cfg
+echo "root = '/dev/hda1 ro'" >>/etc/xen/$HOSTNAME.cfg