1. C

    cloud-init problem setting hostname in customized configuration

    Hello Everyone, we want to use cloud-init to automate the install of new VMs as linked clones in Proxmox and already have a working configuration. But if we want to set the VM name as the hostname on first boot it doesn't change it. VM OS: Ubuntu 20.04 Proxmox Version: 6.4 is this behaviour...
  2. E

    Cloud-Init overwriting entire Proxmox VE node (7.1)

    I'm trying to use cloud-init so I can setup k8s nodes much more quickly but the node I set it up on gets overwritten by cloud-init on reboot. I followed this exactly - I've done this many times before on PVE 6.x with no issues like this. This...
  3. N

    Undefined subroutine &PVE::Storage::DirPlugin::alloc_image at

    While working through the Cloud-Init at to create a Template on my PVE7 system that is using BTRFS storage I get the following error: $ sudo qm set 100 --scsihw virtio-scsi-pci --scsi0 local-btrfs:100/vm-100-disk-0.raw update VM 100: -scsi0...
  4. A

    Having issues with cloud init ubnt 2004

    Hi Team, been working with PVE for a few days now, I am looking into setting up a template for ubuntu 2004 that uses cloud init. However I'm having issues !! So to start with its not an issue with PVE per say because when I used a cloud image from the ubuntu site everything worked fine...
  5. B

    Cloud-Init Support is broken in VE 7.0-10

    Hi! After successful upgrading the server from the latest version 6.x to version 7.0-10 Cloud-Init stopped working. VMs with Cloud-Init cannot boot anymore. I tried to setup a new VM following by the instructions on but the result the same. Can...
  6. E

    VM configuration file not found

    Greetings, everyone. I'm running a test setup of 3-node proxmox cluster with ceph as backend storage. My cluster worked fine so far, VM migration and HA are all working. But I just encountered some weird behavior when creating VM from a cloud-init template. Followings are my steps: 1. create...
  7. J

    cloud-init not working when changing name of VM after clone

    I followed the instructions here -> to create a ubuntu 2004 template using the cloudimg Running the following commands works consistently: qm clone 2004 100 --name...
  8. M

    Cloud-Init can't open snippets/cloudinit.yaml

    Hi, I would like to load my clouding.yaml file at the start of my cloud init vm. qm set <VM_ID> -cicustom "user=local:snippets/cloundinit.yaml" However, when I start the vm, an error appears like that : TASK ERROR: can't open '/var/lib/vz/snippets/cloundinit.yaml' - No such file or directory...
  9. S

    How to stop creating a user on Cloud-init template?

    Virtualization: KVM Is there any way to stop creating a new default user on newly created VM using Cloud-init template? Right now on my centos cloud-init template created by me has this config # nano /etc/cloud/cloud.cfg system_info: default_user: name: centos lock_passwd: false...
  10. florian-n

    [SOLVED] Cloud-init isn't applied after linked clone of template via API

    Hi, currently we're trying to create template based clones using Ansible's community.general.proxmox_kvm. To make the clones configurable we stick with cloud-init. We are building the template using a hand rolled Packer configuration which deploys fine (locally as well as in our production...
  11. K

    [TUTORIAL] windows cloud init working

    Hi guys, I have gotten cloud init to work with windows with some modification to proxmox and a windows template. since all of the other threads regarding this don't work anymore, at least i couldn't get them to, i thought i would share what i did. the part is making proxmox save windows...
  12. F

    Setting DNS for Debian cloud-init

    Hi. I have a problem setting dns for my cloud init debian 10 image. This is the command I use: qm set VMID --nameserver="" But I can't access the VM via ssh. When I add nameservers manually to resolve.conf, it starts working. I have this issue only for debian. It works fine for...
  13. D

    Clout-Init Drive Prevents Restore

    I am unable to restore VMs that have cloud-init drives in 6.3-2. These are being backed up to a CIFS share, and restored to an NFS share. Log entry when I try this: restore vma archive: zstd -q -d -c /mnt/pve/backups/dump/vzdump-qemu-1002-2020_12_04-08_20_28.vma.zst | vma extract -v -r...
  14. T

    Proxmox ignores custom cloud-init from --cicustom paramter (tested with Ubuntu/CentOS)

    Hi, I'm getting crazy to create a vm provisioned with cloud-init. Here is what i do: # create template wget qm create 9000 --name centos-ci --memory 2048 --net0 virtio,bridge=vmbr0 qm...
  15. T

    CentOS 7 Cloud-init Inserting Unexpected DNS Server

    Below is the cloud-init network configuration for the VM: But when the VM boots, there is an additional DNS server being inserted by cloud-init: The DNS server `` is being added but is not apart of the configuration and is not functional: Here are the steps I used to create...
  16. C

    How do I properly prepare a Cloud-Init image for CentOS 7?

    Hello everyone, I'm struggling to properly prepare a CentOS 7 Cloud-Init image, there doesn't seem to be an already prepared image like on Ubuntu and many tutorial are extremely different from each other and I just can't find a way to do this... I've searched for so many tutorials, yet none of...
  17. J

    cloud-init reset root password in proxmox is not working

    Hello, Proxmox Version 6.2-4 Template VM OS : Centos 8 Cloud-init Version : 18.5 I am try to reset root password while on boot, it's not working in cloud-init. This is my cloud-init config file, [root@c8templatserverip ~]# cat /etc/cloud/cloud.cfg users: - default disable_root: 1 ssh_pwauth...
  18. F

    Docker with Cloud-Init Problems

    Hello, a few days ago we had the problem with several VMs(qemu) that after some time they don't connect to the internet anymore. After some searching, we found out that Docker changes the network configuration(initially set by cloud-init) by itself (the server doesn't have an IPv4 address...
  19. F

    Creating a windows cloud-init VM

    Hello, I'm trying to create a windows VM with cloud-init. I've downloaded the windows 2012 r2 image from cloudbase, but I have not been able to run int successfully. The problem is when I start the VM, it starts booting from disk, windows logo appears, but it suddenly restarts, and again same...
  20. V

    cloud-init and UseDomains=yes

    1. Setup I use the PROXMOX 6 (proxmox-ve: 6.1-2) I set up a DNS server with dnsmasq dnsmasq is configured to send search-domains The VM is running Arch Linux Within the VM systemd-networkd and systemd-resolved are used I use "cloud-init" 19.3 with netplan 0.98-1 2. Problem There are no...


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 yours easily in our online shop.

Buy now!