2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-02 02:45:35 +00:00

fix vlan type

This commit is contained in:
bybai
2017-10-31 03:14:32 -04:00
parent 149483dac5
commit 38bcab9dec

View File

@ -803,7 +803,6 @@ function create_raw_vlan_for_br {
fi
cfg="${cfg}${cfg:+,}USERCTL=no"
cfg="${cfg}${cfg:+,}TYPE=Ethernet"
cfg="${cfg}${cfg:+,}VLAN=yes"
cfg="${cfg}${cfg:+,}BRIDGE=$_bridge"
[ -n "$_mtu" ] && \
@ -1180,7 +1179,6 @@ function create_vlan_interface {
fi
cfg="${cfg}${cfg:+,}USERCTL=no"
cfg="${cfg}${cfg:+,}TYPE=Ethernet"
cfg="${cfg}${cfg:+,}VLAN=yes"
[ -n "$_mtu" ] && \
cfg="${cfg}${cfg:+,}MTU=$_mtu"