WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] xe-edit-bootloader: support grub2 paths

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] xe-edit-bootloader: support grub2 paths
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Wed, 12 May 2010 09:05:33 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Wed, 12 May 2010 01:05:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
(and fix a typo while I'm here)

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 4bde1604fc17 -r ca7b0575ff21 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"

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] xe-edit-bootloader: support grub2 paths, Ian Campbell <=