Age | Commit message (Collapse) | Author |
|
ok krw@
|
|
OK halex@
|
|
- complain loudly on errors and give users a chance to react on them
- improve detection if ftp fails while fetching sets
- be more cautious while removing temporary directories
joint work with and ok halex@
|
|
from and OK halex@
|
|
ok rpe@
|
|
|
|
- the Verifying part is done even if the sets are on local media
OK todd@ deraadt@
|
|
during (pre)fetch/verify/install
idea from and OK deraadt@
|
|
We can remove the hashing support.
|
|
prefetching sets to a temporary directory within /home, iff it is a
separate mount point
with rpe@ and deraadt@, "ffiinaallllyyy .... OK" rpe@ (r.i.p. progress bars)
|
|
OK halex@
|
|
comp set does not get readded if the xbase set is being removed later
on the same input line
"nice semantics" deraadt@
|
|
not support cpio anymore.
|
|
this is because the md5/sha256/sha512 are in the same binary, found in the
md5 directory, but the version on the media lacks md5 support. Understand?
|
|
|
|
|
|
abomination.
install.sub chunk tested by rpe
|
|
If ROOTDEV is either the device from fstab or the converted DUID
device name with the partition added, skip the current fstab entry
ok halex@
|
|
pick binaries up must be compiled -static or at least in some safe
model for reuse. Since we now use distrib/special for those, we can
safely remove usr.bin and usr.sbin from this list.
|
|
is less than ideal. We hope the kernel has good entropy already, because
this is a reinstall?? Or maybe the ftp server startup has run to completion?
Or if this is an autoinstall, that config has enough unique in it? This
needs more work, but the existing late-entropy feed sequence is worse.
discussed at length with rpe, who tested it
|
|
up the previous kernel's /var/db/host.random
ok rpe
|
|
upgrade to feed as much additional usable entropy (as early as possible)
to the current bsd.rd install kernel. The latter is used late in the
procedure to store entropy for the next boot (of a real kernel)
based on an issue described by dtucker, must conversation with halex and rpe
tested by rpe
|
|
but not comp, put comp back in automatically.
suggested by and ok deraadt@
ok halex@
|
|
add autoinstall question for root ssh pubkey
make pubkey prompts appear in autoinstall log
ideas from and ok deraaddt@, ok rpe@
|
|
as discussed with uwe@ at some point.
ok krw@, rpe@, "Cool" uwe@
|
|
email subjects better.
ok deraadt@ rpe@
Suggested by, and "Lovely" deraadt@, "Sure" rpe@,
|
|
the trailing question mark, such as in "hostname = foo"
noted by, discussed with, and ok rpe@
|
|
ok rpe@
|
|
anything not being a whitespace is considered part of a word.
deraadt@ likes it, rpe@ has approved of the idea
|
|
more intuitive order: Show the 'After rebooting, run sysmerge' hint below
the line that explains how to reboot, instead of several lines above.
Suggested by a new user doing the first upgrade.
input/ok halex@ rpe@
|
|
once it's been used, and allow the same question to be answered
multiple times. This way, responses to ask_which() questions no
longer need the special magic we had for them being on a single line.
idea from deraadt@
ok rpe@
|
|
ok deraadt@
|
|
the name of what we're asking for, rather than 'Which _one_ ...'
Improves things a lot for the autoinstaller.
ok rpe@
|
|
running again, with our mail system of choice running.
ok deraadt@
|
|
blanks.
Same fix was applied by todd@ to /etc/netstart (r1.114) in 2006.
Pointed out by Remy via bugs@. Thanks!
|
|
a warning at first boot ok deraadt
|
|
outnumbered by (I)nstall's and (U)pgrade's, reorder the alternatives.
"sure" deraadt@
|
|
for example, bail out instead of producing annoying output if the
filename statement does not match auto_(install|upgrade).
Brought up again by Patrik Lundin, thanks!
ok rpe@
|
|
user's .ssh/authorized_keys. Deliberately not in interactive mode since
I am not sure it's worth adding another question that only quite few
people would enjoy.
ok rpe@
|
|
at the top.
ok halex@
|
|
the interface we netbooted from for initial dhcp reqest.
- Change the error message in case no response file was
found to match the info message at the beginning.
ok krw@
|
|
idea from and ok halex@
|
|
rather than looping endlessly.
ok rpe@
|
|
- simplify the key/value splitting with a true halexism
- recognize a line without a '=' by counting the chars in _key/_val
instead of doing a string comparison which needs a temporary _k var
- localize _l
ok krw@ halex@
|
|
use "non-interactive mode" instead of installation.
ok deraadt@
|
|
place where they do matter...
|
|
ok krw@ halex@
|
|
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@
|
|
- 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@
|