Ubuntu VM Logon Fails After Restore

VMs that have been created from Azure or Azure Stack using an Ubuntu template do not allow for single logon after restoring the VM from a Commvault backup.

Symptom

An Ubuntu VM logon fails after a restore from a Commvault backup.

Cause

The Linux guest agent for Ubuntu uses cloud-init for provisioning the VM after a restore operation. In this scenario, the cloud-init configuration locks the password of the default user.

Resolution

The workaround for this issue is to edit the VM's cloud configuration file (/etc/cloud/cloud.cfg), or reset the password with same user credentials from the Azure portal.

Edit the configuration file as follows: (The lock_passwd field is set to True by default.)

# System and/or distro specific settings
# (not accessible to handlers/transforms)
system_info:  # This will affect which distro class gets used  distro: ubuntu  # Default user name + that default users groups (if added/used)  default_user:  name: ubuntu  lock_passwd: False

Page contents

×

Loading...