diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-14 14:24:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-14 14:24:09 +0000 |
| commit | 96573c5c3fa4a619819e808c4f8e7a8996cf7fe6 (patch) | |
| tree | bfb63f8c4d25632a90cb3b58b69c137511656eea /interface-definitions/system_console.xml.in | |
| parent | 73f743d176f96affceab004c92d19b561f71a24e (diff) | |
| parent | 35db941bcf30f3fac5b1358aa1124f34f9808950 (diff) | |
| download | vyos-1x-96573c5c3fa4a619819e808c4f8e7a8996cf7fe6.tar.gz vyos-1x-96573c5c3fa4a619819e808c4f8e7a8996cf7fe6.zip | |
Merge pull request #5092 from c-po/kernel-serial-activation
serial: T8375: use boot activation script to define a serial console on the CLI
Diffstat (limited to 'interface-definitions/system_console.xml.in')
| -rw-r--r-- | interface-definitions/system_console.xml.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/interface-definitions/system_console.xml.in b/interface-definitions/system_console.xml.in index 78df0a6af..8ae98291e 100644 --- a/interface-definitions/system_console.xml.in +++ b/interface-definitions/system_console.xml.in @@ -12,12 +12,16 @@ <properties> <help>Serial console device name</help> <completionHelp> - <script>ls -1 /dev | grep -e ttyS -e hvc</script> + <script>ls -1 /dev | grep -e ttyS -e ttyAMA -e hvc</script> <script>if [ -d /dev/serial/by-bus ]; then ls -1 /dev/serial/by-bus; fi</script> </completionHelp> <valueHelp> <format>ttySN</format> - <description>TTY device name, regular serial port</description> + <description>TTY device name, ttyS based</description> + </valueHelp> + <valueHelp> + <format>ttyAMAN</format> + <description>TTY device name, ttyAMA based</description> </valueHelp> <valueHelp> <format>usbNbXpY</format> @@ -28,10 +32,16 @@ <description>Xen console</description> </valueHelp> <constraint> - <regex>(ttyS[0-9]+|ttyAMA[0-9]+|hvc[0-9]+|usb[0-9]+b.*)</regex> + <regex>(ttyS[0-9]+|ttyAMA[0-9]+|hvc[0-9]+|usb[0-9]+b.*)</regex> </constraint> </properties> <children> + <leafNode name="kernel"> + <properties> + <help>Use the console as an output for kernel messages</help> + <valueless/> + </properties> + </leafNode> <leafNode name="speed"> <properties> <help>Console baud rate</help> |
