From 7cb2a16a2af0fff697e1b50bd7dfd048f668b4c3 Mon Sep 17 00:00:00 2001 From: Alberto Murillo Silva Date: Tue, 25 Oct 2016 10:22:12 -0500 Subject: [PATCH] ciao: Document proxy issues - Proxies needs to be configured for docker, dnf and apt. Fixes #47 Signed-off-by: Alberto Murillo Silva --- examples/ciao/README.md | 1 + examples/ciao/doc/requirements.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/examples/ciao/README.md b/examples/ciao/README.md index 0747fb2..67394d9 100644 --- a/examples/ciao/README.md +++ b/examples/ciao/README.md @@ -17,6 +17,7 @@ on both the managed nodes and deployment machine. also check requirements for [fedora](https://github.com/clearlinux/clear-config-management/blob/master/examples/ciao/doc/requirements.md#fedora). * CIAO can be installed in ClearLinux, Fedora 24 and Ubuntu 16.04. CIAO dependencies will be installed automatically +* If running behind a proxy server read [this](https://github.com/clearlinux/clear-config-management/blob/master/examples/ciao/doc/requirements.md#proxies) #### Deployment machine The deployment machine can be any Linux OS as long as it has the following requirements installed. diff --git a/examples/ciao/doc/requirements.md b/examples/ciao/doc/requirements.md index d558000..8db1567 100644 --- a/examples/ciao/doc/requirements.md +++ b/examples/ciao/doc/requirements.md @@ -9,3 +9,20 @@ You can install them with the following command ``` sudo dnf install python-dnf netaddr libselinux-python ``` + +# Proxies +A Proxy server needs to be configured in different parts of the system when deploying +ciao behind a proxy server like in a corporate environment. + +## Docker +Controller nodes and Computes nodes runs docker containers. Follow docker documentation +to configure a [HTTP proxy](https://docs.docker.com/engine/admin/systemd/#/http-proxy) on +the docker daemon. + +## apt +Ciao automatically install the missing dependencies on launch by calling apt-get +in ubuntu nodes. Configure a HTTP Proxy in apt as shown in [AptConf](https://wiki.debian.org/AptConf) + +## dnf +Ciao automatically install the missing dependencies on launch by calling dnf +in fedora nodes. Configure a HTTP Proxy by setting the `proxy` option in [dnf.conf](http://dnf.readthedocs.io/en/latest/conf_ref.html#options-for-both-main-and-repo)