From 87a116d5db28322d52adcf99de5e3cbd7dc43110 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 1 Jun 2015 18:33:49 -0400 Subject: [PATCH] use --machine needed by systemd 220 for machined to see the container as a machine --- src/Propellor/Property/Systemd.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs index a46fe4f..0015276 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