Skip to content

Resetting Ubuntu VM Password does not work #8767

@nxsbi

Description

@nxsbi
ISSUE TYPE
  • Other
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17.0
CONFIGURATION

NA

OS / ENVIRONMENT

Ubuntu 22.04 Server LTS (VM OS)

SUMMARY

I want to enable the Change Password functionality for Ubuntu based VM. I have a newly created Ubuntu 22.04 Server Template. I enabled the root user as well, and followed steps in https://docs.cloudstack.apache.org/en/latest/adminguide/templates/_password.html

However, for Ubuntu I cannot get it to work. Step 5 is not possible on Ubuntu so tried
update-rc.d cloud-set-guest-password defaults

Even after trying the Change Password from Cloudstack UI, the password does not change and my old password which I used while creating template still works.

These steps worked fine for CentOS, but not working for Ubuntu

STEPS TO REPRODUCE
Create a Ubuntu Template
Follow the cloud-set-guest-password steps - https://docs.cloudstack.apache.org/en/latest/adminguide/templates/_password.html
Create a new VM from this template, - New password that pops up does not work
Chnage password does not work from Cloudstack UI 

EXPECTED RESULTS
Password works
ACTUAL RESULTS
Password does not work. 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions