From 54802c6d493dd198163b95bef170c33103652292 Mon Sep 17 00:00:00 2001 From: anthony Date: Mon, 7 Feb 2011 15:01:30 -0800 Subject: [PATCH] typo fix --- .../vm/hypervisor/xenserver/copy_vhd_from_secondarystorage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vm/hypervisor/xenserver/copy_vhd_from_secondarystorage.sh b/scripts/vm/hypervisor/xenserver/copy_vhd_from_secondarystorage.sh index 142ad18c677..527e0532d76 100755 --- a/scripts/vm/hypervisor/xenserver/copy_vhd_from_secondarystorage.sh +++ b/scripts/vm/hypervisor/xenserver/copy_vhd_from_secondarystorage.sh @@ -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