Merge pull request #198526 from farnoy/nixos-container-unified-cgroups

[nixos-container] Make nixos containers use unified cgroupsv2
This commit is contained in:
Eelco Dolstra
2022-11-10 13:37:43 +01:00
committed by GitHub
5 changed files with 31 additions and 0 deletions

View File

@@ -138,6 +138,8 @@ let
fi
''}
export SYSTEMD_NSPAWN_UNIFIED_HIERARCHY=1
# Run systemd-nspawn without startup notification (we'll
# wait for the container systemd to signal readiness)
# Kill signal handling means systemd-nspawn will pass a system-halt signal