diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-04-30 14:25:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2022-04-30 21:56:26 +0000 |
commit | 2fd419183750c5a1e62ce67dd8e0ca26bb41b7e9 (patch) | |
tree | 4e972a37814a66f6f2ffc02f26faea3b92ecd301 /libexec | |
parent | Actually passing through SSH_CLIENT variable to enable powerline-prompt in co... (diff) | |
download | compute-tools-2fd419183750c5a1e62ce67dd8e0ca26bb41b7e9.tar.xz compute-tools-2fd419183750c5a1e62ce67dd8e0ca26bb41b7e9.zip |
Listing all IP addresses in container list command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/container/list | 2 |
1 files changed, 1 insertions, 1 deletions
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 |