systemd-nspawn: add NotifyRead option

wip/yesman
Jörg Thalheim 7 years ago
parent b2a14ee339
commit 4698012c52
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
  1. 5
      nixos/modules/system/boot/systemd-nspawn.nix

@ -14,11 +14,12 @@ let
(assertOnlyFields [
"Boot" "ProcessTwo" "Parameters" "Environment" "User" "WorkingDirectory"
"Capability" "DropCapability" "KillSignal" "Personality" "MachineId"
"PrivateUsers"
"PrivateUsers" "NotifyReady"
])
(assertValueOneOf "Boot" boolValues)
(assertValueOneOf "ProcessTwo" boolValues)
(assertValueOneOf "PrivateUsers" (boolValues ++ [ "pick" ]))
(assertValueOneOf "NotifyReady")
];
checkFiles = checkUnitConfig "Files" [
@ -82,7 +83,7 @@ let
};
instanceToUnit = name: def:
instanceToUnit = name: def:
{ text = ''
[Exec]
${attrsToSection def.execConfig}

Loading…
Cancel
Save