cloud init

  1. D

    Question about the --cicustom (custom cloud-init) feature

    I have been working on my process of spinning up new templates/instances from cloud images for various distros. All is going good so far. Where I am struggling is with the --cicustom switch when applying to a VM instance, it appears I am not able to seed the user-data and the network config...
  2. V

    Is there some standard procedure to retrofit cloud-init on an existing VM?

    I have a VM with a lot of custom configurations I want to turn into a template with cloud-init configuration. Is that possible or permissible? If it is are there some start up time settings or scripts I have to disable initially to allow the cloud-init do its thing, like some crontab or...
  3. U

    Cloud Init user data script field

    With using the Linux cloud-init settings is there any way to add another input field for a user data script so that I dont have to boot a VM and run the commands i need to install a few applications before turning it into a replicatable template because many of the cloud-init features only work...
  4. W

    Automate vm build with bitbucket

    Hi all, bit of a weird one in terms of direction with this issue but that's what I need help with, the direction. I'm using a Proxmox node (love it) just started using Cloud init and VM templates more. I'm getting a bit overwhelmed with what to do about automation in regards to deploying using...
  5. U

    NoCloud CloudInit Datasource Not Functional

    I see countless Youtube videos online that when they refer to cloud-init with proxmox they assume that you will be creating a template and inside that template you are going to attach a configdrive2 disk with the dynamic cloud init data that proxmox provides because the native Linux...
  6. F

    Block changing IP of VM when using cloud-init

    Hi, I have some VMs on my node and i'm using cloud-init to assign IPv4 to every VM. However it's possible to change IP from VM to IP of another VM. I want to block user being able to change IPv4 assigned by cloud-init, how the easiest I can do that? I was trying with ip filter but it didn't work.
  7. A

    [TUTORIAL] Proxmox automator for deploy LXC and QEMU guests, with Cloud-init

    Good evening everyone, I've just released a small command line utility for Proxmox v7, 8 to automate the provisioning and deployment of your containers and virtual machines with Cloud-init. Key features: Unified configuration of LXC and QEMU/KVM guests via Cloud-init. Flexible guest...
  8. M

    [SOLVED] Proxmox cloud-init not working on Ubuntu 24 Server/Desktop

    Hello all, I'm in the process of adopting Ubuntu 24 as the next upgrade in my infra but on validation it looks like cloud-init doesn't work anymore. My host: root@proxmox-server:~# pveversion pve-manager/8.1.4/ec5affc9e41f1d79 (running kernel: 6.5.11-8-pve) Later edit: Turns out that...
  9. L

    Serial console stops working.

    Hello everybody. I'm running Proxmox in its latest and most updated version and I'm migrating my Linux virtual machines to Cloud-init. With everything, I have been experiencing some bugs that I still haven't found a solution or the reason for. When accessing machines through the proxmox...
  10. 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...
  11. 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...
  12. V

    Migrating to a New Node Fails

    Hi all, I'm having an issue that happens sometimes where when I create a new VM and migrate it to another node of mine (pve12-test -> pve11-test). VM created with: qm create 1170 --memory 1024 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci --onboot=1 --ostype l26 && qm set 1170--scsi0...
  13. S

    pve-smba

    pve version:8.1.3 windows version: 2022server I created the cloud init image of Windows on pve, and can successfully use the IP, account and password configuration. I am wondering if it can support setting the storage location of smba in the cloudinit interface, including the account password...
  14. A

    [TUTORIAL] GPU Passthrough on Proxmox VE - OpenBSD 7.3 (Part. 03x04)

    This is the fourth in a series of five articles covering the installation and configuration of VMs (Linux, Windows, macOS and BSD) in PCI Passthrough on Proxmox VE 8. I recommend you read my previous article on Installing OpenBSD 7.3 on Proxmox (BIOS/UEFI) where I go into more detail on...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...

About

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!