cluster: Enable just ovs repo
Some openstack repos does not support centos 8 stream yet. This change
point directly to the centos 8 stream ovs repo.
@@ -35,9 +35,8 @@ fi
if [[ "$KUBEVIRT_PROVIDER" =~ k8s- ]]; then
echo 'Installing Open vSwitch and NetworkManager 1.34 on nodes'
for node in $(./cluster/kubectl.sh get nodes --no-headers | awk '{print $1}'); do
- ./cluster/cli.sh ssh ${node} -- sudo yum config-manager --set-enabled powertools
- ./cluster/cli.sh ssh ${node} -- sudo yum install -y epel-release centos-release-openstack-wallaby epel-release centos-release-openstack-train https://rdoproject.org/repos/rdo-release.rpm
- ./cluster/cli.sh ssh ${node} -- sudo yum install -y openvswitch libibverbs NetworkManager-1.34.0 NetworkManager-ovs-1.34.0
+ ./cluster/cli.sh ssh ${node} -- sudo dnf install -y centos-release-nfv-openvswitch
+ ./cluster/cli.sh ssh ${node} -- sudo dnf install -y openvswitch2.16 libibverbs NetworkManager-1.34.0 NetworkManager-ovs-1.34.0
./cluster/cli.sh ssh ${node} -- sudo systemctl daemon-reload
./cluster/cli.sh ssh ${node} -- sudo systemctl enable --now openvswitch
./cluster/cli.sh ssh ${node} -- sudo systemctl restart openvswitch
