mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Add files via upload
This commit is contained in:
parent
48630aac30
commit
a0182229a0
12
proxmox/proxmox-get-lxc-container-ips.sh
Normal file
12
proxmox/proxmox-get-lxc-container-ips.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
pct list
|
||||
echo '====='
|
||||
|
||||
for ctr in $(pct list |grep running |awk '{print $1}'); do
|
||||
echo "VMID $ctr"
|
||||
lxc-info -i -n $ctr
|
||||
echo '====='
|
||||
done
|
||||
|
||||
exit;
|
Loading…
x
Reference in New Issue
Block a user