From 230d39c1829caa6615ae5c0d7cbed03736b0b7b1 Mon Sep 17 00:00:00 2001 From: Evgeny Sikachev Date: Fri, 24 Apr 2015 13:45:02 +0300 Subject: [PATCH] Fix version CentOS in name of images with CentOS In names set old version of CentOS. Updated to 6.6 version Change-Id: Ic4ed0d9e0d508a9230abfd3e96406bd376821fa7 Closes-bug: #1448062 --- diskimage-create/diskimage-create.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index 574d2480..e0453406 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -481,7 +481,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then # Ignoring image type option if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "1" ]; then - export centos_image_name_hdp_1_3=${centos_hdp_hadoop_1_image_name:-"centos-6_5-64-hdp-1-3"} + export centos_image_name_hdp_1_3=${centos_hdp_hadoop_1_image_name:-"centos-6_6-64-hdp-1-3"} # Elements to include in an HDP-based image centos_elements_sequence="vm rhel hadoop-hdp redhat-lsb yum $JAVA_ELEMENT updater epel" if [ "$DEBUG_MODE" = "true" ]; then @@ -500,7 +500,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then fi if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "2" ]; then - export centos_image_name_hdp_2_0=${centos_hdp_hadoop_2_image_name:-"centos-6_5-64-hdp-2-0"} + export centos_image_name_hdp_2_0=${centos_hdp_hadoop_2_image_name:-"centos-6_6-64-hdp-2-0"} # Elements to include in an HDP-based image centos_elements_sequence="vm rhel hadoop-hdp redhat-lsb yum $JAVA_ELEMENT updater epel" if [ "$DEBUG_MODE" = "true" ]; then @@ -519,7 +519,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then fi if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "plain" ]; then - export centos_image_name_plain=${centos_hdp_plain_image_name:-"centos-6_5-64-plain"} + export centos_image_name_plain=${centos_hdp_plain_image_name:-"centos-6_6-64-plain"} # Elements for a plain CentOS image that does not contain HDP or Apache Hadoop centos_plain_elements_sequence="vm rhel redhat-lsb disable-firewall disable-selinux ssh sahara-version yum $JAVA_ELEMENT epel" if [ "$DEBUG_MODE" = "true" ]; then