From 69806fe777a89f22a98bf8efb7c4fbb116c0359a Mon Sep 17 00:00:00 2001
From: Stefano Alberto Russo <stefano.russo@gmail.com>
Date: Mon, 20 Dec 2021 00:08:10 +0100
Subject: [PATCH] Fixed bug in running Podman in the standaloneworker service.

---
 services/standaloneworker/entrypoint.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/services/standaloneworker/entrypoint.sh b/services/standaloneworker/entrypoint.sh
index fd2f047..646ebf4 100644
--- a/services/standaloneworker/entrypoint.sh
+++ b/services/standaloneworker/entrypoint.sh
@@ -4,8 +4,9 @@
 # (see https://stackoverflow.com/questions/4381618/exit-a-script-on-error)
 set -e
 
-# Fix FUSE permissions
+# Fix FUSE and TUN permissions
 chmod 777 /dev/fuse
+chmod 777 /dev/net/tun
 
 #---------------------
 #  Entrypoint command
-- 
GitLab