From 9c33c54f7b431074a7d0daddce34140044aaadf6 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Wed, 3 Dec 2014 15:08:23 +1100 Subject: discover/pxe: Format IPAPPEND mac addresses correctly The SYSAPPEND/IPAPPEND option 2 in PXE configs requires the MAC address of the booting interface to be appended to the boot options. Previously we formatted this as "BOOTIF=01:02:03:04:05:06", but syslinux/pxelinux implementation use this format: "BOOTIF=01-01-02-03-04-05-06", where the leading '01' represents the hardware type. The relevant part of the pxelinux doc is at: http://www.syslinux.org/wiki/index.php/SYSLINUX#SYSAPPEND_bitmask Signed-off-by: Samuel Mendoza-Jonas Signed-off-by: Jeremy Kerr --- discover/device-handler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/device-handler.h') diff --git a/discover/device-handler.h b/discover/device-handler.h index e8e71ad..b592c46 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -55,6 +55,7 @@ struct discover_context { struct discover_device *device; struct list boot_options; struct pb_url *conf_url; + struct network *network; void *test_data; }; -- cgit v1.2.1