Skip to content

Commit

Permalink
Correcting team config JSON format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevydotvinu authored and openshift-cherrypick-robot committed Jun 29, 2021
1 parent 3f6db24 commit a78acea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/common/_base/files/configure-ovs-network.yaml
Expand Up @@ -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
Expand Down

0 comments on commit a78acea

Please sign in to comment.