nixos/tests/podman: fix rootless systemd
This commit is contained in:
parent
bbfdc6ce4d
commit
58a59738d5
1 changed files with 3 additions and 1 deletions
|
@ -73,8 +73,10 @@ import ../make-test-python.nix (
|
|||
podman.succeed("podman stop sleeping")
|
||||
podman.succeed("podman rm sleeping")
|
||||
|
||||
# create systemd session for rootless
|
||||
# start systemd session for rootless
|
||||
podman.succeed("loginctl enable-linger alice")
|
||||
podman.succeed(su_cmd("whoami"))
|
||||
podman.sleep(1)
|
||||
|
||||
with subtest("Run container rootless with runc"):
|
||||
podman.succeed(su_cmd("tar cv --files-from /dev/null | podman import - scratchimg"))
|
||||
|
|
Loading…
Reference in a new issue