summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/start4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/container/start b/libexec/container/start
index f899446..6ec44f4 100755
--- a/libexec/container/start
+++ b/libexec/container/start
@@ -394,8 +394,8 @@ cat > "/etc/network/interfaces.d/${INTERFACE}" << EOF
allow-hotplug ${INTERFACE}
iface ${INTERFACE} inet manual
pre-up ip link set ${INTERFACE} up
- post-up ip link set ${INTERFACE} master ${BRIDGE}
- pre-down ip link set ${INTERFACE} nomaster
+ post-up ovs-vsctl add-port "${BRIDGE}" "${INTERFACE}"
+ pre-down ovs-vsctl --with-iface del-port "${BRIDGE}" "${INTERFACE}"
post-down ip link set ${INTERFACE} down
EOF