From b2a860b1f5a4f48e45dcf1a9fd09a30a531191d5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 16 Jun 2011 18:27:12 -0400 Subject: Revert "bonding: remove requirement of slaves existing before vif" This reverts commit 4729a33cdf054cce6780aa4817f9eaccb490ee3f. Need to put back the check, since it won't work asis --- templates/interfaces/bonding/node.tag/vif/node.def | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/interfaces/bonding') diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def index 356bd076..35a00835 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.def @@ -5,7 +5,12 @@ help: Virtual Local Area Network (VLAN) ID syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 and 4094" val_help: u32:0-4094; VLAN ID -create: ip link add link $VAR(../@) name "$VAR(../@).$VAR(@)" type vlan id $VAR(@) || exit 1 +create: read -a SLAVES