This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
: ' | |
This script lists all running containers on a Proxmox host along with their | |
Container ID (CTID), IP addresses, and hostnames. If an IP | |
address is provided as a command-line argument, the script will highlight (in red) | |
the IP in the output. | |
The loopback interface and IPv6 link-local addresses are omitted. | |
Usage: |