git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2229
94cd875c-1c1d-0410-91d2-
eb244daf1a30
created by the host or another vserver.
</description>
</boolean>
+ <boolean name="novlandev">
+ <description>
+When this file exists, the steps which setup and destroy a VLAN
+interface will be skipped. This flag should be set when a VLAN
+interface is used by multiple vservers or by the host.
+ </description>
+ </boolean>
</collection>
</collection>
echo -e $"VLAN device-name used, but vlan subsystem not enabled.\nTry to execute 'modprobe 8021q' before starting the vservers" >&2
return 1
}
- test -f /proc/net/vlan || {
+ test -f /proc/net/vlan -o -e "$iface"/novlandev || {
_addInterfaceCmd VCONFIG $vlan_info
}
fi