[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931310: network-console: It isn't possible to preseed network-console/login



Package: network-console
Severity: normal
Tags: d-i

Answering network-console/login causes network-console to exit
immediately upon login.

Steps to reproduce:
1. Include the following in a preseed.cfg:

    d-i anna/choose_modules string network-console
    d-i network-console/login string Start installer
2. Boot the installation image
3. SSH to installer@host
4. See that there's no window #1

Cause:
The cause is, for a reason that I do not understand, the following line in
`/bin/network-console-menu`:

    db_input critical $TEMPLATE_ROOT/login

Workaround:
Removing this line solves the problem when the question is already
answered, although it probably doesn't work when it isn't.

Expected outcome:
Answering the question would start installation immediately after login,
without the need for the workaround.

This is important to me, because the network console in my case is used
only to monitor progress, and not for any interaction. Hence, having to
press Enter to start installation prevents me from fully automating the
installation process.

-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: