11 lines
256 B
Bash
Executable file
11 lines
256 B
Bash
Executable file
#!/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
|
|
|