diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-01-25 15:42:48 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-01-25 15:42:48 -0800 |
commit | 255541f16db12d5295cb81287021231096a42ab6 (patch) | |
tree | ccd849a45f95721cdd403474dd32df262460299d /templates | |
parent | 232d94d3f92efdcb9f5e80ac77cfe5171b52adc9 (diff) | |
download | vyatta-op-255541f16db12d5295cb81287021231096a42ab6.tar.gz vyatta-op-255541f16db12d5295cb81287021231096a42ab6.zip |
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.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/delete/system/image/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
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 ; |