summaryrefslogtreecommitdiffstats
path: root/usr/sbin/pc-sysinstall/examples/pcinstall.cfg.restore
blob: c05bf0566f13b0576b1f7e9d3dd798fea349f176 (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
# Sample configuration file for an installation using pc-sysinstall
#$FreeBSD: src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.restore,v 1.1 2010/06/24 22:21:47 imp Exp $

installMode=fresh
installInteractive=no
hostname=freebsd8

# Set the disk parameters
disk0=ad1
partition=all
bootManager=none
commitDiskPart

# Setup the disk label
# All sizes are expressed in MB
# Avail FS Types, UFS, UFS+S, UFS+J, ZFS, SWAP
# UFS.eli, UFS+S.eli, UFS+J.eli, ZFS.eli, SWAP.eli
disk0-part=UFS+S 500 /
disk0-part=SWAP.eli 2000 none
disk0-part=UFS+S 0 /usr
# Size 0 means use the rest of the slice size
# Do it now!
commitDiskLabel

# Set if we are installing via optical, USB, or FTP
installType=FreeBSD
installMedium=dvd
installFile=freebsd-release.tbz

#packageType=uzip
packageType=tar
#installComponents=ports,src

# Run any commands post-install
#runCommand=echo 'root' | pw usermod root -h 0
#runScript=/root/test.sh
#runExtCommand=echo 'hey there'; touch $FSMNT/touched

# Set the root pass
rootPass=root

# Setup our users
userName=kris
userComment=Kris Moore
userPass=kris
userShell=/bin/csh
userHome=/home/kris
userGroups=wheel,operator
commitUser

#autoLoginUser=kris

# Options for localizing an install
localizeLang="ru"
localizeKeyLayout="ru"
localizeKeyModel="pc104"
localizeKeyVariant="intl"
OpenPOWER on IntegriCloud