Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Create Azure VM on targeted storage account (xplate cli tools)

$
0
0

Hi, I'm trying to create azure VM using platform Ubuntu image. 

Command :

azure vm create "xplattestd1" "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB" -u test -p "********Azure" -l "West US" -z "Standard_D1" -e 22 -v

The issue is, VM gets created successfully but the storage account remains same X. I want create VM in another storage account.

I tried to use "azure storage account set Y". But still it is creating VM in X account only.

I can create VM in any other storage account with powershell tools by setting "CurrentStorageAccount" parameter while setting the storage account. But what about xplat cli tools? How to set default storage account?



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>