fix ovs link in gating tests
The link for ovs installation is no longer available, fix it. Resolves: rhbz#2060445 Signed-off-by: Xin Long <lxin@redhat.com>
This commit is contained in:
parent
82e623b614
commit
f705e8645d
@ -66,9 +66,10 @@ libteam_start_ovs()
|
|||||||
{
|
{
|
||||||
local url=http://download-node-02.eng.bos.redhat.com/brewroot/packages
|
local url=http://download-node-02.eng.bos.redhat.com/brewroot/packages
|
||||||
|
|
||||||
rpm -qa | grep openvswitch >> libteam.log || \
|
ver=`curl -s $url/openvswitch2.15/2.15.0/ | grep -o "[0-9]*.el9fdp" |tail -1`
|
||||||
yum install -y $url/openvswitch2.15/2.15.0/16.el9fdp/x86_64/openvswitch2.15-2.15.0-16.el9fdp.x86_64.rpm \
|
pver=`curl -s $url/openvswitch-selinux-extra-policy/1.0/ |grep -o "[0-9]*.el9fdp" |tail -1`
|
||||||
$url/openvswitch-selinux-extra-policy/1.0/29.el9fdp/noarch/openvswitch-selinux-extra-policy-1.0-29.el9fdp.noarch.rpm
|
yum install -y $url/openvswitch2.15/2.15.0/$ver/x86_64/openvswitch2.15-2.15.0-$ver.x86_64.rpm \
|
||||||
|
$url/openvswitch-selinux-extra-policy/1.0/$pver/noarch/openvswitch-selinux-extra-policy-1.0-$pver.noarch.rpm
|
||||||
|
|
||||||
systemctl start openvswitch
|
systemctl start openvswitch
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user