]> xenbits.xensource.com Git - xcp/xen-api.git/commit
xe-edit-bootloader: support grub2 paths
authorIan Campbell <ian.campbell@citrix.com>
Fri, 18 Jun 2010 12:38:26 +0000 (13:38 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 18 Jun 2010 12:38:26 +0000 (13:38 +0100)
commit7f6f1fd40ad6022078a159464278fc043025c17f
tree1112698f84e81aed04f1aeeb0d37b372bc0b2c44
parent3ab440ef31109f035b7d92f7c5c04b65abd9fb92
xe-edit-bootloader: support grub2 paths

(and fix a typo while I'm here)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
diff -r 4bde1604fc17 scripts/xe-edit-bootloader--- a/scripts/xe-edit-bootloader Thu Apr 29 10:22:35 2010 +0100
+++ b/scripts/xe-edit-bootloader Wed May 12 09:04:21 2010 +0100
@@ -15,10 +15,10 @@

 device_number=
 grub_conf=
-default_file_list="/boot/grub/menu.lst /grub/menu.lst"
+default_file_list="/boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.cfg /grub/grub.cfg"

 function usage {
-    echo "Usage: $0 [-u <VM UUID>] [-n <VM name]"
+    echo "Usage: $0 [-u <VM UUID>] [-n <VM name>]"
     echo "    [-p <partition number>] [-f <filename>]"
     echo
     echo " -u: UUID of the VM boot disk you wish to edit"