Proxmox VE LXC IP-Tag
Description
This script automatically adds IP address as tags to LXC containers using a Systemd service. The service also updates the tags if a LXC IP address is changed.
How to use
To use the Proxmox VE LXC IP-Tag script, run the command below only in the Proxmox VE Shell. This script is intended for managing or enhancing the host system directly.
bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/add-lxc-iptag.sh)"
- The Proxmox Node must contain ipcalc and net-tools.
apt-get install -y ipcalc net-tools
- Location of config file
/opt/lxc-iptag/iptag.conf