cloud init

  1. N

    cloudinit disks not cleaned up

    Hi We are deploying cloudinit images from terraform (telmate/proxmox), by cloning a template in proxmox already configured with cloud init. The new machine gets created with the next available VMID, and a small 4MBdisk is created to feed the cloudinit settings. The disk created for cloudinit is...
  2. A

    [TUTORIAL] PCI/GPU Passthrough on Proxmox VE 8 : Debian 12 (with Cloud-init)

    This article is the third in a series of five articles dealing with the installation and configuration of VMs (Linux, Windows, macOS and BSD) in PCI Passthrough on Proxmox VE 8. Part 0-4 PCI/GPU Passthrough on Proxmox VE Installation and Setup (Part. 00x04) Part 1-4 PCI/GPU Passthrough on...
  3. C

    Windows Server 2022 with Cloud-init and Terraform

    Hi all, I'm trying to prepare Windows Server 2022 template so that it could be deployed with Terraform. I've managed to create new WS2022 VM, install Cloud-Init on it and do a sysprep. After VM is created by Terraform I'm stuck on language selection screen and don't know how to proceed further...
  4. S

    Role VM.config.networking prevent cloud init networking

    Hello everyone. Currently working on the proxmox roles I would like to report a behavior on this part. the vm config role blocks the configuration of a cloud init on the network option. Indeed I think it could be two separate things. I can restrict the hardware part of the vm on the network to...
  5. S

    Packages directive in cloud init drive?

    Hello everyone, I've lurked around the forum and searched by I couldn't find any information about this: is it possible (or is there any plan of adding) to add a packages directive in cloud init ? I'm planning to automate the deployment of some VMs by keeping the footprint of the template as...
  6. J

    cloud-init unable to run on Debian 11 cloud image

    Sorry to bother, I'm not familiar with Proxmox yet, and I can't find the answer in documentations. It is so wired that cloud-init does not execute on VM created with the qcow2 image from Debian (source: debian-11-genericcloud-amd64.qcow2). I have configured cloud-init with user name, ssh key and...
  7. 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
  8. M

    [SOLVED] How to configure a cloned VM to automatically grow its root partition when the disk is extended?

    Hello, I am running a Proxmox VE server with pre-made Templates at minimal disk sizes. I have scripts that create VMs by cloning a template and extending its disk. The problem is that the extended space is not allocated to any mount point. For example, the following template has initially a...
  9. K

    How to upgrade a VM based on cloud-init image?

    I'm using a Ubuntu cloud image with cloud-init. How is it supposed to upgrade the system? Should it be automatically upgraded at startup or something?
  10. S

    Cloud init - Each boot => New instance first boot

    Hello, Each time I reboot a vm with cloud init in proxmox, cloud init is started as the fist time (init). In the log we can see : 2022-12-01 09:42:03,763 -[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2022-12-01 09:44:47,808 -...
  11. 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...
  12. E

    Upgraded Proxmox VE via GUI - Now Root install is taking me to a VM Login

    Hey guys! New to proxmox so sorry if I'm not clear on some terms... and also thanks for all the great posts and insights here so far it has been great reading lots of past posts! To my issues and questions. Thanks in advance for any guidance Backstory I Recently upgraded a single node of...
  13. P

    [SOLVED] Can't get cloud-init ssh_authorized_keys to work

    I'm trying to use cloud init to add my ssh key, I have generated one on my desktop PC using id_ed25519 after that I added the following to my cloud-init.yml users: - name: peter passwd: "..." # to enable auth using password until I get my key to work ssh_authorized_keys: -...
  14. P

    [SOLVED] Can't get cloud init to work

    Hi I have created the following script to create a VM and with a cloud-init config: #!/bin/bash echo "Loading variables" VMID=230 STORAGE=storage IMAGE=debian-11-genericcloud-amd64.qcow2 SNIPPETNAME=debian-docker-cloud-init.yml echo "VMID: $VMID" echo "STORAGE: $STORAGE" echo "IMAGE: $IMAGE"...
  15. H

    Prevent cloud-init from setting DNS domain/nameservers

    I want my machines to use the DNS settings obtained from DHCP, but /etc/resolv.conf gets statically set by cloud-init with the proxmox hosts settings because of the "use host settings" default. Can this be disabled without changing all the template vms and without loosing the ability to set the...
  16. H

    FAI(me) .ISO for guests - with cloud-init suport?

    Good day I've stumbled on FAIme which creates a "nice" ISO installer that mostly just work... except for the requirement/need of DHCP (not an option at present, unless you could advise a ISC KEA option/replacement with cost effective (for me) static host API...
  17. F

    [SOLVED] Mount second disk in vm

    Hi. I'm creating a VM with two disks. After running the commands, this is how they look like in conf file: virtio0: local:1013255/vm-1013255-disk-0.qcow2,size=30G virtio1: local:1013255/vm-1013255-disk-1.qcow2,size=200G virtio0 works fine like always, but virtio1 needs to be mounted from inside...
  18. G

    global proxy settings through snippets?

    Hi, does anybody know how to insert proxy-variables through snippets so my CI-vm can reach out to get it's updates during first boot? I'm looking for some documentation but cannot find it. Thanks in advance.
  19. 3

    Jemand Cloud-Init Debian 11 auf pve 7.0/7.1 zum laufen gebracht?

    Hallo liebe Community, hat es schon mal jemand geschafft ein funktionierendes Debian 11 cloud-init template in PVE 7.1/7.0 zum laufen zu bekommen? Ich erstelle es ähnlich wie in der Anleitung und was man so auf Github findet so: wget...
  20. M

    cloud-init interfaces down during first boot

    Forgive me if I am missing something simple. I am using the snippets to attach the following net config to the machine: cat <<\EOF> /mnt/pve/ha-storage/snippets/test-network.yml version: 1 config: - type: physical mac_address: '32:52:38:6d:f0:dd' name: int0 subnets: - type...


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!