Skip to content

Commit 0e1e104

Browse files
author
Aaron Davis
committed
Match default file list to pygrub.
Expand default grub file list to match options found in Pygrub. Signed-off-by: Aaron Davis <[email protected]>
1 parent af976e0 commit 0e1e104

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/xe-edit-bootloader

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ XE="@BINDIR@/xe"
1515

1616
device_number=
1717
grub_conf=
18-
default_file_list="/boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.cfg /grub/grub.cfg"
18+
default_file_list="/boot/grub/grub.cfg /grub/grub.cfg /boot/grub2/grub.cfg /grub2/grub.cfg"
19+
default_file_list="$default_file_list /boot/isolinux/isolinux.cfg /boot/extlinux/extlinux.conf /boot/extlinux.conf /extlinux/extlinux.conf /extlinux.conf"
20+
default_file_list="$default_file_list /boot/grub/menu.lst /boot/grub/grub.conf /grub/menu.lst"
1921

2022
function usage {
2123
echo "Usage: $0 [-u <VM UUID>] [-n <VM name>]"

0 commit comments

Comments
 (0)