Run Azure CLI on RHEL 7

My usual bookkeeping.


yum install nodejs010-nodejs

source /opt/rh/nodejs010/enable

wget http://aka.ms/linux-azure-cli -O azure-cli.tgz

tar xzvf azure-cli.tgz

cd bin

npm install

# make sure azure account is available and follow the process to authenticate

./azure login

# should be ready to use azure cli now

./azure vm list

# switch to Azure Resource Manager (arm) mode

./azure config mode arm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s