diff options
author | currite <sll@disroot.org> | 2020-09-15 13:36:41 +0200 |
---|---|---|
committer | currite <sll@disroot.org> | 2020-09-15 13:36:41 +0200 |
commit | 6782d740ea3b4660606b92b5fc5b069209e9308d (patch) | |
tree | 3bdc3d975cc66a968749f37e5a64c89d5f41df8f /docs/image-mgmt.rst | |
parent | 910fa1ab3ac6a26959f0a2fb4915bf3c0791f720 (diff) | |
download | vyos-documentation-6782d740ea3b4660606b92b5fc5b069209e9308d.tar.gz vyos-documentation-6782d740ea3b4660606b92b5fc5b069209e9308d.zip |
image management: create system rollback subsection
Diffstat (limited to 'docs/image-mgmt.rst')
-rw-r--r-- | docs/image-mgmt.rst | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/image-mgmt.rst b/docs/image-mgmt.rst index 6c1b2587..143d02b2 100644 --- a/docs/image-mgmt.rst +++ b/docs/image-mgmt.rst @@ -26,7 +26,7 @@ This process allows for a system to always boot to a known working state, as the OS image is fixed and non-persistent. It also allows for multiple releases of VyOS to be installed on the same storage device. The image can be selected manually at boot if needed, but the system will otherwise boot the image -configured to be the default (:opcmd:`set system image default-boot`). +configured to be the default. .. opcmd:: show system image @@ -41,12 +41,6 @@ configured to be the default (:opcmd:`set system image default-boot`). 2: 1.2.0-rolling+201810021217 3: 1.2.0-rolling+201809252218 -.. opcmd:: set system image default-boot - - Select the default boot image which will be started on the next boot of the - System. A list of available images can be shown using the :opcmd:`show - system image` - .. opcmd:: delete system image [image-name] @@ -177,5 +171,23 @@ After reboot you might want to verify the version you are running with the :opcmd:`show version` command. +System rollback +=============== + +If you need to rollback to a previous image, you can easily do so. First +check the available images through the :opcmd:`show system image` +command and then select your image with the following command: + +.. opcmd:: set system image default-boot [image-name] + + Select the default boot image which will be started on the next boot + of the system. + +Then reboot the system. +.. note:: VyOS automatically associates the configuration to the image, + so you don't need to worry about that. Each image has a unique copy + of its configuration. +If you have access to the console, there is a another way to select +your booting image: reboot and use the GRUB menu at startup. |