From 49e4b3a9d08ccdc0dbd67e4b5a623c15dd083696 Mon Sep 17 00:00:00 2001 From: LinuxSquare <7436714-OfficialLinuxSquare@users.noreply.gitlab.com> Date: Fri, 20 Oct 2023 17:02:20 +0200 Subject: [PATCH] Rework podman rootless 5 --- applications/podman.sls | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/applications/podman.sls b/applications/podman.sls index ffe49ca..a2a8c59 100644 --- a/applications/podman.sls +++ b/applications/podman.sls @@ -63,9 +63,16 @@ applications_podman_rootless_subuid: - applications_podman_user applications_podman_rootless_tun_permissions: - file.managed: + file: + - directory + - name: /dev/net + - mknod - name: /dev/net/tun - - mode: '0755' - - replace: False + - ntype: c + - major: 10 + - minor: 200 + - user: root + - group: root + - mode: '0666' - require: - applications_podman_rootless_modules