[SOLVED] Add notes via command line?

janvv

Active Member
Jun 21, 2020
63
10
28
66
52.24154182722349, 5.117853866801705
I have Ansible playbooks for creating containers and vms. In the proxmox module I cannot set the Notes that are displayed in the Proxmox GUI.
I would like to add some kind of description. Can that be done through the command line, so that I can script it?
 
Hi,

Using pvesh CLI you can add a notes to your VM e.g
Bash:
pvesh set /nodes/{NodeName}/lxc/{CTID}/config --description foo-bar

Or using bash:
Bash:
echo -e '#foo-bar\n' >> /etc/pve/lxc/VMID.conf
 
Last edited:
  • Like
Reactions: Kosh and janvv

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!