summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-06-06 22:23:36 -0400
committerJoey Hess2014-06-06 22:23:36 -0400
commit0840c70d8b384aa326a129c9e65d31fe0ebca2eb (patch)
tree2a676bce7ca12c2faec742544e123e13242d3c5c /config-joey.hs
parentc538426b56e7915cc0a1f00388baa31c9e88dd36 (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 236af544..c08eadaf 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -177,6 +177,7 @@ hosts = -- (o) `
-- PV-grub chaining
-- http://notes.pault.ag/linode-pv-grub-chainning/
+ -- (Adapted to use xvda1/hd0,0 instead of xvda/hd0)
& "/boot/grub/menu.lst" `File.hasContent`
[ "default 1"
, "timeout 30"
@@ -187,9 +188,9 @@ hosts = -- (o) `
, "boot"
]
& "/boot/load.cf" `File.hasContent`
- [ "configfile (xen/xvda)/boot/grub/grub.cfg" ]
+ [ "configfile (xen/xvda1)/boot/grub/grub.cfg" ]
& Apt.installed ["grub-xen"]
- & flagFile (scriptProperty ["grub-mkimage --prefix '(xen/xvda)/boot/grub' -c /boot/load.cf -O x86_64-xen /usr/lib/grub/x86_64-xen/*.mod > /boot/xen-shim"]) "/boot/xen-shim"
+ & flagFile (scriptProperty ["update-grub; grub-mkimage --prefix '(xen/xvda1)/boot/grub' -c /boot/load.cf -O x86_64-xen /usr/lib/grub/x86_64-xen/*.mod > /boot/xen-shim"]) "/boot/xen-shim"
& alias "eubackup.kitenet.net"
& Apt.installed ["obnam", "sshfs", "rsync"]