cloud init

  1. [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...
  2. 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.
  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...
  4. 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...
  5. Proxmox windows cloud-init password problem after upgrade

    Hello everyone. I have created a VM using windows 2019 cloud-init image on PVE 6.3 and everything works fine. Now I make a change in hardware, for example upgrading ram. after stop / start operation, the password which had been set previously by cloud init, would not work and I cannot login into...
  6. [SOLVED] ubuntu 20.04 liest die cloud-init meta-data nicht

    Hallo, ich habe ein Template von Ubuntu 20.04.3 durch Packer (1.7.3 apple m1) auf Proxmox (6.4-9 - ich weiß, es ist ein bisschen alt) erstellt, wo ich unter anderem auch cloud-init benutzt habe. In der Kernel Command Line gibt Packer das Folgende ein: initrd=/casper/initrd quiet...
  7. Cloud-init image only applies configuration on second boot

    I am having a strange problem and I don't even know where to start debugging it. I followed the could init instructions (https://pve.proxmox.com/wiki/Cloud-Init_Support) on Proxmox documentation to create a cloud init template out of an ubuntu LTS cloud init image...
  8. Rerunning cloud-init

    Hi, I have a VM set up with cloud-init according to the instructions at https://pve.proxmox.com/wiki/Cloud-Init_Support using the Ubuntu Focal cloud image. This all worked flawlessly the first time I did it (thanks!). However, later I wanted to change the network configuration without...
  9. 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...
  10. 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
  11. 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...
  12. 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...
  13. [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...
  14. [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...
  15. 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...
  16. 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?
  17. 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...
  18. 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...
  19. 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
  20. 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...

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!