For netboot via DHCP, "next-server" in dhcpd.conf(5) is mandatory.

Pointed out by Anders Gustafsson on port-hp300@.
 https://mail-index.netbsd.org/port-hp300/2021/04/21/msg000201.html

Should be pulled up to netbsd-8 and netbsd-9.

XXX: kernel should use the dhcpd/bootp server address for nfsroot
     if the specified next-server (siaddr) is 0.0.0.0?
This commit is contained in:
tsutsui 2021-04-24 15:38:10 +00:00
parent 1d53811a13
commit 8ea52577e2

View File

@ -1,4 +1,4 @@
.\" $NetBSD: netboot,v 1.38 2019/11/27 09:29:25 martin Exp $
.\" $NetBSD: netboot,v 1.39 2021/04/24 15:38:10 tsutsui Exp $
.\"
.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -345,16 +345,15 @@ group {
.\}
#
# If your DHCP server is not your NFS server, supply the
# address of the NFS server. Since we assume you run everything
# on one server, this is not needed.
# The host address of the NFS server. This is mandatory for
# NetBSD kernels even it's the same host as the DHCP server.
.if \n[macppc] \{\
#
# macppc machines will look for their bootloader,
# ofwboot.xcf, on the next-server as well.
.\}
#
# next-server server.test.net;
next-server server.test.net;
}
#you may paste another "host" entry here for additional
#clients on this network