diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 13:39:09 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 13:39:09 -0400 |
| commit | 0ddf4f850d23e66fa087bebd30545acb3a91b8a8 (patch) | |
| tree | e92866a56dc356bfac6fe81ba8b3a6e5653d8759 | |
| parent | 8e7b296e820e7513c7846ceeb3fbd87d60bc95f4 (diff) | |
add workaround for #612402
| -rw-r--r-- | Propellor.hs | 6 |
1 files changed, 5 insertions, 1 deletions
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"] ] |
