Change LXC notes / tags from within the container?

h00bi

Member
Dec 16, 2022
34
5
13
Hi,

i would like to present the current version of the main app in a LXC via "Notes" or "tag" so i can see the version from proxmox GUI.
is that possible without adding Mount Ponts to write that info?

For example if irun nginx proxy manager in LXC, i want to see current installed v2.11.3 on LXC summary page.
If i update to 2.11.4 or 2.12, i want that info on summary page changed via update script.
 
i would like to present the current version of the main app in a LXC via "Notes" or "tag" so i can see the version from proxmox GUI.
is that possible without adding Mount Ponts to write that info?
Sure, write a (bash or ansible) script that runs on the host and use pct enter to enter your container (as root without password) to gather the information and use the Proxmox API or CLI to save it in notes or tags.
 
Last edited: