From 4a796dbbe50e71cb014e096cfb7f4f3d05f5f752 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 29 Mar 2020 22:23:31 +0300 Subject: [PATCH] create-workspace: podman - fix case when volume is at labeled SELinux FS --- create-workspace.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create-workspace.py b/create-workspace.py index ffd2bcc2..93f33ca5 100755 --- a/create-workspace.py +++ b/create-workspace.py @@ -273,6 +273,7 @@ def build_templates( args.extend([ '--name=' + container_name, + '--security-opt', 'label=disable', '--mount', 'type=bind,src=' + git_folder + ',target=/build/workspace/project', repo + 'tc-' + template + ':' + tag, @@ -467,6 +468,7 @@ def create_container_env( create_command = [ orchestrator, 'create', + '--security-opt', 'label=disable', '--hostname=pupy', '--network=' + network, '--name='+container_name, '--interactive', '--tty',