cloud init

  1. 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...
  2. G

    cloud-init github key

    Hi, I'm following a cloud-init / terraform walk-through (see link). Can i "qm set VMID --sshkey https://github.com/username.keys" for multiple users somehow? Thx, Martijn
  3. 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...
  4. 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...
  5. F

    [SOLVED] Windows cloud init latency

    Hi. I have created a windows 2019 cloud init image, following this tutorial, and using that image, I've created a VM using cloud init parameters for network and setting password. The VM works, but there is a big problem. It takes around 10 minutes for cloud parameters to apply. That is how log I...
  6. 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...
  7. 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...
  8. C

    How do I prepare a proper cloud-init image for CentOS 7?

    Hello, I want to prepare a cloud-init image, which is able to resize (grow) the HDD space and partitions. While it can grow the actual HDD space, it is not able to grow the partition.. I'm not sure, what I'm doing wrong... Is there a good tutorial about preparing a CentOS Cloud-Init image?
  9. J

    cloud-init is configured with hardcoded manage_etc_hosts: true

    Hello I'm struggling with issue, that loud-init is configured with hardcoded manage_etc_hosts: true, which causes rewriting of /etc/hosts file every reboot (Centos 8). I don't know, why cloud init configuration was patched to do so...
  10. S

    A start job is running for LSB: Bri.../down networking (41s / 5min 5s)

    I create a cloud-init template follow below command. qm create 9000 --memory 2048 --name centos-8-template --net0 virtio,bridge=vmbr0 qm importdisk 9000 images/CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2 local-lvm qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0...
  11. Y

    How to prevent automatic apt upgrade during the first boot with cloud init ?

    Hello, I've noticed there is an automatic process for upgrading packages during the first boot after cloud init Installation (Debian or Ubuntu for example). Do you know any simple command or the best way to prevent or cancel this process ? Regards YAGA
  12. Y

    Issue : got two IP addresses instead one IP on VM eth0 with Cloud-init

    Hello, I'm using CLI commands (qm create..., qm importdisk..., qm set...) from server to create a VM with Cloud-Init (debian-10.2.0-openstack-amd64.qcow2), everything works properly but I got two IP addresses instead one IP on VM eth0 with Cloud-init. I use these commands for the network and...
  13. S

    Online migration fails with Cloud-Init

    Hello, I need the online migrate all VE to the second node without downtime, but the migration failed. I use local storage. pve-manager/6.1-5/9bf06119 (running kernel: 5.3.13-2-pve) qm migrate 105 node2 --online --with-local-disks 2020-02-12 00:14:47 use dedicated network address for sending...
  14. TwiX

    Cloud-Init for beginners

    Hi, I just provisioned some new VMs based on a debian10 template with cloud-init. It works as expected. So, after first boot, do I need to keep the cloud-init drive mounted (a then delete it) ? Also, remove cloud-init package ? Thanks !
  15. C

    cloud-init and Buster generic image network problem

    Did anyone try Buster cloud images (specifically the generic image) with Proxmox and cloud-init yet? I tried with both nocloud and configdrive but can't get the network settings to apply. The cloud-init template seems to assume net0 is eth0, but it is changed to ens18. But even if I replace eth0...