Le 2014-05-08 13:03, Kenneth Westerback a écrit :
On 8 May 2014 05:33, Xavier Claude <cont...@xavierclaude.be> wrote:
Hello,

I'm trying to use autoinstall with OpenBSD 5.5 but the Server line in
the configuration file is not read set according to the install.conf
and instead is used for the ntp server.

Here is my install.conf file:
System hostname = testbsd
Password for root = $2a$06$8APgDGjoEAAq85b3S.QZzer...dmiwcummDpa
Start sshd(8) by default = yes
Start ntpd(8) by default = yes
Do you expect to run the X Window System = no
Change the default console to com0 = no
Which speed should com0 use = 19200
Setup a user = conostix
Password for user = $2a$06$6IqO/zjUnFgrsI76g2/be.../YWDIA3T/mGdO
What timezone are you in = Europe/Luxembourg
Location of sets = http
Server = 192.168.42.1
Server directory = plop

And in the ai.log file, I have:

NTP server? (hostname or 'default') [default] 192.168.42.1


And at the end of the log:

Let's install the sets!
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] none
(Was not able to get ftplist from ftp.openbsd.org, but that is OK)
Server? (hostname or 'done')
Question has no answer in response file.


The install.conf retrieved by the installer is the same as the one on
the web server (checked with the installer shell).

Thank you for your help.
--
Xavier Claude
cont...@xavierclaude.be


Since the 'NTP Server' question contains 'Server', it will match the
install.conf question, and since the NTP question comes first ...

I think you will have to put a 'NTP Server = default' line in the
install.conf, so it can be consumed before the 'Server' line is called
for.

Thank you, it worked.


Perhaps we should change 'Server?' to 'HTTP Server?' now that ftp is
no longer an install method, thus allowing unambiguous selection.

.... Ken


--
Xavier Claude
cont...@xavierclaude.be

Reply via email to