summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/container/start b/lib/container/start
index e2d94b5..13621ff 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -348,8 +348,8 @@ cat > "/etc/network/interfaces.d/${INTERFACE}" << EOF
allow-hotplug ${INTERFACE}
iface ${INTERFACE} inet manual
pre-up ip link set ${INTERFACE} up
- post-up brctl addif ${BRIDGE} ${INTERFACE}
- pre-down brctl delif ${BRIDGE} ${INTERFACE}
+ post-up ip link set ${INTERFACE} master ${BRIDGE}
+ pre-down ip link set ${INTERFACE} nomaster
post-down ip link set ${INTERFACE} down
EOF