- 16.04 - Canonical:UbuntuServer:16_04-lts-gen2:16.04.202001290
- 18.04 - Canonical:UbuntuServer:18_04-lts-gen2:18.04.202001291
If you cannot connect to the VM with the user it was created with, you will need to reset the password using the Azure VM Access extension or the Azure Portal:
- Go to the VM.
- In the VM Blade, scroll to ‘Support + troubleshooting’
- Select ‘Password Reset’, then select ‘Reset password’, with the username that cannot access the VM.
You can take preemptive measure to avoid being locked out. If the distro has already released cloud-init 19.4 in their repo, you can upgrade to that using the following apt command.
sudo apt-get upgrade cloud-init