Hi. I followed along Techno Tim's tutorial on how you can create a VM from a Cloud Init image. I used Ubuntu 22.04 and 20.04 to create a VM. Without starting it (to avoid vm getting a UUID as he described it) I set a username and a password. Then I created a template and from this template I launched a VM. However when I try to login using the password that I set I get an error Login incorrect. I have looked at other posts in the forum and looked at the boot logs from qm start <vmid> && qm terminal <vmid> and did not found any errors or warnings. Also when I run the command `qm cloudinit dump 9001 user` I get the username that I set and the password field also set with what looks like a hashed values. I am unable to find out what the issue is. Any help would be highly appreciated.
Attaching boot logs below in the boot.txt file.
Output of `qm cloudinit dump 9001 user`:
http://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
http://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
Attaching boot logs below in the boot.txt file.
Output of `qm cloudinit dump 9001 user`:
I am running Proxmox VE 7.4-3 and the link to the cloud images are theseroot@proxmox:~# qm cloudinit dump 9001 user
#cloud-config
hostname: Ubuntu-Focal
manage_etc_hosts: true
user: admin
password: $5$Byq7ldzL$****
ssh_authorized_keys:
- ssh-ed25519 ****
chpasswd:
expire: False
users:
- default
package_upgrade: true
http://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
http://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img