From f424082e6078b61dd3f4494b39ee3488c1e61eb0 Mon Sep 17 00:00:00 2001 From: Sam Hague Date: Fri, 6 Jul 2018 20:40:19 -0400 Subject: [PATCH] Use more specific ovs version Also added yum list openvswitch command to dump what is available to install in case the specific package is removed so that we know what to switch to. Change-Id: Ia74ba710bb1dcb4628dc36524efc23cf5fa4e1a9 Signed-off-by: Sam Hague --- packer/provision/devstack-pre-pip.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packer/provision/devstack-pre-pip.sh b/packer/provision/devstack-pre-pip.sh index f77336fab..3e129f80c 100644 --- a/packer/provision/devstack-pre-pip.sh +++ b/packer/provision/devstack-pre-pip.sh @@ -57,12 +57,13 @@ yum install -y "centos-release-openstack-${branch_name}" # install 2.8.2 for queens. # 2.9.0 is the current version in openstack-queens, but it is buggy. # Remove this when https://review.rdoproject.org/r/#/c/13839/ merges and 2.9.2 is in the repo. +yum repolist +yum --showduplicates list openvswitch if [ "${branch}" == "stable/queens" ]; then - yum install -y --nogpgcheck openvswitch-1:2.8.2 + yum install -y --nogpgcheck openvswitch-2.8.2-1.el7 else yum install -y --nogpgcheck openvswitch fi - cd "$OLDPWD" rm -fr tmp -- 2.36.6