Reference

getty feature

What it does

A login prompt on a console.

Use it

Import it from (vessel system features getty). This part of a system configuration uses it:

Example: feature-getty-example

(import (vessel system)
        (vessel system features getty))

;; Move the login prompt from the serial console to the first virtual
;; console on the screen.
(system-configuration
  features:
    (modify-features %base-features
      (getty-feature tty: "tty1")))

Verified

A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.

Options

Pass these keyword fields directly to the feature type. The optional name: keyword sets the instance name; a copy keeps it unless changed.

Option

Default

Type

Description

tty

"ttyS0"

not available

not available

What it adds

Its declared extensions target these feature types:

What it receives

Nothing. Other feature types don't send it items.

Used in

No page refers to it yet.

Created with Sigil