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:
parent
8e2bca030c
commit
e65f0c2347
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue