From 05d35eb568e74deafc936e6735171291410b5f0b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Oct 2015 12:01:59 -0400 Subject: Chroot: Converted to use a ChrootBootstrapper type class So other ways to bootstrap chroots can easily be added in separate modules. (API change) --- src/Propellor/Property/Systemd.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Property/Systemd.hs') 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. -- cgit v1.2.3