Use openSUSE instead of openSuSe

Change-Id: Ib9c6df8f4248ee51db66620fd4d81c612b0729dd
This commit is contained in:
Christian Berendt
2018-02-12 11:11:21 +01:00
parent d1bfd90593
commit a59189eaac
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ it can send the passed test data to a RefStack API server.
Environment setup Environment setup
################# #################
We've created an "easy button" for Ubuntu, Centos, RHEL and openSuSe. We've created an "easy button" for Ubuntu, Centos, RHEL and openSUSE.
1. Make sure you have ``git`` installed 1. Make sure you have ``git`` installed
2. Get the refstack client: ``git clone https://github.com/openstack/refstack-client`` 2. Get the refstack client: ``git clone https://github.com/openstack/refstack-client``

View File

@@ -94,7 +94,7 @@ elif [ -n "$(command -v yum)" ]; then
fi fi
sudo yum -y install git sudo yum -y install git
elif [ -n "$(command -v zypper)" ]; then elif [ -n "$(command -v zypper)" ]; then
# For zypper-based distributions (openSuSe, SELS) # For zypper-based distributions (openSUSE, SELS)
# If we run script in container we need sudo # If we run script in container we need sudo
if [ ! -f sudo ]; then if [ ! -f sudo ]; then
zypper --gpg-auto-import-keys --non-interactive refresh zypper --gpg-auto-import-keys --non-interactive refresh
@@ -122,7 +122,7 @@ elif [ -n "$(command -v yum)" ]; then
# For yum-based distributions (RHEL, Centos) # For yum-based distributions (RHEL, Centos)
sudo yum -y install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel bzip2-devel libxslt-devel openssl-devel libyaml-devel python3-devel sudo yum -y install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel bzip2-devel libxslt-devel openssl-devel libyaml-devel python3-devel
elif [ -n "$(command -v zypper)" ]; then elif [ -n "$(command -v zypper)" ]; then
# For zypper-based distributions (openSuSe, SELS) # For zypper-based distributions (openSUSE, SELS)
sudo zypper --non-interactive install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel zlib-devel libxslt-devel libopenssl-devel python-xml libyaml-devel sudo zypper --non-interactive install curl wget tar unzip make python-devel.x86_64 gcc gcc-c++ libffi-devel libxml2-devel zlib-devel libxslt-devel libopenssl-devel python-xml libyaml-devel
else else
echo "Neither apt-get, nor yum, nor zypper found." echo "Neither apt-get, nor yum, nor zypper found."