From 0ddf4f850d23e66fa087bebd30545acb3a91b8a8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 13:39:09 -0400 Subject: add workaround for #612402 --- Propellor.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Propellor.hs b/Propellor.hs index 44673d10..f9f5ba83 100644 --- a/Propellor.hs +++ b/Propellor.hs @@ -25,7 +25,7 @@ getProperties hostname@"clam.kitenet.net" = -- Clam is a tor bridge. , Tor.isBridge -- Should come last as it reboots. - --, Apt.installed ["systemd-sysv"] `onChange` Reboot.now + , Apt.installed ["systemd-sysv"] `onChange` Reboot.now ] -- add more hosts here... --getProperties "foo" = @@ -59,4 +59,8 @@ cleanCloudAtCost hostname = propertyList "cloudatcost cleanup" , Apt.removed ["exim4"] `onChange` Apt.autoRemove , Hostname.set hostname , Ssh.uniqueHostKeys + -- Work around for #612402 + , "/etc/default/grub" `File.containsLine` "GRUB_DISABLE_LINUX_UUID=true" + `onChange` cmdProperty "update-grub" [] + `onChange` cmdProperty "update-initramfs" [Param "-u"] ] -- cgit v1.2.3