PVE LXC Tag | scripts-underground PVE LXC Tag | scripts-underground
⚠️
WARNING: Executing scripts from the internet without understanding what they do can be dangerous. This is an open frontier — always review the code before running it.

PVE LXC Tag

addon proxmox
REPO_BASE=https://raw.githubusercontent.com/scripts-underground/proxmox/main bash -c "$(curl -fsSL https://raw.githubusercontent.com/scripts-underground/proxmox/main/scripts/addon/add-iptag.sh)"

PVE LXC Tag

This script automatically adds IP address as tags to LXC containers or VM’s using a systemd service. The service also updates the tags if a LXC/VM IP address is changed.

Notes

  • Execute within the Proxmox shell
  • Configuration: nano /opt/iptag/iptag.conf. iptag Service must be restarted after change.
  • The Proxmox Node must contain ipcalc and net-tools. apt-get install -y ipcalc net-tools
  • You can execute the ip tool manually with iptag-run
Copied!