]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/sysinstall/install.cfg
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.sbin / sysinstall / install.cfg
1 # This is a sample installation configuration file for my test machine,
2 # crate.cdrom.com.
3 # It is included here merely as a sort-of-documented example.
4 #
5 # $FreeBSD$
6
7 # Turn on extra debugging.
8 debug=yes
9
10 ################################
11 # My host specific data
12 hostname=crate.cdrom.com
13 domainname=cdrom.com
14 nameserver=204.216.27.3
15 defaultrouter=204.216.27.228
16 ipaddr=204.216.27.230
17 netmask=255.255.255.240
18 ################################
19
20 # Log to a remote syslogd server
21 syslogdServer=10.0.1.1
22
23 ################################
24 # Which installation device to use - ftp is pointed directly at my local
25 # machine and the installation device is my WD8013 ethernet interface.
26 # netDev can be set to ANY or a comma-delimited list of interfaces.
27 _ftpPath=ftp://time.cdrom.com/pub
28 netDev=ed0
29 mediaSetFTP
30 ################################
31
32 ################################
33 # Select which distributions we want.
34 dists=base doc manpages info src sbase ssys kernels GENERIC
35 distSetCustom
36 ################################
37
38 ################################
39 # Now set the parameters for the partition editor on ad0.  Set to use the
40 # disk exclusively (could also be "all" to use the whole disk but
41 # respecting the MBR or "free" to use only unallocated space for FreeBSD). 
42 disk=ad0
43 partition=exclusive
44 diskPartitionEditor
45
46 # Uncomment this instead to use only the free space and install boot manager.
47 #partition=free
48 #bootManager=booteasy
49 #diskPartitionEditor
50 ################################
51
52 ################################
53
54 # Disk partitioning.
55 # All sizes are expressed in 512 byte blocks!
56
57 # A 512MB root partition
58 ad0s1-1=ufs 1048576 /
59 # And a 512MB swap partition
60 ad0s1-2=swap 1048576 none
61 # Followed by a /usr partition using all remaining space (size 0 = free space)
62 # and with softupdates enabled (non-zero arg following mountpoint).
63 ad0s1-3=ufs 0 /usr 1
64 # Let's do it!
65 diskLabelEditor
66
67 ################################
68
69 ################################
70 # Now partition the 2nd disk with a 1GB /var and /usr/src using the
71 # remainder of the disk.
72 disk=ad1
73 partition=exclusive
74 diskPartitionEditor
75
76 ad1s1-1=ufs 2097152 /var
77 ad1s1-2=ufs 0 /usr/src
78 diskLabelEditor
79 ################################
80
81 ################################
82 # And the 3rd, adding a second 512MB of swap and the rest of the disk
83 # for /tmp.
84 disk=da0
85 partition=exclusive
86 diskPartitionEditor
87
88 da0s1-1=swap 1048576 none
89 da0s1-2=ufs 0 /tmp
90 diskLabelEditor
91 ################################
92
93
94 # OK, everything is set.  Do it!
95 installCommit
96
97 # Install some packages at the end.
98 package=bash-3.1.17
99 packageAdd
100 package=ncftp-3.2.0
101 packageAdd