Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Azure Linux VM : Reset password or new access credential when recreating

$
0
0

When recreating a VM with an existing VHD, a SSH login credential should be recreated by “Reset Password”

For testing,

  1. Create a VM
  2. Remove VM while OS VHD left as it was
  3. Create a VM with Azure Cli in the example

azure login
azure config mode arm
azure vm create -f VM_NIC_Name -d https://OS_VHD_Storage_Account.blob.core.windows.net/vhds/th-OS_VHD_Name.vhd -o OS_VHD_Storage_Account -z Standard_DS1_v2 VM_Name Computer_Name EastAsia linux


Viewing all articles
Browse latest Browse all 34890

Trending Articles



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