summaryrefslogtreecommitdiff
path: root/scripts/rename-image.pl
AgeCommit message (Collapse)Author
2011-11-09cleanup rename-imageStephen Hemminger
1. Get rid of perl critic warnings about use of bare file handles and open 2. Use perl rather than system() to copy and move files and check for errors. 3. Use perl rather than system() to access syslog.
2011-10-21Bugfix 7502: Make "delete system image" work correctly on XenBob Gilligan
Also, improved detection of currently running image in the "rename system image" command.
2011-10-19Bugfix 7502: Make "rename system image" work correctly on Xen.Bob Gilligan
2010-11-21Bugfix 6101: Add syslog record when a system image is re-named.Bob Gilligan
2010-05-04Don't allow the currently running image to be renamed.Bob Gilligan
Allowing the running image to be renamed introduced several issues. It is simpler just to dis-allow it. If the user needs to re-name the running image, they can reboot on another image, re-name the first image, then boot back into it.
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.