Adding Storm version to image name

Storm image name is being created with the same name regardless the
Storm version being used. This patch adds the version to the image name.

Change-Id: I45376bff64c71245ae08f64a6e7de66265769631
This commit is contained in:
Telles Nobrega 2014-11-26 01:15:48 -03:00
parent a519718cfa
commit 0664ddfda5

View File

@ -350,7 +350,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "storm" ]; then
export JAVA_DOWNLOAD_URL=${JAVA_DOWNLOAD_URL:-"http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz"}
export DIB_STORM_VERSION=${DIB_STORM_VERSION:-0.9.1}
export ubuntu_image_name=${ubuntu_storm_image_name:-"ubuntu_sahara_storm_latest"}
export ubuntu_image_name=${ubuntu_storm_image_name:-"ubuntu_sahara_storm_latest_$DIB_STORM_VERSION"}
ubuntu_elements_sequence="base vm ubuntu java zookeeper storm"