From 48d0eab5eef7fb9dd30ba817508bf8096ed6368e Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Tue, 25 Apr 2023 10:20:16 +0200 Subject: Note problem with TFTP server name option --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4bf93b5..590090b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # Auto-install OpenBSD on QEMU See [blog post](https://www.skreutz.com/posts/autoinstall-openbsd-on-qemu/). + +## Errata + +Starting with OpenBSD 7.0, autoinstall(8) no longer respects the TFTP server +name option. Instead, it uses the next-server DHCP option. Thus, the installer +tries to fetch the response file from the QEMU host at +http://10.0.2.2/install.conf. + +To fix that, you can serve the mirror on port 80 instead of 8080 as follows: + + $ python3 -m http.server --directory mirror --bind 127.0.0.1 8080 + $ sudo socat tcp-listen:80,reuseaddr,fork tcp:localhost:8080 + +Of course, binding to port 80 requires root privileges. I think it should be +possible to avoid that using a corresponding guest forwarding from +tcp:10.0.2.2:80 to tcp:10.0.2.2:8080 but I failed to make that work. -- cgit v1.2.3