Change owner of runnerdata to podman user
This commit is contained in:
parent
b275509494
commit
47bb899065
|
@ -80,7 +80,7 @@ class podmanrunner::runner (
|
|||
|
||||
# Make sure the podman user can read the /data dir
|
||||
exec { "make-${username}${x}-own-runnerdata":
|
||||
command => "systemd-run --wait --user --machine=${username}${x}@ /bin/bash -c 'echo test'",
|
||||
command => "systemd-run --wait --user --machine=${username}${x}@ /bin/bash -c 'podman unshare chown 1000:1000 /opt/${username}${x}/runnerdata'",
|
||||
path => '/usr/bin:/usr/sbin:/bin',
|
||||
provider => shell,
|
||||
logoutput => false,
|
||||
|
|
Loading…
Reference in a new issue