Add 'disable-selinux' element for HDP plugin
Change-Id: Iaa7b8be2b3e463059b48405e5f8852521c38ab1a
This commit is contained in:
parent
2762fb4c19
commit
a8a8d21cc1
|
@ -298,7 +298,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then
|
|||
if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "1" ]; then
|
||||
export centos_image_name_hdp_1_3=${centos_hdp_hadoop_1_image_name:-"centos-6_4-64-hdp-1-3"}
|
||||
# Elements to include in an HDP-based image
|
||||
centos_elements_sequence="vm rhel hadoop-hdp disable-firewall redhat-lsb sahara-version source-repositories yum"
|
||||
centos_elements_sequence="vm rhel hadoop-hdp disable-firewall redhat-lsb sahara-version source-repositories yum disable-selinux"
|
||||
if [ "$IMAGE_GENERATION_DEBUG_MODE" = "true" ]; then
|
||||
# enable the root-pwd element, for simpler local debugging of images
|
||||
centos_elements_sequence=$centos_elements_sequence" root-passwd"
|
||||
|
@ -313,7 +313,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then
|
|||
if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "2" ]; then
|
||||
export centos_image_name_hdp_2_0=${centos_hdp_hadoop_2_image_name:-"centos-6_4-64-hdp-2-0"}
|
||||
# Elements to include in an HDP-based image
|
||||
centos_elements_sequence="vm rhel hadoop-hdp disable-firewall redhat-lsb sahara-version source-repositories yum"
|
||||
centos_elements_sequence="vm rhel hadoop-hdp disable-firewall redhat-lsb sahara-version source-repositories yum disable-selinux"
|
||||
if [ "$IMAGE_GENERATION_DEBUG_MODE" = "true" ]; then
|
||||
# enable the root-pwd element, for simpler local debugging of images
|
||||
centos_elements_sequence=$centos_elements_sequence" root-passwd"
|
||||
|
@ -328,7 +328,7 @@ if [ -z "$PLUGIN" -o "$PLUGIN" = "hdp" ]; then
|
|||
if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "plain" ]; then
|
||||
export centos_image_name_plain=${centos_hdp_plain_image_name:-"centos-6_4-64-plain"}
|
||||
# Elements for a plain CentOS image that does not contain HDP or Apache Hadoop
|
||||
centos_plain_elements_sequence="vm rhel redhat-lsb sahara-version yum"
|
||||
centos_plain_elements_sequence="vm rhel redhat-lsb sahara-version yum disable-selinux"
|
||||
if [ "$IMAGE_GENERATION_DEBUG_MODE" = "true" ]; then
|
||||
# enable the root-pwd element, for simpler local debugging of images
|
||||
centos_elements_sequence=$centos_elements_sequence" root-passwd"
|
||||
|
|
Loading…
Reference in New Issue