Age | Commit message (Collapse) | Author |
|
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@
|
|
sets up /bsd as the SMP kernel on SMP systems; jkatz
|
|
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
|
|
because it in love with gcc internals. so move cpp to the comp set.
spotted by jca
|
|
only file, and put it in the volume header. This allows IP27 to be able to
boot off cdrom via the ``Install System Software'' menu.
Tested on Origin 200 (IP27) and Fuel (IP35), verified to still boot on IP32
using boot blocks from the volume header.
|
|
|
|
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@
|
|
suggested and ok miod@
|
|
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@
|
|
ok miod@
|
|
use "non-interactive mode" instead of installation.
ok deraadt@
|
|
place where they do matter...
|
|
ok krw@ halex@
|
|
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@
|