69ecbff7c7a9d14668bd7dd6127c4509550ab53d
[dragonfly.git] / nrelease / root / 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.9 2008/10/23 16:45:36 swildner 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/sbin/dfuibe_installer", the traditional C backend,
22 # but can be changed to start an alternate backend.
23
24 pfi_backend="/usr/sbin/dfuibe_installer"
25
26 # When using the curses frontend:
27 # Set the amount of time, in milliseconds, which must pass after
28 # the 'ESC' key is pressed, in order for it to be recognized
29 # as a plain 'ESC' keystroke, and not part of an escape code.
30
31 pfi_curses_escdelay="150"
32
33 # A password to set as the root password on the LiveCD, if any.
34
35 pfi_set_root_password=""
36
37 # Control corresponding sshd options.  To make sure sshd restarts with
38 # these options, add "sshd" to pfi_rc_actions.
39
40 pfi_sshd_permit_root_login="NO"
41 pfi_sshd_permit_empty_passwords="NO"
42
43 # An script to run before the installer.  It is assumed this script is
44 # located on the pfi media.  While it is run, the media's root directory
45 # is mounted on /mnt.
46
47 pfi_script=""
48
49 # A program to run before the installer.  It is assumed to reside on
50 # the LiveCD; /mnt is not mounted.
51
52 pfi_run=""
53
54 # What transport layer the DFUI in the installer should use.  Valid
55 # values are currently "caps", "npipe", and "tcp".
56
57 pfi_dfui_transport="tcp"
58
59 # User to automatically log in as, or "NONE".
60
61 pfi_autologin="NONE"
62
63 # Command to use to reboot.  "shutdown -h now" is typically used
64 # interactively, to give the user a chance to eject the disk, but
65 # "shutdown -r now" can be used for headless operation.
66
67 pfi_shutdown_command="shutdown -h now"
68
69 #######################################################################
70 # EXAMPLES
71 # To use one of these examples, extract it to a text file and remove the
72 # leading pound-signs.  Copy this text file to the file "/pfi.conf"
73 # on a floppy disk or USB pen drive (hereinafter referred to as "the pfi
74 # media") and have that media inserted or attached to the computer while
75 # you boot from the installer CD-ROM.  The installer will attempt to
76 # locate this file and, if found, will use the variables present within it
77 # to configure the installer boot process.
78
79 # This file has the same syntax as /etc/rc.conf, and it can contain any
80 # setting which is meaningful in /etc/rc.conf as well.  Any rc.conf
81 # setting which is given will only be obeyed, however, if the RCNG script
82 # to which that setting applies is named in pfi_rc_actions.
83
84 # EXAMPLE 1:
85 # Boot the installer headless, configure the network interface dc0,
86 # and start the CGI frontend.
87 #
88 # ifconfig_dc0="DHCP"
89 # pfi_rc_actions="netif dhclient"
90 # pfi_frontend="cgi"
91 # pfi_autologin="installer"
92 # pfi_shutdown_command="shutdown -r now"
93
94 # EXAMPLE 2:
95 # Boot the installer headless, configure the network interface rl0,
96 # and allow ssh'ing into the box as root with the password "sekrit".
97 #
98 # ifconfig_rl0="DHCP"
99 # pfi_sshd_permit_root_login="YES"
100 # pfi_set_root_password="sekrit"
101 # pfi_rc_actions="netif dhclient sshd"
102 # pfi_frontend="none"
103 # pfi_autologin="installer"
104 # pfi_shutdown_command="shutdown -r now"
105
106 # EXAMPLE 3:
107 # Boot the cd and setup a PXE/TFTP/DCHPD server environment
108 # so that clients can boot from the network and enter the installer
109 #
110 # Enable tftp and NFS services with pxeboot and a kernel available via
111 # tftp and the CD's root mount available via NFS.
112 #
113 # pfi_boot_tftp_server="YES"
114 # pfi_boot_nfs_server="YES"
115 # pfi_boot_pxeserver="YES"
116 # pfi_boot_ipserver="YES"
117 # pfi_option_subnet-mask="255.255.255.0"
118 # pfi_option_routers="10.0.250.1"
119 # pfi_filename="pxeboot"
120 # pfi_ddns-update-style="none"
121 # pfi_option_domain-name="domain.com"
122 # pfi_option_broadcast-address="10.0.250.255"
123 # pfi_option_domain-name-servers="192.168.64.3"
124 # pfi_server-name="DHCPServer"
125 # pfi_server-identifier="10.0.250.50"
126 # pfi_default-lease-time="7200"
127 # pfi_max-lease-time="7200"
128 # pfi_subnet="10.0.250.0 netmask 255.255.255.0"
129 # pfi_next-server="10.0.250.50"
130 # pfi_range="10.0.250.29 10.0.250.250"
131
132 # EXAMPLE 4:
133 # Use a custom backend.
134 #
135 # pfi_backend="/usr/pkg/sbin/my_custom_backend"