a0088f7bccdf4e6985a5ff0ae1894b4d622b9b42
[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.4 2005/03/03 23:17:11 cpressey Exp $
4 # Defaults for pfi.conf.
5
6 # A space-seperated 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/local/sbin/dfuibe_installer", the traditional C backend,
22 # but can be changed to start an alternate backend.
23
24 pfi_backend="/usr/local/sbin/dfuibe_installer"
25
26 # A password to set as the root password on the LiveCD, if any.
27
28 pfi_set_root_password=""
29
30 # Control corresponding sshd options.  To make sure sshd restarts with
31 # these options, add "sshd" to pfi_rc_actions.
32
33 pfi_sshd_permit_root_login="NO"
34 pfi_sshd_permit_empty_passwords="NO"
35
36 # An script to run before the installer.  It is assumed this script is
37 # located on the pfi media.  While it is run, the media's root directory
38 # is mounted on /mnt.
39
40 pfi_script=""
41
42 # A program to run before the installer.  It is assumed to reside on
43 # the LiveCD; /mnt is not mounted.
44
45 pfi_run=""
46
47 # What transport layer the DFUI in the installer should use.  Valid
48 # values are currently "caps", "npipe", and "tcp".
49
50 pfi_dfui_transport="tcp"
51
52 # User to automatically log in as, or "NONE".
53
54 pfi_autologin="NONE"
55
56 # Command to use to reboot.  "shutdown -h now" is typically used
57 # interactively, to give the user a chance to eject the disk, but
58 # "shutdown -r now" can be used for headless operation.
59
60 pfi_shutdown_command="shutdown -h now"
61
62 #######################################################################
63 # EXAMPLES
64 # To use one of these examples, extract it to a text file and remove the
65 # leading pound-signs.  Copy this text file to the file "/pfi.conf"
66 # on a floppy disk or USB pen drive (hereinafter referred to as "the pfi
67 # media") and have that media inserted or attached to the computer while
68 # you boot from the installer CD-ROM.  The installer will attempt to
69 # locate this file and, if found, will use the variables present within it
70 # to configure the installer boot process.
71
72 # This file has the same syntax as /etc/rc.conf, and it can contain any
73 # setting which is meaningful in /etc/rc.conf as well.  Any rc.conf
74 # setting which is given will only be obeyed, however, if the RCNG script
75 # to which that setting applies is named in pfi_rc_actions.
76
77 # EXAMPLE 1:
78 # Boot the installer headless, configure the network interface dc0,
79 # and start the CGI frontend.
80 #
81 # ifconfig_dc0="DHCP"
82 # pfi_rc_actions="netif dhclient"
83 # pfi_frontend="cgi"
84 # pfi_autologin="installer"
85 # pfi_shutdown_command="shutdown -r now"
86
87 # EXAMPLE 2:
88 # Boot the installer headless, configure the network interface rl0,
89 # and allow ssh'ing into the box as root with the password "sekrit".
90 #
91 # ifconfig_rl0="DHCP"
92 # pfi_sshd_permit_root_login="YES"
93 # pfi_set_root_password="sekrit"
94 # pfi_rc_actions="netif dhclient sshd"
95 # pfi_frontend="none"
96 # pfi_autologin="installer"
97 # pfi_shutdown_command="shutdown -r now"
98
99 # EXAMPLE 3:
100 # Use a custom backend.
101 #
102 # pfi_backend="/usr/local/sbin/my_custom_backend"