Merge "Drop systemd support from PAM"

This commit is contained in:
Zuul 2019-05-07 05:18:55 +00:00 committed by Gerrit Code Review
commit 98a946f9d5
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ RUN sed -i \
{# endif base_package_type deb #}
{% endif %}
{% if base_distro == 'centos' or base_distro == 'rhel' %}
RUN sed -ri '/-session(\s+)optional(\s+)pam_systemd.so/d' /etc/pam.d/system-auth
{% endif %}
COPY set_configs.py /usr/local/bin/kolla_set_configs
COPY start.sh /usr/local/bin/kolla_start
COPY sudoers /etc/sudoers