diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-10-13 13:12:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-10-13 13:12:20 +0000 |
commit | 30294d4ca44102211b9d60ac46aa76767db5f0bd (patch) | |
tree | efb11dd210e4748e4415a6febd47fc7335b8f9f1 /lib/container/stop | |
parent | Adding upstream version 20170726. (diff) | |
download | open-infrastructure-compute-tools-30294d4ca44102211b9d60ac46aa76767db5f0bd.tar.xz open-infrastructure-compute-tools-30294d4ca44102211b9d60ac46aa76767db5f0bd.zip |
Adding upstream version 20171013.upstream/20171013
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/stop')
-rwxr-xr-x | lib/container/stop | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/stop b/lib/container/stop index 12cf7fa..6b1c986 100755 --- a/lib/container/stop +++ b/lib/container/stop @@ -176,14 +176,14 @@ case "${CLEAN}" in fi # Removing network configuration - NETWORK_VETH_EXTRA_CONF="$(awk -F= '/^network-veth-extra=/ { print $2 }' ${CONFIG}/${NAME}.conf)" + VETHS="$(awk -F= '/^network-veth-extra=/ { print $2 }' ${CONFIG}/${NAME}.conf)" - case "${NETWORK_VETH_EXTRA_CONF}" in + case "${VETHS}" in "") ;; *) - for VETH in ${NETWORK_VETH_EXTRA_CONF} + for VETH in ${VETHS} do INTERFACE="$(echo ${VETH} | awk -F: '{ print $1 }')" FILE="/etc/network/interfaces.d/${INTERFACE}" |