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.8 2008/03/25 22:55:38 dave Exp $
4 # Defaults for pfi.conf.
6 # A space-separated 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/pkg/sbin/dfuibe_installer", the traditional C backend,
22 # but can be changed to start an alternate backend.
24 if [ -f /usr/sbin/dfuibe_installer ]; then
25 pfi_backend="/usr/sbin/dfuibe_installer"
27 pfi_backend="/usr/pkg/sbin/dfuibe_installer"
30 # When using the curses frontend:
31 # Set the amount of time, in milliseconds, which must pass after
32 # the 'ESC' key is pressed, in order for it to be recognized
33 # as a plain 'ESC' keystroke, and not part of an escape code.
35 pfi_curses_escdelay="150"
37 # A password to set as the root password on the LiveCD, if any.
39 pfi_set_root_password=""
41 # Control corresponding sshd options. To make sure sshd restarts with
42 # these options, add "sshd" to pfi_rc_actions.
44 pfi_sshd_permit_root_login="NO"
45 pfi_sshd_permit_empty_passwords="NO"
47 # An script to run before the installer. It is assumed this script is
48 # located on the pfi media. While it is run, the media's root directory
53 # A program to run before the installer. It is assumed to reside on
54 # the LiveCD; /mnt is not mounted.
58 # What transport layer the DFUI in the installer should use. Valid
59 # values are currently "caps", "npipe", and "tcp".
61 pfi_dfui_transport="tcp"
63 # User to automatically log in as, or "NONE".
67 # Command to use to reboot. "shutdown -h now" is typically used
68 # interactively, to give the user a chance to eject the disk, but
69 # "shutdown -r now" can be used for headless operation.
71 pfi_shutdown_command="shutdown -h now"
73 #######################################################################
75 # To use one of these examples, extract it to a text file and remove the
76 # leading pound-signs. Copy this text file to the file "/pfi.conf"
77 # on a floppy disk or USB pen drive (hereinafter referred to as "the pfi
78 # media") and have that media inserted or attached to the computer while
79 # you boot from the installer CD-ROM. The installer will attempt to
80 # locate this file and, if found, will use the variables present within it
81 # to configure the installer boot process.
83 # This file has the same syntax as /etc/rc.conf, and it can contain any
84 # setting which is meaningful in /etc/rc.conf as well. Any rc.conf
85 # setting which is given will only be obeyed, however, if the RCNG script
86 # to which that setting applies is named in pfi_rc_actions.
89 # Boot the installer headless, configure the network interface dc0,
90 # and start the CGI frontend.
93 # pfi_rc_actions="netif dhclient"
95 # pfi_autologin="installer"
96 # pfi_shutdown_command="shutdown -r now"
99 # Boot the installer headless, configure the network interface rl0,
100 # and allow ssh'ing into the box as root with the password "sekrit".
102 # ifconfig_rl0="DHCP"
103 # pfi_sshd_permit_root_login="YES"
104 # pfi_set_root_password="sekrit"
105 # pfi_rc_actions="netif dhclient sshd"
106 # pfi_frontend="none"
107 # pfi_autologin="installer"
108 # pfi_shutdown_command="shutdown -r now"
111 # Use a custom backend.
113 # pfi_backend="/usr/pkg/sbin/my_custom_backend"