summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-06-01 18:33:49 -0400
committerJoey Hess2015-06-01 18:33:49 -0400
commit87a116d5db28322d52adcf99de5e3cbd7dc43110 (patch)
tree9a81c91508580ec1fceed690b344e57149fb500f
parent716633c25f34daa19d60bfb7c1541b9559ba1f90 (diff)
use --machine
needed by systemd 220 for machined to see the container as a machine
-rw-r--r--src/Propellor/Property/Systemd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs
index a46fe4f8..0015276d 100644
--- a/src/Propellor/Property/Systemd.hs
+++ b/src/Propellor/Property/Systemd.hs
@@ -196,7 +196,7 @@ nspawnService (Container name _ _) cfg = setup <!> teardown
, "--quiet"
, "--keep-unit"
, "--boot"
- , "--directory=/var/lib/container/%i"
+ , "--machine=%i"
] ++ nspawnServiceParams cfg
| otherwise = l