Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2019 13:52:44 +0400
From:      Gleb Popov <arrowd@freebsd.org>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Scripting bsdinstall
Message-ID:  <CALH631=S0d9kmYRNrG5PVg9rqUF80Ko_Z5DsP=9dGKQKodW5Hg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello.

I'm trying to write my own installerconfig script to perform [almost]
unattended install, but facing some problems:

- Script examples in `man bsdinstall` use some variables (PARTITIONS and
nonInteractive) that aren't documented in the man. Where do I find all
supported variables?
- How do I setup networking on target machine? Examples propose running
sysrc ifconfig_em0=DHCP, but how do I know interface name?
- Same question goes for target drive. In most cases it is ada0, but how do
I dynamically find it out?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631=S0d9kmYRNrG5PVg9rqUF80Ko_Z5DsP=9dGKQKodW5Hg>