cloud-init

  1. 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...
  2. 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...
  3. [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...
  4. Benutzerdefinierte cloud-init mit Hostname

    Hallo, Vorwort dieses Thema tauchte in den letzten Jahren schon mehrfach auf. Sowohl hier als auch auf anderen Plattformen wie bspw. Reddit. Allerdings möchte ich das Thema hier noch einmal aufgreifen, da es meines Erachtens nach nicht ausreichend Beachtung bekommt und die Lösungen nicht...
  5. [SOLVED] Ubuntu template created with packer disables default user account

    This is my packer config for template creation in Proxmox ubuntu-server-focal-docker.pkr.hcl # Ubuntu Server Focal Docker # --- # Packer Template to create an Ubuntu Server (Focal) with Docker on Proxmox # Variable Definitions variable "proxmox_api_url" { type = string } variable...
  6. Adding CloudInit Drive as a normal user

    Hi I'm trying to solve a problem with adding CloudInit Drive as a normal user. I have a normal user account with pool permissions: - PVEAdmin - PVEDataStoreAdmin - PVECloudInit. What to do to make it possible to add CloudInit Drive without root account? There is a similar topic on the forum...
  7. Windows cloudinit base password setting problem

    Cloudinit password modification does not support Windows Cloudinit base. I need to modify META_ DATA to complete the password modification function. How to modify the META generated by proxmoxVE_ DATA
  8. Cloud-Init Server auf neues Host-System übertragen

    Hallo, ich möchte mein alten Proxmox-Host auf einen neuen übertragen, ich nutze aktuell die Proxmox Version 7.2.7. Da ich zum virtualisieren Cloud-Init verwende frage ich mich wie ich am besten die VM´s übertragen kann, meine aktuellen versuche die VM´s zu übertragen sind gescheitert, da sich...
  9. Cloud-Init LUKS VM Setup?

    Hello all, I have seen an understand the benefits of setting up a base image/template with Cloud-Init, so similar VMs can very easily be setup when needed. My question is... can these Cloud-Init template/images can be setup with LUKS encryption without losing any features? Will it still be able...
  10. [Cloud-Init] Can't find how to set UUID + Hostname with NoCloud + Template

    Disclamer: I never used Proxmox ever or QEMU / qm / cloud-init until about 1 weeks ago. There's probably things to do in a better way, feel free to send how you would have done the same (no ansible / terraform for this, I'm looking it aside that one) hello I'm trying to script the creation of...
  11. pve 6.4 cloud-init doesn't work in ubuntu 22.04

    I have installed cloud-init on kvm debian 11, and it's work. I did the same for Ubuntu 22.04 but it doesn't work And: But the user is not created. And IP didn't change: How to understand what's wrong?
  12. cloudinit: how to get nameservers and other networking settings via DHCP

    I'm in the process of migrating our infrastructure to a more declarative, GitOps/terraform style. As a part of this, a lot of VMs will be created using customized cloud-init images (debian, fwiw). Now the only thing missing for my little puzzle is to get networking right. When creating VMs...
  13. FAI(me) .ISO for guests - with cloud-init suport?

    Good day I've stumbled on FAIme https://fai-project.org/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...
  14. Move cloud-init drive

    This seems like a really silly request, but could we get a feature added that would allow us to move cloud-init volumes? Here are a few scenarios that I can think of: Migrate storage from local to clustered, or vice-versa Migrate storage from one local volume to another, or remote-to-remote...
  15. cloudbase-init für automatische Erstellung von Windows Servern verwenden

    Ich habe mich im Internet schon ein wenig umgeschaut, dadurch habe ich herausgefunden, dass cloudbase-init die Windows variante von Cloud-Init Linux ist. Nur habe ich leider keine Installationsanleitungen für Proxmox gefunden, damit die Windows Server automatisch installiert werden. Wenn es...
  16. Cloudinit not used by VM created by QEMU

    I have a CentOS VM that need to be used with `cloudinit`. Using libvirt, I am creating VM on Proxmox with Scaleway. I have an ansible file that create a VM name CentOS_Base, the most important commands are: # Downloading a CentOS-7-x86_64-GenericCloud-1809.qcow2 curl...
  17. 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...
  18. 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 - https://pve.proxmox.com/wiki/Cloud-Init_Support I've done this many times before on PVE 6.x with no issues like this. This...
  19. Undefined subroutine &PVE::Storage::DirPlugin::alloc_image at BTRFSPlugin.pm

    While working through the Cloud-Init at https://pve.proxmox.com/wiki/Cloud-Init_Support 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...
  20. 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...

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

Buy now!