From 3f48bba8aed7e3fecf61af34fab8f8e49cca9646 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 5 Apr 2009 17:03:00 +0200 Subject: [PATCH] Do not set grub post inst/rm hooks until we have the first kernel there --- input/howto/install-kvm.creole | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/input/howto/install-kvm.creole b/input/howto/install-kvm.creole index 5dcfbb4..7558a6c 100644 --- a/input/howto/install-kvm.creole +++ b/input/howto/install-kvm.creole @@ -127,10 +127,12 @@ EOF do_symlinks = yes link_in_boot = yes do_initrd = yes +EOF + chroot . apt-get install linux-image-2.6-amd64 && + cat >> etc/kernel-img.conf << EOF postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub EOF - chroot . apt-get install linux-image-2.6-amd64 }}} -- 2.20.1