]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - usr.sbin/sysinstall/install.cfg
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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 ################################
21 # Which installation device to use - ftp is pointed directly at my local
22 # machine and the installation device is my WD8013 ethernet interface.
23 _ftpPath=ftp://time.cdrom.com/pub
24 netDev=ed0
25 mediaSetFTP
26 ################################
27
28 ################################
29 # Select which distributions we want.
30 dists=base doc manpages info src sbase ssys kernels GENERIC
31 distSetCustom
32 ################################
33
34 ################################
35 # Now set the parameters for the partition editor on ad0.  Set to use the
36 # disk exclusively (could also be "all" to use the whole disk but
37 # respecting the MBR or "free" to use only unallocated space for FreeBSD). 
38 disk=ad0
39 partition=exclusive
40 diskPartitionEditor
41
42 # Uncomment this instead to use only the free space and install boot manager.
43 #partition=free
44 #bootManager=booteasy
45 #diskPartitionEditor
46 ################################
47
48 ################################
49
50 # Disk partitioning.
51 # All sizes are expressed in 512 byte blocks!
52
53 # A 512MB root partition
54 ad0s1-1=ufs 1048576 /
55 # And a 512MB swap partition
56 ad0s1-2=swap 1048576 none
57 # Followed by a /usr partition using all remaining space (size 0 = free space)
58 # and with softupdates enabled (non-zero arg following mountpoint).
59 ad0s1-3=ufs 0 /usr 1
60 # Let's do it!
61 diskLabelEditor
62
63 ################################
64
65 ################################
66 # Now partition the 2nd disk with a 1GB /var and /usr/src using the
67 # remainder of the disk.
68 disk=ad1
69 partition=exclusive
70 diskPartitionEditor
71
72 ad1s1-1=ufs 2097152 /var
73 ad1s1-2=ufs 0 /usr/src
74 diskLabelEditor
75 ################################
76
77 ################################
78 # And the 3rd, adding a second 512MB of swap and the rest of the disk
79 # for /tmp.
80 disk=da0
81 partition=exclusive
82 diskPartitionEditor
83
84 da0s1-1=swap 1048576 none
85 da0s1-2=ufs 0 /tmp
86 diskLabelEditor
87 ################################
88
89
90 # OK, everything is set.  Do it!
91 installCommit
92
93 # Install some packages at the end.
94 package=bash-3.1.17
95 packageAdd
96 package=ncftp-3.2.0
97 packageAdd