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