mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
B #5248: Attach OVS-DPDK nics
This commit is contained in:
parent
d9f88f3147
commit
6f1ed41f8f
@ -34,7 +34,7 @@ if [ -z "${BRIDGE}" ]; then
|
||||
DEVICE+="<interface type='ethernet'>"
|
||||
else
|
||||
DEVICE+="<interface type='bridge'>"
|
||||
if [ "${BRIDGE_TYPE}" = 'openvswitch' ]; then
|
||||
if [[ "${BRIDGE_TYPE}" = openvswitch* ]]; then
|
||||
DEVICE+=" <virtualport type='openvswitch'/>"
|
||||
fi
|
||||
DEVICE+=" <source bridge='$(xml_esc "${BRIDGE}")'/>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user