Skip to content

Commit aec2022

Browse files
committed
Update
1 parent e861afe commit aec2022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/virtual-hard-disk/02-VirtualHardDisks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ printf "\n1. Creating a new resource group: %s and location: %s.\n" "$groupName"
66
azure group create -n "$groupName" --location "$location"
77

88
printf "\n2. Creating a new storage account"
9-
azure storage account new --resourcegroupname "$groupName" --name "$groupName" --location "$location" --type "$storageAccountType"
9+
result=`azure storage account new --resourcegroupname "$groupName" --name "$groupName" --location "$location" --type "$storageAccountType"`
1010

1111
printf "\n3. Uploading a virtual hard disk"
12-
azure vhd add --resourcegroupname "$groupName" --destination https://"$groupName".blob.core.windows.net/test/test.vhd --localfilepath $(dirname $0)/test.vhd
12+
result=`azure vhd add -o --resourcegroupname "$groupName" --destination https://"$groupName".blob.core.windows.net/test/test.vhd --localfilepath $(dirname $0)/test.vhd`
1313

1414
printf "\n4. Downloading a virtual hard disk"
1515

0 commit comments

Comments
 (0)