This commit is contained in:
anthony 2011-02-07 15:01:30 -08:00
parent 7a8fcdb611
commit 54802c6d49
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ if [ $type == "nfs" ]; then
fi
mv /var/run/sr-mount/$sruuid/$uuid /var/run/sr-mount/$sruuid/${uuid}.vhd
xe sr-scan uuid=$sruuid
elif [ $type == "lvmoiscsi" -o $type == "lvm" -o $type == "lvmohba"]; then
elif [ $type == "lvmoiscsi" -o $type == "lvm" -o $type == "lvmohba" ]; then
size=$(vhd-util query -v -n $vhdfile)
uuid=$(xe vdi-create sr-uuid=$sruuid virtual-size=${size}MiB type=user name-label="cloud")
if [ $? -ne 0 ]; then