From 0ebe7b072e066ea34f69d2c532d39f579f0af8a5 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Sat, 26 Sep 2020 15:15:42 -0700 Subject: [PATCH] Update opensuse version Nova has newer qemu requirements which needs opensuse 15.2 to meet. The infra opensuse 15 images are 15.2 now to accomodate that. Update opensuse's supported version to match. Change-Id: I6f3c5234920b185b2b0cd9c358371402f7a7b922 (cherry picked from commit 471f1625bb3ae9b11d9da69404f945a19d8b010a) --- lib/lvm | 4 ++-- stack.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lvm b/lib/lvm index 92265f2af2..8e5af41af9 100644 --- a/lib/lvm +++ b/lib/lvm @@ -124,8 +124,8 @@ function init_lvm_volume_group { local vg=$1 local size=$2 - # Start the lvmetad on f30 (dropped from f31) or SUSE - if [[ $DISTRO =~ f30 ]] || is_suse; then + # Start the lvmetad on f30 (dropped from f31) + if [[ $DISTRO =~ f30 ]] ; then # services is not started by default start_service lvm2-lvmetad fi diff --git a/stack.sh b/stack.sh index aa898de9fb..1f2746ca74 100755 --- a/stack.sh +++ b/stack.sh @@ -221,7 +221,7 @@ write_devstack_version # Warn users who aren't on an explicitly supported distro, but allow them to # override check and attempt installation with ``FORCE=yes ./stack`` -if [[ ! ${DISTRO} =~ (bionic|stretch|jessie|f30|f31|opensuse-15.0|opensuse-15.1|opensuse-tumbleweed|rhel8) ]]; then +if [[ ! ${DISTRO} =~ (bionic|stretch|jessie|f30|f31|opensuse-15.2|opensuse-tumbleweed|rhel8) ]]; then echo "WARNING: this script has not been tested on $DISTRO" if [[ "$FORCE" != "yes" ]]; then die $LINENO "If you wish to run this script anyway run with FORCE=yes"