unable to parse directory volume name 'cloud.yaml'

Sep 18, 2022
33
1
13
Hey,

I am trying use custom cloud-init and I am getting error while set:
--cicustom "user=local:cloud.yaml" \

The location of "cloud.yaml" is located on pve1 on / path.
What can be the issue?
 
The file needs to be located in a folder that is referred to by "local" storage. It needs to be in a specific directory structure as shown here:
https://pve.proxmox.com/wiki/Storage:_Directory
i.e. under Snippets, you should see the file with correct path when you execute: pvesm list local
ie:
bbnas:snippets/ubuntu.userdata snippet snippets


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
I dont have any snippets directory under /var/lib/vz or inside any directory.

AFAIR snippets are not set per default. So you have to add them as an additional content type under: "Datacenter" -> "Storage" -> Edit: local. This should also automatically create the corresponding directory.
 
  • Like
Reactions: bbgeek17