remove override_install_langs option in /etc/yum.conf

Closes-Bug: #1637803
Change-Id: I5c22b76379b1dce1673124ac8b46b894449405a5
This commit is contained in:
jiangpch 2016-10-28 10:41:52 -04:00 committed by Jeffrey Zhang
parent b7bac2fba0
commit 7e8c03e3c0

View File

@ -29,7 +29,8 @@ ENV PS1="$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(ho
RUN if [ $(awk '{match($0, /[0-9]+/,version)}END{print version[0]}' /etc/system-release) != "{{ supported_distro_release }}" ]; then \
echo "Only supported {{ supported_distro_release }} release on {{ base_distro }}"; false; \
fi \
&& cat /tmp/kolla_bashrc >> /etc/bashrc
&& cat /tmp/kolla_bashrc >> /etc/bashrc \
&& sed -i 's|^\(override_install_langs=.*\)|# \1|' /etc/yum.conf
#### BEGIN REPO ENABLEMENT
# Turns on Elasticsearch repos