yum安装Openvswitch2.11

#!/bin/bsh

echo "nameserver 114.114.114.114">/etc/resolv.conf

yum install -y centos-release-openstack-train

systemctl stop NetworkManager && systemctl disable NetworkManager

yum install -y libmlx5 libibverbs libmlx4 libibverbs bridge-utils openvswitch-2.12.0-1.el7.x86_64

systemctl enable openvswitch && systemctl start openvswitch

clear
echo
ovs-vsctl show

 

posted @ 2022-05-21 14:18  vmsysjack  阅读(232)  评论(0编辑  收藏  举报