]> git.ozlabs.org Git - petitboot/commit
ui: add URL for static configurations to load a specified file
authorNishanth Aravamudan <nacc@linux.vnet.ibm.com>
Wed, 19 Aug 2015 21:05:05 +0000 (14:05 -0700)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Fri, 18 Dec 2015 02:06:53 +0000 (13:06 +1100)
commit32d3249e252fe201eb81155cbf3b800ce5cf88e0
treeb5666989c2906d1a923d297f01208fb01ed8abbb
parent45e9e7a53540e87e2129bb11fd853501131fb795
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 <nacc@linux.vnet.ibm.com>
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
discover/network.c
discover/platform-powerpc.c
discover/platform.c
lib/pb-protocol/pb-protocol.c
lib/types/types.h
ui/ncurses/nc-config.c