From 66bbb4db028bfc6e1a731ea0c47dfa9dd0450fc3 Mon Sep 17 00:00:00 2001 From: Michael McCune Date: Wed, 23 Apr 2014 14:10:37 -0400 Subject: [PATCH] correcting the elements sequence for centos+hdp+plain+debug When creating a centos image with the hdp plain plugin and with debug mode on the root password is not set correctly. This change fixes the element sequence. Changes * renaming the elements sequence variable for centos hdp plain images Change-Id: I9e6a46c64cf6239fd6635c2e5673b258a0c4a6fd --- diskimage-create/diskimage-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskimage-create/diskimage-create.sh b/diskimage-create/diskimage-create.sh index e71da702..517b4e6a 100755 --- a/diskimage-create/diskimage-create.sh +++ b/diskimage-create/diskimage-create.sh @@ -319,7 +319,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then centos_plain_elements_sequence="vm rhel redhat-lsb sahara-version yum" if [ "$DEBUG_MODE" = "true" ]; then # enable the root-pwd element, for simpler local debugging of images - centos_elements_sequence=$centos_elements_sequence" root-passwd" + centos_plain_elements_sequence=$centos_plain_elements_sequence" root-passwd" fi # generate plain (no Hadoop components) image for testing