Skip to content

Commit

Permalink
Merge pull request #4171 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…4055-to-release-4.15

[release-4.15] OCPBUGS-29166: ovs-configure: fix `vlan_parent` calculation
  • Loading branch information
openshift-merge-bot[bot] committed Feb 29, 2024
2 parents 5118dd9 + 62e58d9 commit f147304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/common/_base/files/configure-ovs-network.yaml
Expand Up @@ -227,10 +227,10 @@ contents:
exit 1
fi
if nmcli connection show "$vlan_parent" &> /dev/null; then
if nmcli connection show uuid "$vlan_parent" &> /dev/null; then
# if the VLAN connection is configured with a connection UUID as parent, we need to find the underlying device
# and create the bridge against it, as the parent connection can be replaced by another bridge.
vlan_parent=$(nmcli --get-values GENERAL.DEVICES conn show ${vlan_parent})
vlan_parent=$(nmcli --get-values GENERAL.DEVICES conn show uuid ${vlan_parent})
fi
extra_phys_args=( dev "${vlan_parent}" id "${vlan_id}" )
Expand Down

0 comments on commit f147304

Please sign in to comment.