[PATCH] ui: add URL for static configurations to load a specified file

Sam Mendoza-Jonas sam.mj at au1.ibm.com
Mon Nov 16 13:52:47 AEDT 2015


Hey Nish,

This all looks good!
When testing this I ran into a problem that may just be down to my
machine, in that when device_handler_process_url() gets called to check
the URL, the network apparently hasn't *quite* finished configuring, and
wget returns "Unable to route to host". Have you seen this in your
testing?

Cheers,
Sam

On Wed, Aug 19, 2015 at 02:05:05PM -0700, Nishanth Aravamudan wrote:
> 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 <nacc at linux.vnet.ibm.com>
> 
> diff --git a/discover/network.c b/discover/network.c
> index 0dad087..f763687 100644
> --- a/discover/network.c
> +++ b/discover/network.c



More information about the Petitboot mailing list