Merge "Drop systemd support from nsswitch.conf" into stable/train

This commit is contained in:
Zuul 2020-07-31 02:16:00 +00:00 committed by Gerrit Code Review
commit 2f6304e42a
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ tcib_actions:
- copy: /usr/share/tripleo-common/container-images/kolla/base/sudoers /etc/sudoers - copy: /usr/share/tripleo-common/container-images/kolla/base/sudoers /etc/sudoers
- run: chmod 440 /etc/sudoers - run: chmod 440 /etc/sudoers
- run: sed -ri '/-session(\s+)optional(\s+)pam_systemd.so/d' /etc/pam.d/system-auth - run: sed -ri '/-session(\s+)optional(\s+)pam_systemd.so/d' /etc/pam.d/system-auth
- run: sed -ri '/^(passwd:|group:)/ s/systemd//g' /etc/nsswitch.conf
- run: dnf install -y {{ tcib_packages['common'] | join(' ') }} - run: dnf install -y {{ tcib_packages['common'] | join(' ') }}
- run: mkdir -p /openstack - run: mkdir -p /openstack
- run: dnf update -y && dnf clean all && rm -rf /var/cache/dnf - run: dnf update -y && dnf clean all && rm -rf /var/cache/dnf