diff options
| author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-10-27 14:56:05 +1100 |
|---|---|---|
| committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-11-24 11:42:25 +1100 |
| commit | a055f6714fd06aa3b633b1bc44a8dbf42a0eedb0 (patch) | |
| tree | 6223076e8bcfe2c828f4b40d6a4fb8760f520c7b /lib/types | |
| parent | 1dd51e986202e5e111c1042f148867bd08c2bedc (diff) | |
| download | talos-petitboot-a055f6714fd06aa3b633b1bc44a8dbf42a0eedb0.tar.gz talos-petitboot-a055f6714fd06aa3b633b1bc44a8dbf42a0eedb0.zip | |
Support HTTP(S) proxies when downloading resources
Allow the user to specify a HTTP and HTTPS proxy server. The discover
server will set the http_proxy and https_proxy environment variables,
enabling the proxy servers for any further HTTP(S) requests.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/types')
| -rw-r--r-- | lib/types/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h index 31922d0..d660d6b 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -161,6 +161,9 @@ struct config { unsigned int ipmi_bootdev; bool ipmi_bootdev_persistent; + char *http_proxy; + char *https_proxy; + bool allow_writes; char *boot_console; |

