cluster-up, remove NetworkManager installation
installation of NetworkManager during cluster-up is not needed since
it is already installed during kubeivrtci provisioning [1]
[1]
@@ -29,19 +29,6 @@ if [[ "$KUBEVIRT_PROVIDER" =~ (ocp|okd)- ]]; then
./cluster/kubectl.sh delete ns openshift-cluster-samples-operator --wait=false
fi
-if [[ "$KUBEVIRT_PROVIDER" =~ k8s- ]]; then
- echo 'Install NetworkManager on nodes'
- for node in $(./cluster/kubectl.sh get nodes --no-headers | awk '{print $1}'); do
- ./cluster/cli.sh ssh ${node} sudo -- yum install -y yum-plugin-copr
- ./cluster/cli.sh ssh ${node} sudo -- yum copr enable -y networkmanager/NetworkManager-1.26
- ./cluster/cli.sh ssh ${node} sudo -- yum install -y NetworkManager-1.26.2 NetworkManager-ovs-1.26.2
- ./cluster/cli.sh ssh ${node} sudo -- systemctl daemon-reload
- ./cluster/cli.sh ssh ${node} sudo -- systemctl restart NetworkManager
- echo "Check NetworkManager is working fine on node $node"
- ./cluster/cli.sh ssh ${node} -- nmcli device show > /dev/null
- done
-fi
-
if [[ "$KUBEVIRT_PROVIDER" =~ k8s- ]]; then
echo 'Installing Open vSwitch on nodes'
for node in $(./cluster/kubectl.sh get nodes --no-headers | awk '{print $1}'); do
