From 5e40d4a6ffa1667412d5db10ad6c99338dfec544 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 11 Dec 2025 17:27:15 +0100 Subject: Fix the test_group passwordless permission for testing --- molecule/archlinux/Dockerfile.j2 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'molecule/archlinux/Dockerfile.j2') diff --git a/molecule/archlinux/Dockerfile.j2 b/molecule/archlinux/Dockerfile.j2 index b1e8c143..3dc35f2d 100644 --- a/molecule/archlinux/Dockerfile.j2 +++ b/molecule/archlinux/Dockerfile.j2 @@ -18,10 +18,6 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; \ # https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/59 RUN cp -r /usr/share/i18n/locales/en_US /usr/share/i18n/locales/de_DE; -# Enable passwordless sudo for test_group (created by the user role) -RUN echo '%test_group ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/test_group && \ - chmod 0440 /etc/sudoers.d/test_group - VOLUME ["/sys/fs/cgroup"] CMD ["/lib/systemd/systemd"] -- cgit v1.2.3