2007-02-18 22:41:41 +00:00
|
|
|
# This is a sample installation configuration file for my test machine,
|
1997-06-09 05:10:08 +00:00
|
|
|
# crate.cdrom.com.
|
|
|
|
# It is included here merely as a sort-of-documented example.
|
2001-03-12 10:18:54 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
1997-06-09 05:10:08 +00:00
|
|
|
|
|
|
|
# Turn on extra debugging.
|
|
|
|
debug=yes
|
|
|
|
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
# 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
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
|
2010-07-07 22:53:58 +00:00
|
|
|
# Log to a remote syslogd server
|
|
|
|
syslogdServer=10.0.1.1
|
|
|
|
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
# Which installation device to use - ftp is pointed directly at my local
|
|
|
|
# machine and the installation device is my WD8013 ethernet interface.
|
2010-07-07 20:06:48 +00:00
|
|
|
# netDev can be set to ANY or a comma-delimited list of interfaces.
|
2001-09-06 10:04:27 +00:00
|
|
|
_ftpPath=ftp://time.cdrom.com/pub
|
1997-06-09 05:10:08 +00:00
|
|
|
netDev=ed0
|
|
|
|
mediaSetFTP
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
# Select which distributions we want.
|
2007-02-18 22:41:41 +00:00
|
|
|
dists=base doc manpages info src sbase ssys kernels GENERIC
|
1997-06-13 09:34:10 +00:00
|
|
|
distSetCustom
|
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
2000-02-17 04:40:11 +00:00
|
|
|
# Now set the parameters for the partition editor on ad0. Set to use the
|
1997-06-22 09:45:41 +00:00
|
|
|
# disk exclusively (could also be "all" to use the whole disk but
|
|
|
|
# respecting the MBR or "free" to use only unallocated space for FreeBSD).
|
2000-02-17 04:40:11 +00:00
|
|
|
disk=ad0
|
1997-06-12 08:46:51 +00:00
|
|
|
partition=exclusive
|
1997-06-22 09:45:41 +00:00
|
|
|
diskPartitionEditor
|
|
|
|
|
|
|
|
# Uncomment this instead to use only the free space and install boot manager.
|
1997-06-12 08:46:51 +00:00
|
|
|
#partition=free
|
|
|
|
#bootManager=booteasy
|
1997-06-22 09:45:41 +00:00
|
|
|
#diskPartitionEditor
|
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
|
1997-06-22 09:45:41 +00:00
|
|
|
################################
|
1997-06-09 05:10:08 +00:00
|
|
|
|
2007-02-18 22:41:41 +00:00
|
|
|
# Disk partitioning.
|
1997-08-11 13:08:29 +00:00
|
|
|
# All sizes are expressed in 512 byte blocks!
|
|
|
|
|
2007-02-18 22:41:41 +00:00
|
|
|
# A 512MB root partition
|
|
|
|
ad0s1-1=ufs 1048576 /
|
|
|
|
# And a 512MB swap partition
|
|
|
|
ad0s1-2=swap 1048576 none
|
1997-08-11 13:08:29 +00:00
|
|
|
# Followed by a /usr partition using all remaining space (size 0 = free space)
|
2001-03-12 10:18:54 +00:00
|
|
|
# and with softupdates enabled (non-zero arg following mountpoint).
|
|
|
|
ad0s1-3=ufs 0 /usr 1
|
1997-08-11 13:08:29 +00:00
|
|
|
# Let's do it!
|
1997-06-09 05:10:08 +00:00
|
|
|
diskLabelEditor
|
|
|
|
|
1997-06-13 09:34:10 +00:00
|
|
|
################################
|
|
|
|
|
|
|
|
################################
|
2007-02-18 22:41:41 +00:00
|
|
|
# Now partition the 2nd disk with a 1GB /var and /usr/src using the
|
|
|
|
# remainder of the disk.
|
2000-02-17 04:40:11 +00:00
|
|
|
disk=ad1
|
1997-06-13 09:34:10 +00:00
|
|
|
partition=exclusive
|
|
|
|
diskPartitionEditor
|
|
|
|
|
2007-02-18 22:41:41 +00:00
|
|
|
ad1s1-1=ufs 2097152 /var
|
2000-02-17 04:40:11 +00:00
|
|
|
ad1s1-2=ufs 0 /usr/src
|
1997-06-13 09:34:10 +00:00
|
|
|
diskLabelEditor
|
|
|
|
################################
|
|
|
|
|
|
|
|
################################
|
2007-02-18 22:41:41 +00:00
|
|
|
# And the 3rd, adding a second 512MB of swap and the rest of the disk
|
|
|
|
# for /tmp.
|
1998-11-21 21:45:27 +00:00
|
|
|
disk=da0
|
1997-06-13 09:34:10 +00:00
|
|
|
partition=exclusive
|
|
|
|
diskPartitionEditor
|
|
|
|
|
2007-02-18 22:41:41 +00:00
|
|
|
da0s1-1=swap 1048576 none
|
1998-11-21 21:45:27 +00:00
|
|
|
da0s1-2=ufs 0 /tmp
|
1997-06-13 09:34:10 +00:00
|
|
|
diskLabelEditor
|
|
|
|
################################
|
|
|
|
|
1997-06-09 05:10:08 +00:00
|
|
|
|
|
|
|
# OK, everything is set. Do it!
|
|
|
|
installCommit
|
1997-06-13 18:02:34 +00:00
|
|
|
|
|
|
|
# Install some packages at the end.
|
2007-02-18 22:41:41 +00:00
|
|
|
package=bash-3.1.17
|
1997-06-13 18:02:34 +00:00
|
|
|
packageAdd
|
2007-02-18 22:41:41 +00:00
|
|
|
package=ncftp-3.2.0
|
1997-06-13 18:02:34 +00:00
|
|
|
packageAdd
|