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
Hi I have created the following script to create a VM and with a cloud-init config:
echo "Loading variables"
echo "VMID: $VMID"
echo "STORAGE: $STORAGE"
echo "IMAGE: $IMAGE"...
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...
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...
I'm creating a VM with two disks. After running the commands, this is how they look like in conf file:
virtio0 works fine like always, but virtio1 needs to be mounted from inside...
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.
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:
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
- type: physical
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...
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:
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...
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...
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...
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...
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
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...
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...
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...
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?