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