summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Systemd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Systemd.hs')
-rw-r--r--src/Propellor/Property/Systemd.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs
index 0ec0697e..3f20a9e2 100644
--- a/src/Propellor/Property/Systemd.hs
+++ b/src/Propellor/Property/Systemd.hs
@@ -187,7 +187,8 @@ container name mkchroot = Container name c h
& resolvConfed
& linkJournal
where
- c@(Chroot.Chroot _ system _ _) = mkchroot (containerDir name)
+ c = mkchroot (containerDir name)
+ system = Chroot.chrootSystem c
h = Host name [] mempty
-- | Runs a container using systemd-nspawn.