1 #######################################################################
2 # $Id: pfi.conf,v 1.7 2005/02/24 23:23:15 cpressey Exp $
3 # $DragonFly: src/nrelease/installer/etc/defaults/pfi.conf,v 1.4 2005/03/03 23:17:11 cpressey Exp $
4 # Defaults for pfi.conf.
6 # A space-seperated list of what services to restart when we are done
7 # changing options. The services are the base names of RCNG scripts
8 # (i.e. without the "/etc/rc.d/" prefix.) Note that these must be
9 # given explicitly in the same order they would normally be started
10 # by rcorder during RCNG (e.g. "netif dhclient sshd"); they are not
11 # automatically ordered by their dependencies here.
15 # Determines which installer frontend to use. Defaults to "curses";
16 # other legal options are "cgi" and "none".
20 # Determines which installer backend to use. Typically this is
21 # "/usr/local/sbin/dfuibe_installer", the traditional C backend,
22 # but can be changed to start an alternate backend.
24 pfi_backend="/usr/local/sbin/dfuibe_installer"
26 # A password to set as the root password on the LiveCD, if any.
28 pfi_set_root_password=""
30 # Control corresponding sshd options. To make sure sshd restarts with
31 # these options, add "sshd" to pfi_rc_actions.
33 pfi_sshd_permit_root_login="NO"
34 pfi_sshd_permit_empty_passwords="NO"
36 # An script to run before the installer. It is assumed this script is
37 # located on the pfi media. While it is run, the media's root directory
42 # A program to run before the installer. It is assumed to reside on
43 # the LiveCD; /mnt is not mounted.
47 # What transport layer the DFUI in the installer should use. Valid
48 # values are currently "caps", "npipe", and "tcp".
50 pfi_dfui_transport="tcp"
52 # User to automatically log in as, or "NONE".
56 # Command to use to reboot. "shutdown -h now" is typically used
57 # interactively, to give the user a chance to eject the disk, but
58 # "shutdown -r now" can be used for headless operation.
60 pfi_shutdown_command="shutdown -h now"
62 #######################################################################
64 # To use one of these examples, extract it to a text file and remove the
65 # leading pound-signs. Copy this text file to the file "/pfi.conf"
66 # on a floppy disk or USB pen drive (hereinafter referred to as "the pfi
67 # media") and have that media inserted or attached to the computer while
68 # you boot from the installer CD-ROM. The installer will attempt to
69 # locate this file and, if found, will use the variables present within it
70 # to configure the installer boot process.
72 # This file has the same syntax as /etc/rc.conf, and it can contain any
73 # setting which is meaningful in /etc/rc.conf as well. Any rc.conf
74 # setting which is given will only be obeyed, however, if the RCNG script
75 # to which that setting applies is named in pfi_rc_actions.
78 # Boot the installer headless, configure the network interface dc0,
79 # and start the CGI frontend.
82 # pfi_rc_actions="netif dhclient"
84 # pfi_autologin="installer"
85 # pfi_shutdown_command="shutdown -r now"
88 # Boot the installer headless, configure the network interface rl0,
89 # and allow ssh'ing into the box as root with the password "sekrit".
92 # pfi_sshd_permit_root_login="YES"
93 # pfi_set_root_password="sekrit"
94 # pfi_rc_actions="netif dhclient sshd"
96 # pfi_autologin="installer"
97 # pfi_shutdown_command="shutdown -r now"
100 # Use a custom backend.
102 # pfi_backend="/usr/local/sbin/my_custom_backend"