summaryrefslogtreecommitdiffstats
path: root/libexec/container/stop
diff options
context:
space:
mode:
authorSimon Spöhel <simon@spoehel.ch>2022-04-28 07:46:29 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2022-04-28 08:19:47 +0000
commit2b0b980572ed593a96b668af6baf9b64914497f4 (patch)
tree1f4da9ba2f6fec746ce2117a9cbfed1391d6d3db /libexec/container/stop
parentReleasing version 20211231. (diff)
downloadcompute-tools-2b0b980572ed593a96b668af6baf9b64914497f4.tar.xz
compute-tools-2b0b980572ed593a96b668af6baf9b64914497f4.zip
Using systemd-networkd to manage veth interfaces on host.
Signed-off-by: Simon Spöhel <simon@spoehel.ch> Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'libexec/container/stop')
-rwxr-xr-xlibexec/container/stop2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/container/stop b/libexec/container/stop
index 98b2afa..d2db38e 100755
--- a/libexec/container/stop
+++ b/libexec/container/stop
@@ -220,7 +220,7 @@ case "${CLEAN}" in
for VETH in ${VETHS}
do
INTERFACE="$(echo ${VETH} | awk -F: '{ print $1 }')"
- FILE="/etc/network/interfaces.d/${INTERFACE}"
+ FILE="/run/systemd/network/${INTERFACE}.network"
if [ -f "${FILE}" ]
then