-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "rollback" command to "upgrade" script
This change builds on the previously added "set-bootfs" command of the "rootfs-container" script, now providing an easy way to "rollback" after booting to an upgraded rootfs container. This allows a user to easily revert an upgrade, if the upgrade is deemed unsuccessful. For example, one can run the following to perform an upgrade: $ sudo /var/dlpx-update/latest/upgrade -v not-in-place $ sudo reboot Now, after the reboot, if it's determined that the upgrade was not successful, one can run the following to rollback that prior upgrade: $ sudo /var/dlpx-update/latest/upgrade rollback $ sudo reboot At this point, the system will boot to the original root filesystem that was used prior ot the upgrade.
- Loading branch information
Prakash Surya
committed
Jan 29, 2019
1 parent
a52beac
commit c04a841
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters