Include full closure in chroot for bridge setup

This commit is contained in:
2023-06-10 16:47:02 +01:00
parent f65b4c0676
commit 58e00950ce

View File

@ -79,7 +79,8 @@ with lib.my;
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "default.target" ]; wantedBy = [ "default.target" ];
serviceConfig.type = "oneshot"; confinement.fullUnit = true;
serviceConfig.Type = "oneshot";
script = let podmancli = "${pkgs.podman}/bin/podman"; script = let podmancli = "${pkgs.podman}/bin/podman";
in '' in ''
check=$(${podmancli} network ls | grep "library-br" || true) check=$(${podmancli} network ls | grep "library-br" || true)