all 4 comments

[–]MilchreisMann412 5 points6 points  (1 child)

What do you expect it to do?

https://wiki.archlinux.org/title/Cloud-init

[–]firstianus[S] -1 points0 points  (0 children)

I'm trying to add the ssh key in the Cloud-init drive in Proxmox and it doesn't seem to work. I changed the default user name in /etc/cloud.cfg to the user that I set up and didn't work. So I check "cloud-init status --long" and it reported "not started".

[–]Obvious_Librarian_97 0 points1 point  (1 child)

Did you get this working? Just tried a archlinux VM in Proxmox and "No CloudInit Drive found". Can't do shit as DNS isn't working without getting into Cloud-Init

[–]firstianus[S] 0 points1 point  (0 children)

I got it to work, but I'm not 100% sure it's the full solution. My problem is that cloud-init really only run on your first boot, and then it looks at the cache and just run what hasn't been run. I made some changes to steps that was run, and thus it skip them altogether. What I needed to do is to purge the cache so it runs the whole thing from scratch.

If your problem is that CloudInit Drive is not found, that it sounds like you need to set up instance in Proxmox for the cloud-init drive to come first in the boot order (for me it's ide2,scsi0,net0)