From: Nishanth Aravamudan Date: Wed, 19 Aug 2015 21:05:43 +0000 (-0700) Subject: discover: extend URL in UI to support auto-discovery X-Git-Tag: v1.0.0~32 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=f155a58a64c660e46e74123293482561b816a39a;hp=f155a58a64c660e46e74123293482561b816a39a discover: extend URL in UI to support auto-discovery The URL field currently only supports loading a particular file for static network configurations. But it makes sense in certain static network configurations to 'auto-discover' a file like petitboot does with DHCP -- based off the MAC address and IP. Extend device_handler_process_url to take those as parameters, and toggle off the URL ending in a '/' to indicate whether to 'auto-discover' or directly load the specified URL. Signed-off-by: Nishanth Aravamudan Signed-off-by: Samuel Mendoza-Jonas ---