summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Suzdal <isuzdal@mirantis.com>2016-06-06 18:19:56 +0300
committerIvan Suzdal <isuzdal@mirantis.com>2016-06-07 13:31:08 +0300
commit722bcb67df6fbcb7e7b07ccdab085c4c43932571 (patch)
tree0e9e109af75bbe6248b781fdbb9787dd4828b932
parent108b66bc2c49314f3eecdb3f4b38159ee6d0c26a (diff)
Add MASTER_NODE_EXTRA_PACKAGES processing
Each package from MASTER_NODE_EXTRA_PACKAGES shall be installed from kickstart. Related-Bug: #1526544 Change-Id: I569c15177ca8cd5f990a4ee1ae986654975919a1
Notes
Notes (review): Code-Review+1: Alexei Sheplyakov <asheplyakov@mirantis.com> Code-Review+1: Alexandr Kostrikov <akostrikov@mirantis.com> Code-Review+2: Sergii Golovatiuk <sgolovatiuk@mirantis.com> Workflow+1: Sergii Golovatiuk <sgolovatiuk@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Jun 2016 10:41:31 +0000 Reviewed-on: https://review.openstack.org/325977 Project: openstack/fuel-main Branch: refs/heads/master
-rw-r--r--iso/ks.template13
1 files changed, 13 insertions, 0 deletions
diff --git a/iso/ks.template b/iso/ks.template
index 5bf201c..0933c35 100644
--- a/iso/ks.template
+++ b/iso/ks.template
@@ -471,7 +471,20 @@ rm -rf ${FS}
471 471
472 472
473 473
474%post --log=/root/anaconda-post-install-extrapackages.log
475#!/bin/bash
476set -x
477
478MASTER_NODE_EXTRA_PACKAGES=""
479source "/root/anaconda.cmdline.vars"
474 480
481if [ -n "${MASTER_NODE_EXTRA_PACKAGES}" ]; then
482 for pkg in ${MASTER_NODE_EXTRA_PACKAGES}; do
483 yum -y install ${pkg}
484 done
485fi
486
487%end
475 488
476%post --log=/root/anaconda-post-configure-autologon.log 489%post --log=/root/anaconda-post-configure-autologon.log
477#!/bin/bash 490#!/bin/bash