Can not dump vendor for cloudinit

crs369

Member
Sep 15, 2022
11
2
8
Hello,

i'm using cloud-init for tailoring my VM's.

I'm not sure that i did it the right way - i'm using vendor, because user,network and meta is used by proxmox and overwriting it will break parts of proxmox cloud-init. At the Moment vendor is not used and works perfect.

Normaly you can get the configuration with a command like that:

qm cloudinit dump 9000 network version: 1 config: - type: physical name: eth0 mac_address: 'de:65:52:22:f4:4e' subnets: - type: dhcp4 - type: nameserver address: - '192.168.0.20' - '192.168.0.21' search: - 'localdomain'

I can set the vendor Configuration, but dump is not possible:

qm cloudinit dump 9000 vendor 400 Parameter verification failed. type: value 'vendor' does not have a value in the enumeration 'user, network, meta' qm cloudinit dump <vmid> <type>

Seems missing in the proxmox code?
 
qm cloudinit dump 9000 vendor
this is not a valid option supported by the CLI.
"man qm":
Code:
qm cloudinit dump <vmid> <type>

       Get automatically generated cloudinit config.

       <vmid>: <integer> (1 - N)
           The (unique) ID of the VM.

       <type>: <meta | network | user>
           Config type.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
I wonder that i can set it, but get is not possible:

Code:
qm set <vmid> [OPTIONS]
 --cicustom [meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]

On user,network and meta - get and set is possible