cloud init

  1. K

    How to upgrade a VM based on cloud-init image?

    I'm using a Ubuntu cloud image with cloud-init. How is it supposed to upgrade the system? Should it be automatically upgraded at startup or something?
  2. S

    Cloud init - Each boot => New instance first boot

    Hello, Each time I reboot a vm with cloud init in proxmox, cloud init is started as the fist time (init). In the log we can see : 2022-12-01 09:42:03,763 - __init__.py[DEBUG]: Update datasource metadata and network config due to events: New instance first boot 2022-12-01 09:44:47,808 -...
  3. S

    Cloud-init ubuntu cloud-image example broken apparently

    https://pve.proxmox.com/wiki/Cloud-Init_Support The link above refers refers to the example below: # download the image wget https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img # create a new VM with VirtIO SCSI controller qm create 9000 --memory 2048 --net0...
  4. E

    Upgraded Proxmox VE via GUI - Now Root install is taking me to a VM Login

    Hey guys! New to proxmox so sorry if I'm not clear on some terms... and also thanks for all the great posts and insights here so far it has been great reading lots of past posts! To my issues and questions. Thanks in advance for any guidance Backstory I Recently upgraded a single node of...
  5. P

    [SOLVED] Can't get cloud-init ssh_authorized_keys to work

    I'm trying to use cloud init to add my ssh key, I have generated one on my desktop PC using id_ed25519 after that I added the following to my cloud-init.yml users: - name: peter passwd: "..." # to enable auth using password until I get my key to work ssh_authorized_keys: -...
  6. P

    [SOLVED] Can't get cloud init to work

    Hi I have created the following script to create a VM and with a cloud-init config: #!/bin/bash echo "Loading variables" VMID=230 STORAGE=storage IMAGE=debian-11-genericcloud-amd64.qcow2 SNIPPETNAME=debian-docker-cloud-init.yml echo "VMID: $VMID" echo "STORAGE: $STORAGE" echo "IMAGE: $IMAGE"...
  7. H

    Prevent cloud-init from setting DNS domain/nameservers

    I want my machines to use the DNS settings obtained from DHCP, but /etc/resolv.conf gets statically set by cloud-init with the proxmox hosts settings because of the "use host settings" default. Can this be disabled without changing all the template vms and without loosing the ability to set the...
  8. 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...
  9. F

    [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...
  10. G

    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.
  11. 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...
  12. M

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

    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...
  14. L

    [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...
  15. J

    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...
  16. C

    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...
  17. 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...
  18. 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
  19. 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...
  20. 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...

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!