Add $EXTRA_ARGS back to yum call
This got removed accidentally in a recent consolidation of install-packages. Adding it back so that -d support works again. Closes-bug: #1287142 Change-Id: If17e613bc9bc0f808517edfa1506858d3b9dce54
This commit is contained in:
parent
e5afa4d6f9
commit
30d1668c03
@ -41,7 +41,7 @@ if [ -n "$WHITELIST" ]; then
|
||||
if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ]; then
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
||||
fi
|
||||
yum -y install $(map-packages $WHITELIST)
|
||||
yum -y install $EXTRA_ARGS $(map-packages $WHITELIST)
|
||||
for pkg in "$@"; do
|
||||
if [ "$pkg" = "python-pip" ] ; then
|
||||
alternatives --install /usr/bin/pip pip /usr/bin/pip-python 10
|
||||
|
Loading…
Reference in New Issue
Block a user