Bug#221602: grub-installer: Should enable serial console on serial line installs
Quoting Petter Reinholdtsen (email@example.com):
> Here are some suggestions for debconf templates to use to store info
> on the console type:
Rewrite proposal according to general style used in d-i and DTSG (now
linked on the Developer's Corner) aka Debconf Templates Style Guide.
Description: Should frame buffer be enabled at boot for the console?
Description: Console type:
Please enter the type of the console which will be used during the
installation. This value is used to set the environment variable TERM_TYPE.
The "framebuffer" choice is meant for machines with some video
hardware and a keyboard. The "serial" choice may be used for systems
without console hardware. Other choices such as "telnet" or "ssh"
may be used to avoid the need for serial cables.
BTW, why not a Select template here ? The list of choices seems
Description: Terminal protocol:
Please enter the protocol type for the console. This value is used to
set the environment variable TERM.
Some commonly used protocols are:
dumb - no protocol, ASCII only
vt100 - VT100-compatible terminal
linux - Linux virtual console
Here also, a Select type may be better?
Description: Serial console device name:
Please enter the name of the device (in /dev/) for the serial console.
Description: Serial console speed:
Please enter the speed of the serial console, in bits per second (bps).
Description: Databits, parity and stopbits for the serial console:
Please enter the value for databits (usually 7 or 8), parity (N for
no parity, O for odd parity, E for even parity) and the number of
stop bits (usually 0 or 1) for the serial console.