summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlib/container/list2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/container/list b/lib/container/list
index e5e76fe..f0c49ee 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -183,6 +183,8 @@ do
;;
esac
+ ADDRESSES=""
+
if ls "${MACHINES}/${CONTAINER}/etc/systemd/network"/*.network > /dev/null 2>&1
then
ADDRESSES="$(awk -F= '/Address/ { print $2 }' ${MACHINES}/${CONTAINER}/etc/systemd/network/*.network)"