summaryrefslogtreecommitdiff
path: root/docs/configuration/system/updates.rst
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-12-26 12:51:42 +0000
committerGitHub <noreply@github.com>2023-12-26 12:51:42 +0000
commite22e1586d8ba63cce4b3677c40e3b2091e766f17 (patch)
tree66f7f080d867e5356c8d0cc180cf7f4120e81661 /docs/configuration/system/updates.rst
parente5571ffdbf2660f32341ccf0eef88bd3ae4a0e49 (diff)
parent6414b4db09b54df8c3232c64143257ce9447c30b (diff)
downloadvyos-documentation-e22e1586d8ba63cce4b3677c40e3b2091e766f17.tar.gz
vyos-documentation-e22e1586d8ba63cce4b3677c40e3b2091e766f17.zip
Merge pull request #1204 from vyos/mergify/bp/sagitta/pr-1202
Add system update-check example (backport #1202)
Diffstat (limited to 'docs/configuration/system/updates.rst')
-rw-r--r--docs/configuration/system/updates.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/configuration/system/updates.rst b/docs/configuration/system/updates.rst
new file mode 100644
index 00000000..a55bfa9a
--- /dev/null
+++ b/docs/configuration/system/updates.rst
@@ -0,0 +1,37 @@
+#######
+Updates
+#######
+
+VyOS supports online checking for updates
+
+Configuration
+=============
+
+.. cfgcmd:: set system update-check auto-check
+
+ Configure auto-checking for new images
+
+
+.. cfgcmd:: set system update-check url <url>
+
+ Configure a URL that contains information about images.
+
+
+Example
+=======
+
+.. code-block:: none
+
+ set system update-check auto-check
+ set system update-check url 'https://raw.githubusercontent.com/vyos/vyos-rolling-nightly-builds/main/version.json'
+
+Check:
+
+.. code-block:: none
+
+ vyos@r4:~$ show system updates
+ Current version: 1.5-rolling-202312220023
+
+ Update available: 1.5-rolling-202312250024
+ Update URL: https://github.com/vyos/vyos-rolling-nightly-builds/releases/download/1.5-rolling-202312250024/1.5-rolling-202312250024-amd64.iso
+ vyos@r4:~$