Last active
December 21, 2015 04:29
-
-
Save rc5hack/6249760 to your computer and use it in GitHub Desktop.
Auto-install config for FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install.cfg: auto-install config for FreeBSD sysinstall(8) | |
# @see /usr/src/usr.sbin/sysinstall/install.cfg | |
################################################################################### | |
debug=yes | |
nonInteractive=yes | |
#TODO: make some swap | |
disk=ad0 | |
partition=all | |
bootManager=boot | |
diskPartitionEditor | |
ad0s1-1=ufs 0 / | |
diskLabelEditor | |
mediaSetCDROM | |
#distSetMinimum | |
dists=base manpages catpages GENERIC | |
distSetCustom | |
installCommit | |
################################################################################### | |
# устанавливается некоторый пароль, чтобы потом корректно отработала смена пароля | |
command=/bin/echo 12345678 | /usr/sbin/pw usermod root -h 0 | |
system | |
# эта команда не выключает виртуальную машину, а просто отмонтирует диски | |
command=/sbin/shutdown -p now '>>handy shutdown by install.cfg<<' | |
system | |
command=/bin/sleep 600 | |
system | |
################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment