diff options
-rwxr-xr-x | rhel/etc_sysconfig_network-scripts_ifup-ovs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs index c42787903..b6ccf56c4 100755 --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs @@ -47,6 +47,7 @@ case "$TYPE" in if [ "${OVSBOOTPROTO}" != "dhcp" ] && [ -z "${OVSINTF}" ]; then ${OTHERSCRIPT} ${CONFIG} fi + [ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}" ;; OVSPort) /sbin/ifup "$OVS_BRIDGE" |