freebsd-dev/usr.sbin/sysinstall/install.cfg

102 lines
2.5 KiB
INI
Raw Normal View History

# This is a sample 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
1997-06-13 09:34:10 +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
################################
# Log to a remote syslogd server
syslogdServer=10.0.1.1
1997-06-13 09:34:10 +00:00
################################
# Which installation device to use - ftp is pointed directly at my local
# machine and the installation device is my WD8013 ethernet interface.
# netDev can be set to ANY or a comma-delimited list of interfaces.
_ftpPath=ftp://time.cdrom.com/pub
netDev=ed0
mediaSetFTP
1997-06-13 09:34:10 +00:00
################################
1997-06-13 09:34:10 +00:00
################################
# Select which distributions we want.
dists=base doc manpages info src sbase ssys kernels GENERIC
1997-06-13 09:34:10 +00:00
distSetCustom
################################
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
# 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
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
#diskPartitionEditor
################################
################################
# Disk partitioning.
# All sizes are expressed in 512 byte blocks!
# A 512MB root partition
ad0s1-1=ufs 1048576 /
# And a 512MB swap partition
ad0s1-2=swap 1048576 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
1997-06-13 09:34:10 +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
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
################################
################################
# And the 3rd, adding a second 512MB of swap and the rest of the disk
# for /tmp.
disk=da0
1997-06-13 09:34:10 +00:00
partition=exclusive
diskPartitionEditor
da0s1-1=swap 1048576 none
da0s1-2=ufs 0 /tmp
1997-06-13 09:34:10 +00:00
diskLabelEditor
################################
# OK, everything is set. Do it!
installCommit
1997-06-13 18:02:34 +00:00
# Install some packages at the end.
package=bash-3.1.17
1997-06-13 18:02:34 +00:00
packageAdd
package=ncftp-3.2.0
1997-06-13 18:02:34 +00:00
packageAdd