<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/activation-scripts/05-serial_console.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-04-26T17:38:17+00:00</updated>
<entry>
<title>utils: T8541: add write-config-file-value helper</title>
<updated>2026-04-26T17:38:17+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-26T17:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e5c61bdfef7a060120625ff50e302923753b2ef3'/>
<id>urn:sha1:e5c61bdfef7a060120625ff50e302923753b2ef3</id>
<content type='text'>
Introduce src/helpers/write-config-file-value.py to patch a saved config.boot
from scripts by writing a quoted CLI path with an optional value (omit --value
to create a valueless node).

Extend vyos.utils.config.write_saved_value() to safely update saved configs:
create missing parent nodes before tagging (ConfigTree.set_tag requires nodes
to exist) and then write the requested value/valueless leaf back to disk.

Remove the legacy serial console activation script which is now replaced by the
helper-based approach. The helper is run once during ISO Image assembly and will
inject the approprate serial console defintiions into config.boot.default.
</content>
</entry>
<entry>
<title>serial: T8375: add CLI option to explicitly set kernel console</title>
<updated>2026-04-09T18:54:06+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-04-02T05:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=35db941bcf30f3fac5b1358aa1124f34f9808950'/>
<id>urn:sha1:35db941bcf30f3fac5b1358aa1124f34f9808950</id>
<content type='text'>
Previously, VyOS hardcoded the kernel boot log console to either ttyS0 or
tty0, with no post-install CLI method to change it (manual GRUB edits
were required).

This commit adds a new CLI node:
  system console device &lt;name&gt; kernel

When set, the selected serial console is used as the kernel boot console.
When removed, the kernel boot console falls back to tty0.
</content>
</entry>
<entry>
<title>serial: T8375: use boot activation script to define a serial console on the CLI</title>
<updated>2026-04-09T18:54:06+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-03-31T13:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=51922535b79529d603c3b7d52cde9da54c069d42'/>
<id>urn:sha1:51922535b79529d603c3b7d52cde9da54c069d42</id>
<content type='text'>
Required during first-boot of a system. We have images form amd64 and arm64
CPUs which also tend to have different serial interfaces (ttyS vs. ttyAMA).

The images which are installed have the correct serial setting for GRUB (ttyS0
or ttyAMA0) and the activation script will probe the Kernel command-line. If a
serial interface is defined, we will include it in the VyOS CLI configuration.
</content>
</entry>
</feed>
