[ipxe-devel] Testing for sanboot feature on DHCP server

Christian Nilsson nikize at gmail.com
Wed Jun 12 16:35:55 UTC 2019


On Wed, 12 Jun 2019 at 18:31, Johannes Thoma <johannes at johannesthoma.com> wrote:
>
> Dear iPXE list,
>
> I am using VirtualBox in order to boot diskless clients via WinDRBD
> (www.github.com/LINBIT/WinDRBD). Virtual box has a built in iPXE
> variant which does not support sanboot. We need sanboot in order
> to boot and load Windows drivers until WinDRBD takes over. This
> is currently done via http and a small cgi script on the server that
> basically does a dd (disk dump) to stdout.
>
> Is there a way to test if a iPXE variant supports sanboot?: what I would
> like to do is something like (in /etc/dhcpd.conf):
>
> if exists ipxe.sanboot-feature {
> # sanboot enabled iPXE already running
>         filename "";
>         option root-path "http://192.168.56.102/cgi-bin/drbd.cgi";
> } else {
> # sanboot enabled iPXE not running yet, load it via boot command
>         filename "http://192.168.56.102/~johannes/ipxe/ipxework.pxe";
> }
>
> However all features I've tried are either disabled on both iPXE builds
> or enabled in both iPXE builds, thereby I can't distinguish between
> them.
>
> I am using isc-dhcp-server on Linux. The DHCP server that comes with
> VirtualBox is disabled.
>
> Thanks for any insights,
>
> Kind regards,
>
> - Johannes
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel


I would try
option ipxe.iscsi code 17 = unsigned integer 8;
from https://gist.github.com/robinsmidsrod/4008017
list on official site: http://ipxe.org/howto/dhcpd

/Christian



More information about the ipxe-devel mailing list