From 2fd419183750c5a1e62ce67dd8e0ca26bb41b7e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 30 Apr 2022 16:25:03 +0200 Subject: Listing all IP addresses in container list command. Signed-off-by: Daniel Baumann --- libexec/container/list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/container') diff --git a/libexec/container/list b/libexec/container/list index c112cc8..2600bab 100755 --- a/libexec/container/list +++ b/libexec/container/list @@ -377,7 +377,7 @@ do *) LEADER="$(machinectl status ${CONTAINER} | awk '/Leader: / { print $2 }')" - ADDRESS="$(nsenter --all --target "${LEADER}" /bin/hostname -I | sed -e 's|\r$||' | awk '{ print $1 }')" + ADDRESS="$(nsenter --all --target "${LEADER}" /bin/hostname -I)" ;; esac -- cgit v1.2.3