cloud-init

  1. U

    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...
  2. H

    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...
  3. J

    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...
  4. F

    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...
  5. H

    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...
  6. 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...
  7. 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 - 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...
  8. N

    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...
  9. 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...
  10. 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 https://pve.proxmox.com/wiki/Cloud-Init_Support but the result the same. Can...
  11. 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...
  12. J

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

    I followed the instructions here -> https://pve.proxmox.com/wiki/Cloud-Init_Support to create a ubuntu 2004 template using the cloudimg https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img Running the following commands works consistently: qm clone 2004 100 --name...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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="4.2.2.4 8.8.4.4" 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...
  18. 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...
  19. 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 https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2 qm create 9000 --name centos-ci --memory 2048 --net0 virtio,bridge=vmbr0 qm...
  20. M

    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 `192.168.122.1` is being added but is not apart of the configuration and is not functional: Here are the steps I used to create...

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!