Add f26 to the supported distros

The only mentionable diff is the kvm alias
does not exists so we will install
qemu-kvm as with rhel7 which also exists
in the older supported fedoras.

kvm also just an alias in suse so
switching to qemu-kvm  in suse as well.

Change-Id: I5c79ad1ef0b11dba30c931a59786f9eb7e7f8587
This commit is contained in:
Attila Fazekas 2017-07-13 15:12:55 +02:00
parent d93433dfb8
commit 7bbd4e95d0
6 changed files with 8 additions and 16 deletions

View File

@ -1,5 +1,5 @@
iscsi-initiator-utils
lvm2
qemu-img
scsi-target-utils # not:rhel7,f24,f25 NOPRIME
targetcli # dist:rhel7,f24,f25 NOPRIME
scsi-target-utils # not:rhel7,f24,f25,f26 NOPRIME
targetcli # dist:rhel7,f24,f25,f26 NOPRIME

View File

@ -9,9 +9,9 @@ git-core
graphviz # needed only for docs
httpd
httpd-devel
iptables-services # NOPRIME f23,f24,f25
iptables-services # NOPRIME f23,f24,f25,f26
java-1.7.0-openjdk-headless # NOPRIME rhel7
java-1.8.0-openjdk-headless # NOPRIME f23,f24,f25
java-1.8.0-openjdk-headless # NOPRIME f23,f24,f25,f26
libffi-devel
libjpeg-turbo-devel # Pillow 3.0.0
libxml2-devel # lxml

View File

@ -7,7 +7,7 @@ gawk
genisoimage # required for config_drive
iptables
iputils
kernel-modules # dist:f23,f24,f25
kernel-modules # dist:f23,f24,f25,f26
kpartx
libxml2-python
m2crypto

View File

@ -2,7 +2,7 @@ curl
liberasurecode-devel
memcached
pyxattr
rsync-daemon # dist:f23,f24,f25
rsync-daemon # dist:f23,f24,f25,f26
sqlite
xfsprogs
xinetd

View File

@ -73,15 +73,7 @@ function install_libvirt {
#pip_install_gr <there-si-no-guestfs-in-pypi>
elif is_fedora || is_suse; then
# On "KVM for IBM z Systems", kvm does not have its own package
if [[ ! ${DISTRO} =~ "kvmibm1" && ! ${DISTRO} =~ "rhel7" ]]; then
install_package kvm
fi
if [[ ${DISTRO} =~ "rhel7" ]]; then
# This should install the latest qemu-kvm build,
# which is called qemu-kvm-ev in centos7
# (as the default OS qemu-kvm package is usually rather old,
# and should be updated by above)
if [[ ! ${DISTRO} =~ "kvmibm1" ]]; then
install_package qemu-kvm
fi

View File

@ -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} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|opensuse-42.2|opensuse-42.3|rhel7|kvmibm1) ]]; then
if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|f26|opensuse-42.2|opensuse-42.3|rhel7|kvmibm1) ]]; 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"