From 5e65dc8abe3237fdc189d8a80d3eb3e193369011 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 12 Jun 2016 13:34:23 +0900 Subject: improve Exoscale prop haddock --- src/Propellor/Property/HostingProvider/Exoscale.hs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/Propellor/Property/HostingProvider') diff --git a/src/Propellor/Property/HostingProvider/Exoscale.hs b/src/Propellor/Property/HostingProvider/Exoscale.hs index 6bf19cbc..c6244d46 100644 --- a/src/Propellor/Property/HostingProvider/Exoscale.hs +++ b/src/Propellor/Property/HostingProvider/Exoscale.hs @@ -10,11 +10,15 @@ import qualified Propellor.Property.Grub as Grub import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.Reboot as Reboot --- | Current Exoshare Debian image doesn't install GRUB, so this property makes --- sure GRUB is installed and we're running the distro's kernel +-- | The current Exoshare Debian image doesn't install GRUB, so this property +-- makes sure GRUB is installed and correctly configured -- --- We reboot after doing this because 'Sbuild.built' will fail to set up an --- overlay-type chroot on an old kernel +-- In case an old, insecure kernel is running, we check for an old kernel +-- version and reboot immediately if one is found. +-- +-- Note that we ignore anything after the first hyphen when considering whether +-- the running kernel's version is older than the Debian-supplied kernel's +-- version. distroKernel :: Architecture -> Property DebianLike distroKernel arch = go `flagFile` theFlagFile where -- cgit v1.2.3