Add centos7 support for apply-test.sh
Change-Id: I10da00d7e4e8dcbad5c095cbeee2bc8f4c389bb6 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
6dfab80fac
commit
55f6e468a1
@ -785,6 +785,7 @@ node 'openstackid-dev.openstack.org' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Node-OS: centos6
|
# Node-OS: centos6
|
||||||
|
# Node-OS: centos7
|
||||||
# Node-OS: precise
|
# Node-OS: precise
|
||||||
# Node-OS: trusty
|
# Node-OS: trusty
|
||||||
# This is not meant to be an actual node that connects to the master.
|
# This is not meant to be an actual node that connects to the master.
|
||||||
|
@ -74,6 +74,8 @@ mv applytest/prep00 applytest/head # These are the top-level variables defined
|
|||||||
if [[ `lsb_release -i -s` == 'CentOS' ]]; then
|
if [[ `lsb_release -i -s` == 'CentOS' ]]; then
|
||||||
if [[ `lsb_release -r -s` =~ '6' ]]; then
|
if [[ `lsb_release -r -s` =~ '6' ]]; then
|
||||||
CODENAME='centos6'
|
CODENAME='centos6'
|
||||||
|
elif [[ `lsb_release -r -s` =~ '7' ]]; then
|
||||||
|
CODENAME='centos7'
|
||||||
fi
|
fi
|
||||||
elif [[ `lsb_release -i -s` == 'Ubuntu' ]]; then
|
elif [[ `lsb_release -i -s` == 'Ubuntu' ]]; then
|
||||||
CODENAME=`lsb_release -c -s`
|
CODENAME=`lsb_release -c -s`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user