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

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!