diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-21 12:17:03 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-21 12:17:03 -0400 |
| commit | 6a5a1bc76132128e4bd2312dfadc98e83b0baf40 (patch) | |
| tree | 712f9edaf6833bc3c9df41405ce9fe9810c754ee /config-joey.hs | |
| parent | 1af298dc10fddc3deb32fa8af2638d00dfbc2665 (diff) | |
systemd container may be mostly done (untested)
Diffstat (limited to 'config-joey.hs')
| -rw-r--r-- | config-joey.hs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config-joey.hs b/config-joey.hs index a11e1d8c..62c5af9f 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -25,6 +25,7 @@ import qualified Propellor.Property.Grub as Grub import qualified Propellor.Property.Obnam as Obnam import qualified Propellor.Property.Gpg as Gpg import qualified Propellor.Property.Chroot as Chroot +import qualified Propellor.Property.Systemd as Systemd import qualified Propellor.Property.HostingProvider.DigitalOcean as DigitalOcean import qualified Propellor.Property.HostingProvider.CloudAtCost as CloudAtCost import qualified Propellor.Property.HostingProvider.Linode as Linode @@ -80,7 +81,13 @@ clam = standardSystem "clam.kitenet.net" Unstable "amd64" ! Ssh.listenPort 80 ! Ssh.listenPort 443 - & Chroot.provisioned testChroot + ! Chroot.provisioned testChroot + & Systemd.persistentJournal + & Systemd.nspawned meow + +meow :: Systemd.Container +meow = Systemd.container "meow" (System (Debian Unstable) "amd64") [] + & Apt.serviceInstalledRunning ["fingerd"] testChroot :: Chroot.Chroot testChroot = Chroot.chroot "/tmp/chroot" (System (Debian Unstable) "amd64") |
