From c538426b56e7915cc0a1f00388baa31c9e88dd36 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 6 Jun 2014 22:08:52 -0400 Subject: propellor spin --- config-joey.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config-joey.hs') 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 -- cgit v1.2.3