From 255541f16db12d5295cb81287021231096a42ab6 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 25 Jan 2010 15:42:48 -0800 Subject: Bugfix 5238: Prevent the running image from being deleted In order to prevent the running image from being deleted, we now get the image name of the running system from the kernel boot path given by /proc/cmdline. Since the menu of names of images to delete comes from the grub config file, this is guranteed to exactly match the grub entry that was used to boot. Also fix the help text for "delete system image" command. --- templates/delete/system/image/node.tag/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/delete/system/image/node.tag/node.def b/templates/delete/system/image/node.tag/node.def index 2c26bf4..403bd80 100644 --- a/templates/delete/system/image/node.tag/node.def +++ b/templates/delete/system/image/node.tag/node.def @@ -1,4 +1,4 @@ -help: Default boot image name +help: Name of image image to delete allowed: local -a images ; -- cgit v1.2.3