check for grub/menu.lst too
authorGuido Günther <agx@sigxcpu.org>
Tue, 23 Feb 2010 19:42:48 +0000 (20:42 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 24 Feb 2010 15:30:41 +0000 (15:30 +0000)
commitd070a017f710244908617eaa8fa147bc335aa660
tree9b3cd8ef68daf0567f54a280ca22ba4f8e7b8cc1
parent4ff21ceb2561936fc2e204f0a02e6ca8fb8fd507
check for grub/menu.lst too

On Tue, Feb 23, 2010 at 08:07:14PM +0100, Guido Günther wrote:
> On Tue, Feb 23, 2010 at 07:52:43PM +0100, Guido Günther wrote:
> > Hi,
> > attached patch makes virt-inspector find the kernels on Debian systems.
> > Since there is no /etc/grub.conf it falls back to
> > $grubpartition/grub/menu.lst.
> Patch got somehow broken. New version fortchcoming. Sorry for the noise.
Attached now. No idea where the 'if' went in the first version ;)
 -- Guido

>From d30b4946f017ff8bde9d4ff62f93c418a707d9e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Tue, 23 Feb 2010 19:50:40 +0100
Subject: [PATCH] Check for grub/menu.lst if /etc/grub.conf can't be found
perl/lib/Sys/Guestfs/Lib.pm