Age | Commit message (Collapse) | Author |
|
on big-endian machines for quite a while. Some discussion with millert
and guenther to repair it.
|
|
from Daniel Dickman that got accidentally reverted.
ok deraadt@
|
|
|
|
|
|
|
|
Add some logic to get_responsefile() to select an interface for the
initial dhcp request which tells what to do (install/upgrade) and
where to fetch the responsefile from.
- if netbooted, use the interface in netboot group, or
- if only one interface exists, use it, or
- if more intefaces exist, ask user which one to use
Tweak ask_which() to be usable if $auto is true, but
$RESPSONSEFILE not yet set.
ok halex@ deraadt@
|
|
- strip leading/trailing blanks from question
- strip leading blanks from answer
- compare questions case insensitive
- ignore empty and comment lines and lines without =
- treat empty/missing/multiple answers as error and exit
- ensure, that $RESPONSEFILE is actually an existing file.
- unset IFS to preserve leading/trailing blanks on read.
- use read -r, because we don't support line continuation in answers.
- simplify the "_i=0 but we have a default answer" case a bit.
lots of feedback from halex@
ok deraadt@ krw@
|
|
|
|
standard PC keyboard. From Daniel Dickman (didickman at gmail.com).
|
|
- use a shorter constant logfile name
- quote From lines and remove ^M in ftp output from logfile
- provide the autoinstaller logfile as mail to root
with help and positive feedback halex@ krw@ deraadt@
ok halex@
|
|
|
|
|
|
the random pool at install. Apart from the configuration in itself, this
permits adding various random data in comments or whatever.
ok krw@ rpe@
|
|
to generic one.
noted by and ok phessler@
ok krw@ and positive feedback deraadt@
|
|
mode from DHCP attribute "filename", which has to be "auto_install"
or "auto_upgrade". For archs that use this attribute for the boot
program create a symbolic link to auto_install and/or auto_install.
Change the naming scheme for response files on the http server to
<mac-addres>-<install|upgrade>.conf where <mac-address> is the
lladdr of the netboot interface of to be installed/upgraded hosts,
e.g. 52:54:00:12:34:56-install.conf. This allows different response
files for multiple hosts.
ok krw@ deraadt@
|
|
|
|
diff from Philipp e1c1bac6253dc54a1e89ddc046585792 at osteo dot net
ok krw@ halex@
|
|
ok rpe@ krw@
|
|
|
|
|
|
bug report from philip
e1c1bac6253dc54a1e89ddc046585792 at posteo dot net
ok halex@
|
|
refetched on every restart of the autoinstaller.
ok halex@ krw@
|
|
ok krw@ halex@
|
|
- Take netboot interface down and so kill a dhclient from a previous
attempt and to free up the only bpf which exists in this installstage.
Without this, we're not able to "restart" autoinstall because dhclient
fails due to lack of bpf's. dhclient takes the interface up again.
- Remove -s leasefile check, it's implicitly done with -n SERVER check.
- Avoid possible sed error msgs by redirecting STDERR to /dev/null.
- Fetch install.conf in a ftp on-liner whithout unneccessary URL var.
- Shorten -s install.conf check,
- [] -> [[]] for consistency
ok krw@
|
|
|
|
Avoids an endless question/wrong answer loop.
with help from and ok halex@
ok krw@
|
|
not behave the way crunchgen expects it to. Will hopefully get fixed soon.
Discussed with guenther@
|
|
ok krw@ halex@
|
|
ok krw@ halex@
|
|
which the system netbooted from.
"cool" uwe@ on a similar diff
ok krw@ halex@
|
|
|
|
|
|
With this, the installer finishes even when there are kernel messages
output during the installation. :)
original diff and ok halex@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
past 3MB but fail to abort with an error message, and instead spin until
^Ced. This should only affect netbooting bsd.rd; explain lightly how to
use the boot loader and load the kernel from NFS.
|
|
|
|
note that on boards without ahci you will need to install to usb and still
boot of sd, at least until there's support for the sd slot.
ok patrick@
|
|
|
|
|
|
it's probably is a pre-encrypted password hash.
This means that the autoinstall configuration (and interactive password
too) does not have to specify a cleartext password.
reworked diff originating from krw@
no objections, specifically so from krw@
|
|
|
|
|