summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.cfg
blob: fd8e520b806d66343aca722041ee34b3362df917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# This is the installation configuration file for my test machine,
# crate.cdrom.com.
# It is included here merely as a sort-of-documented example.
#
# $FreeBSD$

# Turn on extra debugging.
debug=yes

################################
# My host specific data
hostname=crate.cdrom.com
domainname=cdrom.com
nameserver=204.216.27.3
defaultrouter=204.216.27.228
ipaddr=204.216.27.230
netmask=255.255.255.240
################################

################################
# Which installation device to use - ftp is pointed directly at my local
# machine and the installation device is my WD8013 ethernet interface.
ftp=ftp://time.cdrom.com/pub
netDev=ed0
mediaSetFTP
################################

################################
# Select which distributions we want.
dists=bin doc manpages info compat21 des src sbase ssys
distSetCustom
################################

################################
# Now set the parameters for the partition editor on ad0.  Set to use the
# disk exclusively (could also be "all" to use the whole disk but
# respecting the MBR or "free" to use only unallocated space for FreeBSD). 
disk=ad0
partition=exclusive
diskPartitionEditor

# Uncomment this instead to use only the free space and install boot manager.
#partition=free
#bootManager=booteasy
#diskPartitionEditor
################################

################################

# This assumes that slice 1 is a DOS partition and mounts it as /dos,
# which is the case on my laptop.
#
# All sizes are expressed in 512 byte blocks!

# A 20MB root partition
ad0s1-1=ufs 40960 /
# And a 20MB swap partition
ad0s1-2=swap 40960 none
# Followed by a /usr partition using all remaining space (size 0 = free space)
# and with softupdates enabled (non-zero arg following mountpoint).
ad0s1-3=ufs 0 /usr 1
# Let's do it!
diskLabelEditor

################################

################################
# Now partition the 2nd disk.
disk=ad1
partition=exclusive
diskPartitionEditor

ad1s1-1=ufs 40960 /var
ad1s1-2=ufs 0 /usr/src
diskLabelEditor
################################

################################
# And the 3rd.
disk=da0
partition=exclusive
diskPartitionEditor

da0s1-1=swap 40960 none
da0s1-2=ufs 0 /tmp
diskLabelEditor
################################


# OK, everything is set.  Do it!
installCommit

# Install some packages at the end.
package=bash-1.14.7
packageAdd
package=ncftp-2.4.2
packageAdd
package=tcsh-6.07.02
packageAdd
OpenPOWER on IntegriCloud