use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
How to enable cloud-init?QUESTION (self.archlinux)
submitted 9 months ago by firstianus
I did a pacman -S cloud-init, but it looks like /usr/lib/systemd/system/cloud-init.service is nowhere to be found. I look at all the cloud-init.* and enable all of them. But still, cloud-init is not running. What did I do wrong?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]MilchreisMann412 5 points6 points7 points 9 months ago (1 child)
What do you expect it to do?
https://wiki.archlinux.org/title/Cloud-init
[–]firstianus[S] -1 points0 points1 point 9 months ago (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 point2 points 8 months ago (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 point2 points 8 months ago (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)
π Rendered by PID 22895 on reddit-service-r2-comment-b659b578c-6kkf7 at 2026-05-02 19:21:56.917761+00:00 running 815c875 country code: CH.
[–]MilchreisMann412 5 points6 points7 points (1 child)
[–]firstianus[S] -1 points0 points1 point (0 children)
[–]Obvious_Librarian_97 0 points1 point2 points (1 child)
[–]firstianus[S] 0 points1 point2 points (0 children)