Change LXC notes / tags from within the container?

h00bi

Member
Dec 16, 2022
32
4
8
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:

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!