mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Add system update-check example
Add an example of online checking for updates ``` set system update-check auto-check set system update-check url <url> ```
This commit is contained in:
parent
23fe562661
commit
fd3073eef7
@ -25,6 +25,7 @@ System
|
||||
sysctl
|
||||
task-scheduler
|
||||
time-zone
|
||||
updates
|
||||
|
||||
|
||||
.. toctree::
|
||||
|
||||
37
docs/configuration/system/updates.rst
Normal file
37
docs/configuration/system/updates.rst
Normal file
@ -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:~$
|
||||
Loading…
x
Reference in New Issue
Block a user