CLOUD-INIT UNABLE TO LOGIN

ChrisJM

Well-Known Member
Mar 12, 2018
54
1
48
38
Hello,

I have tried a few images, i am currently trying CentOS 7 Generic Image and when it loads up, it will update cloud-init and the os and i cant login via the console even if i change the root password via Cloud-Init within proxmox.

i have also disabled these in the cloud.conf

ssh_pwauth: True
or
ssh_pwauth: 1

and enabled root login

I have even tried mounting it and chroot to change the root password and still can not get in.

Has anyone else had this issue? if so how did you resolve it?
 
You probably figured it out already, but for anyone else having this issue. You should set lock_passwd: in the /etc/cloud/cloud.cfg to False.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!