summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-06-06 22:08:52 -0400
committerJoey Hess2014-06-06 22:08:52 -0400
commitc538426b56e7915cc0a1f00388baa31c9e88dd36 (patch)
tree226bbc6495dc50db61b6180042ced8d5244c168f /config-joey.hs
parentd832ef93d68e3b15d71ea4cf990d94f741ca3141 (diff)
propellor spin
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index d9e23bc0..236af544 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -175,6 +175,22 @@ hosts = -- (o) `
& Ssh.hostKey SshEcdsa
& Ssh.keyImported SshRsa "joey"
+ -- PV-grub chaining
+ -- http://notes.pault.ag/linode-pv-grub-chainning/
+ & "/boot/grub/menu.lst" `File.hasContent`
+ [ "default 1"
+ , "timeout 30"
+ , ""
+ , "title grub-xen shim"
+ , "root (hd0,0)"
+ , "kernel /boot/xen-shim"
+ , "boot"
+ ]
+ & "/boot/load.cf" `File.hasContent`
+ [ "configfile (xen/xvda)/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"
+
& alias "eubackup.kitenet.net"
& Apt.installed ["obnam", "sshfs", "rsync"]
& JoeySites.githubBackup