Browse Source

Merge branch 'master' of gitlab.ut.mephi.ru:ut/ipw

Artyom A Anikeev 7 years ago
parent
commit
8bd5876e13
1 changed files with 6 additions and 4 deletions
  1. 6 4
      ipw

+ 6 - 4
ipw

@@ -20,6 +20,8 @@ CMD="$1"; shift;
 
 DEFAULT_BONDING_MODE='balance-tlb'
 
+modprobe bonding
+
 eerror() {
 	echo "$@" >&2
 }
@@ -583,10 +585,10 @@ case "$CMD" in
 		done
 
 		# ADDING LXC IFACES TO BRIDGES IF REQUIRED
-#		for LXCIF_N_BRIDGE in ${LXC_BRIDGE_SLAVES[@]}; do
-#			parse_vlan_subvlan_bridge "$LINE"
-#			brctl addif "$BRNAME" "$VLANNAME" 2>/dev/null
-#		done
+		for LXCIF_N_BRIDGE in ${LXC_BRIDGE_SLAVES[@]}; do
+			parse_vlan_subvlan_bridge "$LINE"
+			brctl addif "$BRNAME" "$VLANNAME" 2>/dev/null
+		done
 
 		;;
 	*)