cloud-init

  1. F

    Ceph + Cloud-Init Troubleshooting

    I have been using Cloud-Init for the past six months and Ceph for the past three months. I tried to set up Cloud-Init to work with CephFS and RBD, but I am having trouble booting a basic virtual machine. Is there a post or tutorial available for this particular use case? I have searched...
  2. M

    [cloud-init] Passwords hashed with yescrypt get rehashed to sha256crypt

    When passing a yescrypt hashed password to a cloud-init kvm, the value gets rehashed into a sha256crypt, instead of passing the yescrypt hash directly, as it does with sha512crypt hashes. Seems to be due to code not recognising the "$y$j9T$...." as an hashed password, for example in...
  3. M

    [SOLVED] cloud-init + ubuntu + template + vm + uefi + customization

    Hello everyone, I'm a recent vmware-->proxmox convert. So, please bear with my ignorance. Goal: Create cloud-init vm template customized (at parity) with my vmware cloud-init scripts to make cloning/creating new VMs an easy operation. Issue: I'm able to get an ubuntu 22.04 clout-init template...
  4. S

    2 IP Address not working in 1 VM with 2 Network Adapters in Cloud-Init

    Hi Team, I am assigning 2 IP addresses in the VM with the help of Cloud-init and I have connected 2 Adapters as well (1 for each IP), Even though only 1 IP is pinging, the IP that is pinging is the least one. I have tried assigning IPs single and both the IPs work, but when I am assigning 2...
  5. N

    Swap partition in cloud-init

    Hi Experts, If we create vm using cloud-init, we see there is no swap partition. If we want to have swap partition what needs to be done? Regards
  6. N

    Disk partition using cloud-init config

    Hello Experts, I'm using cloud-init config to partition the disk like below: resize_rootfs: false disk_setup: /dev/vda: table_type: 'mbr' layout: - 25 - 50 - 25 overwrite: true fs_setup: - label: root_fs filesystem: 'ext4' device: /dev/vda...
  7. J

    Ubuntu VMs cloned from cloud-init template do not execute cloud-init on first boot

    Hello, I am trying to create a cloud-init template for my VMs. I am on Proxmox VE 8.1.5. I am able to create the template, but when I clone it and attempt to start the clone, the cloud-init process never gets kicked off during boot (no ssh keys are generated, and ultimately I get a startup...
  8. J

    Virtual machine creation with API fails (cloud-init)

    Good evening guys since the last minor update of our Proxmox VE instances the creation with cloudinit is broken. We always added the parameter ' scsi10: "local-lvm:cloudinit"' to the API request, but since the last version the Proxmox VE instance fails at creation with the virtual machine with...
  9. P

    How to add several DNS domains in cloud-init Proxmox WEB GUI

    Hello, I need to add several entries to the guest VM "DNS domain" using Proxmox. As result the guest VM hostname changes to the combined DNS domains name: The "DNS domain" field supposed to have only one "."-separated entry. Please advice how I can add several DNS domains in Proxmox WEB GUI.
  10. P

    Unable to clone VM template after updating disk image

    I am trying to automate up to date cloud images for Ubuntu and Debian VM templates. Once a template has been cloned using linked clones, it is not possible to delete the template, so I just change the disk to be used in new clones, while the existing clones can still link to previous disk...
  11. V

    Cloning VM Template With Cloud Init Fails

    Hi all, I've been trying to deploy machines via the Proxmox VE API by cloning an existing template and configuring it with cloud-init. Sometimes this works, however most times my VMs either get stuck in a bootloop or get stuck in initramfs: Bootloop: Initramfs: ALERT! UUID=<UUID> does not...
  12. V

    how to use "standard"-cloudinit (user-data) via cli?

    I have some services which I deploy using cloud-init on another virtualization environment. Now I need to move to proxmox and smh need to reuse the same logic to deploy VMs. I need it to be possible to deploy vm's with my cloud-init data as I used before. not just passign a username & password...
  13. F

    [GUIDE] Proper networking for a CentOS 7 VM created via cloud-init image in Proxmox 7 & 8 with routed networking at Hetzner

    After banging my head for about a day as to why a CentOS 7 VM created via the latest official cloud-init image just wouldn't have networking at all, on both a Proxmox 7 & a Proxmox 8 server with routed networking at Hetzner, here's a short guide that might benefit others... As always, your...
  14. B

    Cloud-init and RANDOM passwords

    Hey, when using user:RANDOM password in a custom.yaml, is it possible to get the output of the passwords set to the task status window in the webgui? The config works, but I have to be fast to attach to the VM on a first boot to catch the passwords. I'm aware that I should use public keys, but...
  15. B

    Growpart on Debian VM with LVM fails

    Hi, so I am building a Debian 12 VM template with cloud-init. I basically have everything working already, except the automatic resizing for the disk. When trying to run sudo growpart /dev/vda 5, it fails because of No space left on device.. Here is the full command output: ciuser@debian:~$...
  16. Y

    Cloud-init and Network Configuration Issue in Proxmox VE

    Hello everyone, I wanted to share an issue I encountered while working with Proxmox VE New versions (After 7.1) regarding cloud-init and network configuration. It seems that there have been changes in behavior from older versions, and I wanted to discuss this for the benefit of the community...
  17. A

    [TUTORIAL] Install OpenBSD 7.3 on Proxmox (BIOS/UEFI and Cloud-init)

    We're taking a little break in our series "GPU/PCI Passthrough on Proxmox", I must say that the fourth article on OpenBSD gave me a hard time. So I thought it was an opportunity to take stock of the different methods of installing OpenBSD on our favorite hypervisor. We will consider different...
  18. P

    Creating cloud images using Ansible fails while the same commands work in the shell

    I also asked in stackoverflow, but trying here. I am updating my Ansible PVE deployment to create cloud image templates. I have a working shell script, and I just converted the commands to an Ansible "shell" command, the results are weird, sometimes working, sometimes not, sometimes I end up...
  19. S

    [SOLVED] Cloud init Ubuntu 20.04 Focal and Ubuntu 22.04 Jammy Login incorrect

    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...
  20. B

    [SOLVED] Update 7 to 8 issue with cloud-init

    Hi, I updated a server from v7 to v8 (for now it's only for tests purpose ;) ). Everything seems to goes OK but when I restart the server, no web GUI :( SSH is ok so I dig and it's nearly the same problem as here : https://forum.proxmox.com/threads/127-0-1-1-problem-start-pve-cluster.100642/...