Hello.
I am trying to get a custom cloud-init config working to install some default software on my VMs. But I hit an dead end with a parsing error when starting the VM.
I first tought It must be a yaml typo, but even if I dump and leave the config untouched I get the same error, so its not the configs.
This is my code:
I enabled snippets on the local storage and use the default path there.
What am I missing?
Thank you in advance
I am trying to get a custom cloud-init config working to install some default software on my VMs. But I hit an dead end with a parsing error when starting the VM.
Code:
TASK ERROR: unable to parse directory volume name '/var/lib/vz/snippets/ubuntu-homelab-cloud-init.yml'
I first tought It must be a yaml typo, but even if I dump and leave the config untouched I get the same error, so its not the configs.
This is my code:
Code:
# Configure Cloudinit datails
qm set $NEXTID --ciuser $OS_USER --cipassword $OS_PASS
qm cloudinit dump $NEXTID user > $CLOUD_INNIT_LOCAL
# wget $CLOUD_INNIT_GIT -O temp_cloud_init.yml
# cat temp_cloud_init.yml >> $CLOUD_INNIT_LOCAL
qm set $NEXTID --cicustom "user=local:$CLOUD_INNIT_LOCAL"
# rm temp_cloud_init.yml
I enabled snippets on the local storage and use the default path there.
What am I missing?
Thank you in advance