Add MASTER_NODE_EXTRA_PACKAGES processing
Each package from MASTER_NODE_EXTRA_PACKAGES shall be installed from kickstart. Related-Bug: #1526544 Change-Id: I569c15177ca8cd5f990a4ee1ae986654975919a1
This commit is contained in:
parent
108b66bc2c
commit
722bcb67df
|
@ -471,7 +471,20 @@ rm -rf ${FS}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%post --log=/root/anaconda-post-install-extrapackages.log
|
||||||
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
|
|
||||||
|
MASTER_NODE_EXTRA_PACKAGES=""
|
||||||
|
source "/root/anaconda.cmdline.vars"
|
||||||
|
|
||||||
|
if [ -n "${MASTER_NODE_EXTRA_PACKAGES}" ]; then
|
||||||
|
for pkg in ${MASTER_NODE_EXTRA_PACKAGES}; do
|
||||||
|
yum -y install ${pkg}
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
%end
|
||||||
|
|
||||||
%post --log=/root/anaconda-post-configure-autologon.log
|
%post --log=/root/anaconda-post-configure-autologon.log
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
Loading…
Reference in New Issue