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)
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

index 8b1e6a54107ba144ac6d397c2343e27327866be3..58effaebc83be372a133865b652a9ae597616a86 100755 (executable)
@@ -18,7 +18,7 @@ for i in "autorelease,autorelease" \
          "java-builder,builder" \
          "devstack,devstack" \
          "docker,docker" \
-         "ubuntu-trusty-gbp,ubuntu-docker-ovs" \
+         "gbp,ubuntu-docker-ovs" \
          "matrix,matrix" \
          "robot,robot" \
          "ubuntu-trusty-mininet,mininet-ubuntu" \