11 lines
256 B
Bash
11 lines
256 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for GROUP in alpine archlinux centos debian devuan fedora oracle opensuse ubuntu voidlinux
|
||
|
do
|
||
|
sudo lxc-ls -f -F name,ipv4 -g ${GROUP} | grep -v NAME | while read NAME IP
|
||
|
do
|
||
|
echo -e "${IP}\t${NAME}.heinlein.akademie\t\t${NAME}"
|
||
|
done
|
||
|
done
|
||
|
|