mirror of https://github.com/n1nj4sec/pupy.git
create-workspace: podman - fix case when volume is at labeled SELinux FS
This commit is contained in:
parent
b95be4967f
commit
4a796dbbe5
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue