ec8de374ceb813c27e9f6bb07fb63aa8f7c28965
[dragonfly.git] / nrelease / installer / etc / defaults / pfi.conf
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.
5
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.
12
13 pfi_rc_actions=""
14
15 # Determines which installer frontend to use.  Defaults to "curses";
16 # other legal options are "cgi" and "none".
17
18 pfi_frontend="curses"
19
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.
23
24 if [ -f /usr/sbin/dfuibe_installer ]; then
25    pfi_backend="/usr/sbin/dfuibe_installer"
26 else
27    pfi_backend="/usr/pkg/sbin/dfuibe_installer"
28 fi   
29
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.
34
35 pfi_curses_escdelay="150"
36
37 # A password to set as the root password on the LiveCD, if any.
38
39 pfi_set_root_password=""
40
41 # Control corresponding sshd options.  To make sure sshd restarts with
42 # these options, add "sshd" to pfi_rc_actions.
43
44 pfi_sshd_permit_root_login="NO"
45 pfi_sshd_permit_empty_passwords="NO"
46
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
49 # is mounted on /mnt.
50
51 pfi_script=""
52
53 # A program to run before the installer.  It is assumed to reside on
54 # the LiveCD; /mnt is not mounted.
55
56 pfi_run=""
57
58 # What transport layer the DFUI in the installer should use.  Valid
59 # values are currently "caps", "npipe", and "tcp".
60
61 pfi_dfui_transport="tcp"
62
63 # User to automatically log in as, or "NONE".
64
65 pfi_autologin="NONE"
66
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.
70
71 pfi_shutdown_command="shutdown -h now"
72
73 #######################################################################
74 # EXAMPLES
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.
82
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.
87
88 # EXAMPLE 1:
89 # Boot the installer headless, configure the network interface dc0,
90 # and start the CGI frontend.
91 #
92 # ifconfig_dc0="DHCP"
93 # pfi_rc_actions="netif dhclient"
94 # pfi_frontend="cgi"
95 # pfi_autologin="installer"
96 # pfi_shutdown_command="shutdown -r now"
97
98 # EXAMPLE 2:
99 # Boot the installer headless, configure the network interface rl0,
100 # and allow ssh'ing into the box as root with the password "sekrit".
101 #
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"
109
110 # EXAMPLE 3:
111 # Use a custom backend.
112 #
113 # pfi_backend="/usr/pkg/sbin/my_custom_backend"