Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions templates/common/_base/files/configure-ovs-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ contents:
#!/bin/bash
set -x

# Clear ovn-remote config to connect to OVN DBs.
# ovnkube controller will set it on startup.
# May remove when https://issues.redhat.com/browse/FDP-1537 is availabe
# However it may also be a good idea to leave this because we don't want
# ovn-controller syncing to a stale OVN southbound database.
ovs-vsctl set Open_vSwitch . external_ids:ovn-remote=" "

if [ -e /etc/nmstate/openshift/applied ]; then
echo "Skipping configure-ovs due to manual network configuration"
exit 0
Expand Down