From 32d3249e252fe201eb81155cbf3b800ce5cf88e0 Mon Sep 17 00:00:00 2001 From: Nishanth Aravamudan Date: Wed, 19 Aug 2015 14:05:05 -0700 Subject: ui: add URL for static configurations to load a specified file In certain configurations, e.g. automation, we want to use static networking but load a particular file, automatically and parse it as a pxelinux config file. Currently, we support something like this for DHCP based booting, but not static. Add a URL field to the UI for static configurations and reuse the logic from device_handler_process_url() to load the specified file. Signed-off-by: Nishanth Aravamudan Signed-off-by: Samuel Mendoza-Jonas --- discover/platform.c | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/platform.c') diff --git a/discover/platform.c b/discover/platform.c index 5f448f1..fc0930d 100644 --- a/discover/platform.c +++ b/discover/platform.c @@ -60,6 +60,7 @@ static void dump_config(struct config *config) pb_log(" static:\n"); pb_log(" ip: %s\n", ifconf->static_config.address); pb_log(" gw: %s\n", ifconf->static_config.gateway); + pb_log(" url: %s\n", ifconf->static_config.url); } } -- cgit v1.2.1