Update to support azure-cli 0.10.1.

Storage creation has changed the command line options.  The option -type
-type has changed to --sku-name, and the user must specifcy --kind.
This commit is contained in:
Christopher Boumenot 2016-06-28 23:12:32 +00:00
parent 8e2bca030c
commit e65f0c2347
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ createResourceGroup() {
createStorageAccount() { createStorageAccount() {
echo "==> Creating storage account" echo "==> Creating storage account"
azure storage account create -g $meta_name -l westus --type LRS $meta_name azure storage account create -g $meta_name -l westus --sku-name LRS --kind Storage $meta_name
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
azure_storage_name=$meta_name azure_storage_name=$meta_name
else else