Skip to content

Instantly share code, notes, and snippets.

@corny
Created July 29, 2015 15:10
Show Gist options
  • Save corny/4ab3148e7c1c385d7fb7 to your computer and use it in GitHub Desktop.
Save corny/4ab3148e7c1c385d7fb7 to your computer and use it in GitHub Desktop.
PC Sysinstall Configuration
# Sample configuration file for an installation using pc-sysinstall
installMode=fresh
installInteractive=no
# Set if we are installing via optical, USB, or FTP
installType=FreeBSD
installMedium=usb
# List our components to install
installComponents=ports
# Set the disk parameters - 1st disk
partscheme=gpt
disk0=ada0
partition=all
bootManager=none
commitDiskPart
# Partition Setup for ada0(ALL)
# All sizes are expressed in MB
# Avail FS Types, UFS, UFS+S, UFS+SUJ, UFS+J, ZFS, SWAP
# UFS.eli, UFS+S.eli, UFS+SUJ, UFS+J.eli, ZFS.eli, SWAP.eli
disk0-part=SWAP 2048 none
disk0-part=UFS+S 0 / (-t)
# Size 0 means use the rest of the slice size
# Do it now!
commitDiskLabel
netDev=AUTO-DHCP
netSaveDev=AUTO-DHCP
# Set the root pass
rootPass=foobar
timeZone=UTC
enableNTP=no
runCommand=env ASSUME_ALWAYS_YES=YES pkg install flashrom python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment