summaryrefslogtreecommitdiffstats
path: root/molecule/raspberrypi/Dockerfile.j2
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-12-11 17:27:15 +0100
committerAhmed AbdelHalim <[email protected]>2025-12-11 22:05:56 +0100
commit8bbd6c2210a2adfbb16eb4ed14f0f0c9562ab65e (patch)
treeb48046cdbc7b26607ed884403b4414ddb17dbd00 /molecule/raspberrypi/Dockerfile.j2
parent04b8c6ebbf1df9f2975f0c44c5609dae8fe4e7c2 (diff)
Fix the test_group passwordless permission for testing
Diffstat (limited to 'molecule/raspberrypi/Dockerfile.j2')
-rw-r--r--molecule/raspberrypi/Dockerfile.j24
1 files changed, 0 insertions, 4 deletions
diff --git a/molecule/raspberrypi/Dockerfile.j2 b/molecule/raspberrypi/Dockerfile.j2
index 51d6b0dd..b65d05ae 100644
--- a/molecule/raspberrypi/Dockerfile.j2
+++ b/molecule/raspberrypi/Dockerfile.j2
@@ -20,10 +20,6 @@ RUN rm -f /lib/systemd/system/multi-user.target.wants/getty.target
RUN systemctl enable avahi-daemon \
&& touch /etc/locale.gen
-# 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", "/tmp", "/run", "/opt"]
CMD ["/lib/systemd/systemd"]