diff --git a/manifests/runner.pp b/manifests/runner.pp index a360bcf..b61898d 100644 --- a/manifests/runner.pp +++ b/manifests/runner.pp @@ -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,