Make system detection script detect gbp for Heat 09/50309/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 11 Jan 2017 17:11:35 +0000 (12:11 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 11 Jan 2017 17:13:09 +0000 (12:13 -0500)
commita65b8fcaaac7392e3dbd315077149f65b9c02e3f
treec382420c36e9b642f97cbfc9303e9cb24a871f6c
parent7249f71cdaed3cd57246123bf36eb8329c999cfb
Make system detection script detect gbp for Heat

Our Heat script uses the gbp part of the image name such as "Ubuntu
14.04 - gbp - 20161031-0916" to detect which image spinup script to
initialize. This patch makes removes the os portion of the hostname as
it is not used in Heat instance names.

Change-Id: I36fd58271bd7a67721e65dbc4724e088c0f1f8bb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jenkins-scripts/system_type.sh