From nobody@FreeBSD.org Sun Aug 25 23:12:07 2002 Return-Path: Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E46A37B400 for ; Sun, 25 Aug 2002 23:12:07 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F01C43E6A for ; Sun, 25 Aug 2002 23:12:07 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7Q6C6OT039692 for ; Sun, 25 Aug 2002 23:12:06 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7Q6C6iC039691; Sun, 25 Aug 2002 23:12:06 -0700 (PDT) Message-Id: <200208260612.g7Q6C6iC039691@www.freebsd.org> Date: Sun, 25 Aug 2002 23:12:06 -0700 (PDT) From: Adi To: freebsd-gnats-submit@FreeBSD.org Subject: sysinstall in non-interactive mode prompts when only a serial console is present X-Send-Pr-Version: www-1.0 >Number: 42022 >Category: bin >Synopsis: sysinstall(8): non-interactive mode prompts when only a serial console is present >Confidential: no >Severity: non-critical >Priority: low >Responsible: randi >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 25 23:20:01 PDT 2002 >Closed-Date: >Last-Modified: Sat Jun 06 19:41:58 UTC 2009 >Originator: Adi >Release: 4-STABLE >Organization: >Environment: FreeBSD rlx5 4.6-STABLE FreeBSD 4.6-STABLE #1: Sat Aug 24 01:26:53 PDT 2002 aditya@six:/usr/obj/usr/src/sys/RLX i386 >Description: when doing a non-interactive PXE install onto a machine with just a serial console (using set console=comconsole in loader.rc) sysinstall prompts for the terminal type -- if non-interactive, it should use a default terminal type >How-To-Repeat: do a non-interactive PXE install as per Alfred Perlstein's PXE install instructions onto a machine with no video card >Fix: under 4-STABLE, /usr/src/release/sysinstall/termcap.c the prompt_term function should check if the install is non-interactive and RunningAsInit is true and in that case just use the default ANSI compatible term type -- it should be pretty simple, but I am not able to understand the way variable_get(VAR_NONINTERACTIVE) works to put in the test myself. >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->qa Responsible-Changed-By: matusita Responsible-Changed-When: Fri Sep 20 09:32:09 PDT 2002 Responsible-Changed-Why: Over to sysinstall maintainer group. http://www.freebsd.org/cgi/query-pr.cgi?pr=42022 Responsible-Changed-From-To: freebsd-bugs->randi Responsible-Changed-By: randi Responsible-Changed-When: Sat Jun 6 19:41:49 UTC 2009 Responsible-Changed-Why: Taking this. http://www.freebsd.org/cgi/query-pr.cgi?pr=42022 >Unformatted: