summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Systemd.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-20 12:06:35 -0400
committerJoey Hess2015-10-20 12:06:35 -0400
commit9b7719c2c78f1e6f3d012bb76aca7efa1df7faac (patch)
tree736397753e2064407fb8befee07b325fbc055540 /src/Propellor/Property/Systemd.hs
parent650b7659cf07f1da31bcf51eb139af28d5bc8bb1 (diff)
parent05d35eb568e74deafc936e6735171291410b5f0b (diff)
Merge branch 'joeyconfig'
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.