Hello,
I'm trying to configure cloud-init to set a vm template with initial configuration from cloudinit file but don't manage to add custom conf to my vm :
I followed https://pve.proxmox.com/wiki/Cloud-Init_Support
and used the command
qm set 101 --cicustom "user=local:snippets/user_data.yaml
file OK and present in /var/lib/vz/snippets/user_data.yaml
reboot vm, but modification not taken in account.
The only one which is working is the one from proxmox GUi, where I can set a user, ssh pub key ...
proxmox version 8.2.2
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content rootdir,images,snippets,iso,vztmpl,backup
shared 0
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
what am I missing ?
Thank you for your help
Olivier
I'm trying to configure cloud-init to set a vm template with initial configuration from cloudinit file but don't manage to add custom conf to my vm :
I followed https://pve.proxmox.com/wiki/Cloud-Init_Support
and used the command
qm set 101 --cicustom "user=local:snippets/user_data.yaml
file OK and present in /var/lib/vz/snippets/user_data.yaml
reboot vm, but modification not taken in account.
The only one which is working is the one from proxmox GUi, where I can set a user, ssh pub key ...
proxmox version 8.2.2
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content rootdir,images,snippets,iso,vztmpl,backup
shared 0
lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
what am I missing ?
Thank you for your help
Olivier