Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'azure' command with 'az' #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Step 1: Create a file named PrivateConf.json with these contents, substituting f

Step 2: Run this command, substituting the name of your virtual machine for "vmname".

azure vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* –-private-config-path PrivateConf.json
az vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* –-private-config-path PrivateConf.json

### <a name="sshkeyresetcli"></a>Reset the SSH key

Expand All @@ -87,7 +87,7 @@ Step 1: Create a file named PrivateConf.json with these contents, substituting f

Step 2: Run this command, substituting the name of your virtual machine for "vmname".

azure vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json
az vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json

### <a name="resetbothcli"></a>Reset the password and the SSH key

Expand All @@ -101,7 +101,7 @@ Step 1: Create a file named PrivateConf.json with these contents, substituting f

Step 2: Run this command, substituting the name of your virtual machine for "vmname".

azure vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json
az vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json

### <a name="createnewsudocli"></a>Create a new sudo user account

Expand All @@ -127,7 +127,7 @@ Step 1: Create a file named PrivateConf.json with this content.

Step 2: Run this command, substituting the name of your virtual machine for "vmname".

azure vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json
az vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json

### <a name="deletecli"></a>Delete a user

Expand All @@ -141,13 +141,13 @@ Step 1: Create a file named PrivateConf.json with this content, substituting for

Step 2: Run this command, substituting the name of your virtual machine for "vmname".

azure vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json
az vm extension set vmname VMAccessForLinux Microsoft.OSTCExtensions 1.* --private-config-path PrivateConf.json

### <a name="statuscli"></a>Display the status of the VMAccess extension

To display the status of the VMAccess extension, run this command.

azure vm extension get
az vm extension get


## Use Azure PowerShell
Expand Down