Add various improvements to the "pre-flight installer":
authorChris Pressey <cpressey@dragonflybsd.org>
Thu, 11 Nov 2004 20:30:05 +0000 (20:30 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Thu, 11 Nov 2004 20:30:05 +0000 (20:30 +0000)
commit4971c4da3ac1934d5c50e22ae23837c0a07bd631
treefe584e343a1b6eeff9535d656efff83624470a21
parent21aa02d05522e03482025877086c1c063308d2f2
Add various improvements to the "pre-flight installer":

- Add pfi_autologin variable.  If set to a valid username, the
  installation medium boot process will automatically log in as
  that user.  Defaults to "NONE".

- Add pfi_shutdown_command variable.  This can be set to the
  desired command used to shut down the system when the installer
  finishes doing its thing.  Defaults to "shutdown -h now".

- Launch thttpd on boot if pfi_frontend="cgi".

  In combination, these three settings allow completely
  headless (no monitor, no keyboard) operation of the installer
  independent of a serial connection (i.e. over the network.)

- Have the pfi_sshd_permit_root_login variable honour
  "without-password" and "forced-commands-only" settings. [1]

[1] Submitted by: geekgod
nrelease/installer/etc/defaults/pfi.conf
nrelease/installer/etc/rc.d/pfi
nrelease/installer/usr/local/bin/installer