From a78aceabb69b394f9961d1cd9795defdf3c5765c Mon Sep 17 00:00:00 2001 From: Vinu K Date: Tue, 29 Jun 2021 10:07:42 +0530 Subject: [PATCH] Correcting team config JSON format --- templates/common/_base/files/configure-ovs-network.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/common/_base/files/configure-ovs-network.yaml b/templates/common/_base/files/configure-ovs-network.yaml index ec4343feea..9548152f08 100644 --- a/templates/common/_base/files/configure-ovs-network.yaml +++ b/templates/common/_base/files/configure-ovs-network.yaml @@ -181,10 +181,9 @@ contents: nmcli device disconnect $iface # use ${extra_phys_args[@]+"${extra_phys_args[@]}"} instead of ${extra_phys_args[@]} to be compatible with bash 4.2 in RHEL7.9 - extra_args=${extra_phys_args[@]+"${extra_phys_args[@]}"} if ! nmcli connection show ovs-if-phys0 &> /dev/null; then nmcli c add type ${iface_type} conn.interface ${iface} master ovs-port-phys0 con-name ovs-if-phys0 \ - connection.autoconnect-priority 100 802-3-ethernet.mtu ${iface_mtu} ${extra_args} + connection.autoconnect-priority 100 802-3-ethernet.mtu ${iface_mtu} ${extra_phys_args[@]+"${extra_phys_args[@]}"} fi # Update connections with master property set to use the new device name