1. 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:~$...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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 :
  7. H

    Cloud-init on Centos8 ( set-hostname not working )

    I have a problem with my Centos8 template I created a template based on the cloud image provided by centos (official) as a provider we give as hostname the same name as the vm but in this case (centos8 temp) the hostname of the vms deployed via centos 8 template keeps the previous hostname...
  8. A

    Cloud Init Template Creation Script

    Hi all Haven't posted on here before but long time lurker. Apologies if something similar to this has been posted in the forum previously. As part of my learning with Proxmox I've wanted to learn how to build a script to create vm templates so that I can clone a template into a vm quickly...
  9. J

    cloud-init does not use search domain as fqdn

    I have a VM provisioned with qcow2 image, and have set in the cloud-init a search domain. However, the cloud init is using vmName + search domain as the FQDN, which is not as expected. An earlier VM created with the same image and cloud-init settings (except with a different search domain)...
  10. H

    Cloud-init ohne package upgrade?

    Hallo liebe Community, ist es möglich, trotz Verwendung von eurer Cloud-init-Implementierung dort die automatischen Paketupdates zu deaktivieren? Ich habe versucht, in der VM die user-data.txt zu bearbeiten, aber nach einem Neustart stand dort wieder package_upgrade: true
  11. Y

    cloudinit via api

    Hi:), I saw a documentation how to attach a cloudinit drive to vm, and I want to do the same from the API. 1. I have created a vm (vm id: 9000 ) 2. I have downloaded cloudinit image and uploaded it to ISO Images (/var/lib/vz/template/iso/focal-server-cloudimg-amd64.img) 3. ?? I want to add...
  12. Z

    Ubuntu Cloud Init, fehlende Underscores in Console

    Hi, Ich habe mit dem Ubuntu Cloud Image (jammy-server-cloudimg-amd64-disk-kvm.img) unter Proxmox 7.1-8 ein Template angelegt. In das Template habe ich eine Serical Console eingebunden (qm set 9000 --serial0 socket --vga serial0). Wenn ich von diesem Template nun eine VM (Full Clone) erzeuge und...
  13. F

    cloud-init rockylinux generic image

    Hi, I created a template for rockylinux generic cloud image. It loads but screen is stuck at: any ideas why?
  14. M

    Fedora 35/36/37 cloud-init does ignore network-config settings for nameservers (patch for v2)

    I have an environment, where i need to provide the nameservers and do not get the "right" ones from dhcp. While ubuntu cloud image has no problems to parse the nameserver entry, fedora cloud image ignores the nameserver setting in cloud-init v1. After reading the code in proxmox, i foud a...
  15. W

    Cloudinit disable dhcp6 and accept-ra

    Im currently running proxmox 7.3. When provisioning Ubuntu VMs (20.04/22.04) the vms auto assign IPv6 addresses in addition to the ones defined in cloudinit. This makes it a bit difficult to manage firewall rules and such. Is there a way to adjust the cloudinit image proxmox generates to include...
  16. S

    Cloud-init ubuntu cloud-image example broken apparently The link above refers refers to the example below: # download the image wget # create a new VM with VirtIO SCSI controller qm create 9000 --memory 2048 --net0...
  17. N

    [SOLVED] Q: How best to work with cloud-init and lxc ?

    Hello all, i have some hosts running on a local proxmox server and on the hetzner cloud. On proxmox I work with lxc containers. I try to script the setup of these machines as much as possible and strive to define them completely with 'source code' . In this context I learned about...
  18. S

    Cloud-init sets network config; --cicustom is cleared; network config erased on next boot

    I have cephfs:snippets set up with cloud-init files. This is for creating Ubuntu 20.04 VMs. Here's an example: # cat /mnt/pve/cephfs/snippets/net107.yaml version: 1 config: - type: physical name: eth0 mac_address: '36:9d:01:aa:42:d8' subnets: - type: static...
  19. P

    Proxmox debian cloud-init disk name unstable

    Hi I have the following script qm create "$VMID" --name "debian-docker" --memory 10240 --sockets 1 --core 4 --net0 virtio="46:4A:5E:3C:8A:55",bridge=vmbr0 --description "Debian bullseye cloud image" --agent enabled=1 qm set "$VMID" --ide2 "$STORAGE:cloudinit" qm set "$VMID" --serial0 socket...
  20. M

    [SOLVED] Cloud-Init Drive Not Auto-Regenerating

    Hello, I am experiencing an issue with the CloudInit Drive 'auto-regenerating' after a clone, a virtual hardware hotswap, or even a reboot. The Regenerate Image button must be manually clicked in the GUI. I have used Packer to create an image of Alma 9 Linux with cloud-init installed. It also...


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 your own in 60 seconds.

Buy now!