aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub/src/pygrub
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pygrub/src/pygrub')
-rw-r--r--tools/pygrub/src/pygrub4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub
index b4b2e1023a..d77fee77d1 100644
--- a/tools/pygrub/src/pygrub
+++ b/tools/pygrub/src/pygrub
@@ -381,7 +381,9 @@ class Grub:
else:
cfg_list = map(lambda x: (x,grub.GrubConf.GrubConfigFile),
["/boot/grub/menu.lst", "/boot/grub/grub.conf",
- "/grub/menu.lst", "/grub/grub.conf"])
+ "/grub/menu.lst", "/grub/grub.conf"]) + \
+ map(lambda x: (x,grub.GrubConf.Grub2ConfigFile),
+ ["/boot/grub/grub.cfg"])
if not fs:
# set the config file and parse it