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