Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
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.
|
|
The two commands are: "set system image default-boot" and
"delete system image".
|
|
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.
|
|
|
|
|
|
|
|
|
|
|