summaryrefslogtreecommitdiff
path: root/scripts/vyatta-boot-image.pl
AgeCommit message (Collapse)Author
2010-04-30Added an op-mode command to rename a system image.Bob Gilligan
Also added an op-mode command to display the Vyatta version strings along with the names of the installed images. This is useful if you rename an image from its default name, which is its version string.
2010-04-26Bugfix 5549: Use proper prompt string when deleting image.Bob Gilligan
2010-02-02Bugfix 2539: Validate input when user specifies image name.Bob Gilligan
2010-01-25Bugfix 5238: Prevent the running image from being deletedBob Gilligan
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.
2010-01-11Add image name completion for two system image commands.Bob Gilligan
The two commands are: "set system image default-boot" and "delete system image".
2010-01-06Handle various conditions and cleanup.Bob Gilligan
Added code to handle deletion of the default boot image. This now succeeds so long as the default boot image is not the running image. The running image still can not be deleted. Correctly handle case where image being deleted resides before the default boot image in the grub config file. Previously this would either switch the default boot image to the one after it, or leave the default pointing to a non-existant entry. Added the Vyatta license. Re-organized and added comments to make the code easier to maintain.
2010-01-05Allow deletion of disk-based non-image installation.Bob Gilligan
2009-12-23Fix deletion of image from disk-based image.Bob Gilligan
2009-12-23Allow displaying and switching to disk-based installations.Bob Gilligan
2009-11-09add op command for image removalAn-Cheng Huang
2009-11-03add op commands for installed imagesAn-Cheng Huang