<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode, branch current</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-07-10T14:09:56+00:00</updated>
<entry>
<title>Merge pull request #4582 from hedrok/T7545-fix-show-vpn-debug-peer</title>
<updated>2025-07-10T14:09:56+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2025-07-10T14:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b3681957a5120067ddb0cb9f162719e283d388e8'/>
<id>urn:sha1:b3681957a5120067ddb0cb9f162719e283d388e8</id>
<content type='text'>
ipsec: T7545: Fix show vpn debug peer</content>
</entry>
<entry>
<title>wlb: T7622: fix the op mode "run show wan-load-balance" command</title>
<updated>2025-07-09T19:04:12+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-07-09T19:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6b1a5d4f844f0ede09b1e4823e0f0620476fdcd9'/>
<id>urn:sha1:6b1a5d4f844f0ede09b1e4823e0f0620476fdcd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ipsec: T7545: Fix show vpn debug peer</title>
<updated>2025-07-08T14:26:38+00:00</updated>
<author>
<name>Kyrylo Yatsenko</name>
<email>hedrok@gmail.com</email>
</author>
<published>2025-06-27T07:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=12f956e66f6d557425a0071b384ccafa7e1e9a97'/>
<id>urn:sha1:12f956e66f6d557425a0071b384ccafa7e1e9a97</id>
<content type='text'>
Fix re for searching of peers in /etc/swanctl/swanctl.conf

```
search = rf'^[\s]*(peer_{peer}_(tunnel_[\d]+|vti)).*'
```

Changed to

```
search = rf'^[\s]*({peer}-(tunnel-[\d]+|vti))[\s]*{{'
```

Added message

```
print(f'\n### {command} ###')
```

so that output is not empty when `/usr/sbin/ipsec statusall`
shows nothing
</content>
</entry>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>wan-load-balancing: T7567: Write health-status on first run</title>
<updated>2025-06-24T16:03:14+00:00</updated>
<author>
<name>Abhishek Safui</name>
<email>abhishek.safui@cdot.in</email>
</author>
<published>2025-06-24T16:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5ef422734a5c4f8c211c0fa10a3c0fced9e3f8f0'/>
<id>urn:sha1:5ef422734a5c4f8c211c0fa10a3c0fced9e3f8f0</id>
<content type='text'>
Write the health-status on the very first run of the script,
without waiting for any change in status, to show the current
state to the show command. In show command use the same api
to get the now timestamp as used in state change timestamp.
</content>
</entry>
<entry>
<title>pki: T7574: add optional force argument to renew certbot-issued certificates</title>
<updated>2025-06-23T20:45:32+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-23T20:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=74941af39dc59c42d8ec6749169ee1c1663b78b7'/>
<id>urn:sha1:74941af39dc59c42d8ec6749169ee1c1663b78b7</id>
<content type='text'>
Certbot renewal command in op-mode "renew certbot" only works if any of the
certificates is up for renewal. There is no CLI option to forcefully renew a
certificate. This is about adding a force option to the CLI and with this
addition move the entire certbot renew handling to new-style op-mode commands.

vyos@vyos:~$ renew certbot force
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /config/auth/letsencrypt/renewal/vyos.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Renewing an existing certificate for vyos.io

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded:
  /config/auth/letsencrypt/live/vyos/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hook 'post-hook' ran with output:
 Updating certificates in /etc/ssl/certs...
 0 added, 0 removed; done.
 Running hooks in /etc/ca-certificates/update.d...
 done.
</content>
</entry>
<entry>
<title>installer: T6144: require at least 2GB of free space for image upgrade</title>
<updated>2025-06-20T12:50:45+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-06-20T12:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0ea9b27c348130960dbb3185cd5e60a10e65e125'/>
<id>urn:sha1:0ea9b27c348130960dbb3185cd5e60a10e65e125</id>
<content type='text'>
</content>
</entry>
<entry>
<title>container: T7473: fix show/monitor container log failed when log-driver is journald</title>
<updated>2025-06-17T15:02:07+00:00</updated>
<author>
<name>opswill</name>
<email>will@nixops.org</email>
</author>
<published>2025-06-17T15:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2'/>
<id>urn:sha1:5ae3924234f9ffaa2ffda7e9fc52c2b3518a85e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: T7527: move assorted embedded shel snippets to script files</title>
<updated>2025-06-10T13:57:14+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-06-09T18:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1d3242006cca9d78009667f06ad4d73b1bb2ef54'/>
<id>urn:sha1:1d3242006cca9d78009667f06ad4d73b1bb2ef54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1771: automatic reboot of system into previous image</title>
<updated>2025-05-17T14:05:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-04-18T17:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d7ff642a389e47a4f38fa7c2fabbe71fbbb05f21'/>
<id>urn:sha1:d7ff642a389e47a4f38fa7c2fabbe71fbbb05f21</id>
<content type='text'>
If any part of the system boot fails, we set overall_status=1 in the vyos-router
startup script. When an error during the image upgrade is detected, the system
will automatically revert the default boot image to the previously used version,
if the CLI option "system option reboot-on-upgrade-failure" is set.

The user is informed via console messages:

  Booting failed, reverting to previous image
  Automatic reboot in 5 minutes
  Use "reboot cancel" to cancel

The user has time to log in and run reboot cancel to remain in the faulty image
for troubleshooting. Reboot timeout is defined by CLI: "system option
reboot-on-upgrade-failure"

Once the system boots into the previous image, the MOTD will display a
persistent warning message - cleared during next reboot.

  WARNING: Image update to "VyOS 1.5.xxxx" failed
  Please check the logs:
  /usr/lib/live/mount/persistence/boot/NAME/rw/var/log
  Message is cleared on next reboot!

Upgrade failure can be synthetically injected by booting with Kernel command
line option: vyos-fail-migration
</content>
</entry>
</feed>
