Fwd: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Sven-Volker Nowarra
>> ... >> >> $ ./tftpd_rewrite >> $ doas chgrp _tftpd /tmp/tftpd_rewrite.sock ; doas chmod g+w /tmp/tftpd_rewrite.sock >> $ doas tftpd -v -r /tmp/tftpd_rewrite.sock /home/vm >> >> $ tftp 127.0.0.1 >> tftp> get /etc/boot.conf >> Received 38 bytes in 0.0 seconds >> >> $ syslogc daemon | tail -n1 >> J

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Sven-Volker Nowarra
> Am 29.01.2017 um 14:23 schrieb Jiri B : > >>> Isn't better to use rewrite/file remapping instead of hacking pxeboot? >>> If an i386 machine would request /etc/boot.conf via tftp you could rewrite >>> it to (based on fact you know that that machine is i386 - during provisioning) >>> /etc/i386/boot

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-29 Thread Jiri B
> > Isn't better to use rewrite/file remapping instead of hacking pxeboot? > > If an i386 machine would request /etc/boot.conf via tftp you could rewrite > > it to (based on fact you know that that machine is i386 - during > > provisioning) > > /etc/i386/boot.conf. For the client I suppose it woul

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sun, Jan 29, 2017 at 01:17:48AM +0200, li...@wrant.com wrote: > Sample excerpts from host specific DHCP server config, for i386 and amd64: > > next-server 10.0.0.32; > filename "auto_upgrade"; > > next-server 10.0.0.64; > filename "auto_upgrade"; > > Quoting autoinstal

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread lists
Sat, 28 Jan 2017 00:17:40 +0100 Sven-Volker Nowarra > I am netbooting many systems, and last recently stepped on the issue, that I > had an amd64 and an i386 client in the same network. I wanted to boot them > into a "full" OpenBSD (not ramdisk kernel). That is not possible with the > default inst

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Sven-Volker Nowarra
> Am 28.01.2017 um 14:56 schrieb Jiri B : > > On Sat, Jan 28, 2017 at 12:17:40AM +0100, Sven-Volker Nowarra wrote: >> I am netbooting many systems, and last recently stepped on the issue, that I >> had an amd64 and an i386 client in the same network. I wanted to boot them >> into a "full" OpenBSD (

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sat, Jan 28, 2017 at 06:41:34PM +0100, Sven-Volker Nowarra wrote: > > Isn't better to use rewrite/file remapping instead of hacking pxeboot? > > If an i386 machine would request /etc/boot.conf via tftp you could rewrite > > it to (based on fact you know that that machine is i386 - during > > pr

Re: netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Jiri B
On Sat, Jan 28, 2017 at 12:17:40AM +0100, Sven-Volker Nowarra wrote: > I am netbooting many systems, and last recently stepped on the issue, that I > had an amd64 and an i386 client in the same network. I wanted to boot them > into a "full" OpenBSD (not ramdisk kernel). That is not possible with th

netbooting OpenBSD (6.0) i386 and amd64 clients from one server

2017-01-28 Thread Sven-Volker Nowarra
I am netbooting many systems, and last recently stepped on the issue, that I had an amd64 and an i386 client in the same network. I wanted to boot them into a "full" OpenBSD (not ramdisk kernel). That is not possible with the default installation, cause pxeboot can not distinguish between these Int