use --machine

needed by systemd 220 for machined to see the container as a machine
This commit is contained in:
Joey Hess 2015-06-01 18:33:49 -04:00
parent 716633c25f
commit 87a116d5db
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ nspawnService (Container name _ _) cfg = setup <!> teardown
, "--quiet" , "--quiet"
, "--keep-unit" , "--keep-unit"
, "--boot" , "--boot"
, "--directory=/var/lib/container/%i" , "--machine=%i"
] ++ nspawnServiceParams cfg ] ++ nspawnServiceParams cfg
| otherwise = l | otherwise = l