summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorcurrite <sll@disroot.org>2020-09-15 13:36:41 +0200
committercurrite <sll@disroot.org>2020-09-15 13:36:41 +0200
commit6782d740ea3b4660606b92b5fc5b069209e9308d (patch)
tree3bdc3d975cc66a968749f37e5a64c89d5f41df8f /docs
parent910fa1ab3ac6a26959f0a2fb4915bf3c0791f720 (diff)
downloadvyos-documentation-6782d740ea3b4660606b92b5fc5b069209e9308d.tar.gz
vyos-documentation-6782d740ea3b4660606b92b5fc5b069209e9308d.zip
image management: create system rollback subsection
Diffstat (limited to 'docs')
-rw-r--r--docs/image-mgmt.rst26
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.