updates: add system image latest

If we configure "update-check url" we can use `latest` option
to update system image.

```
add system image latest
```
This commit is contained in:
Viacheslav Hletenko 2024-01-03 13:42:54 +02:00
parent 878aa0bd85
commit 59ed69455c
2 changed files with 10 additions and 1 deletions

View File

@ -35,3 +35,5 @@ Check:
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:~$
vyos@r4:~$ add system image latest

View File

@ -10,7 +10,7 @@ for the new image to boot using the current configuration.
.. note:: Only LTS releases are PGP-signed.
.. opcmd:: add system image <url | path> [vrf name]
.. opcmd:: add system image <url | path> | [latest] [vrf name]
[username user [password pass]]
Use this command to install a new system image. You can reach the
@ -72,6 +72,13 @@ Example
OK. This image will be named: vyos-1.3-rolling-201912201452
You can use ``latest`` option. It loads the latest available Rolling release.
.. code-block:: none
vyos@vyos:~$ add system image latest
.. note:: To use the `latest` option the "system update-check url" must be configured.
.. hint:: The most up-do-date Rolling Release for AMD64 can be accessed using
the following URL: