summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-09-18 11:47:41 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-09-19 11:50:41 +0200
commitb2cb84589ca69f14155ae695678c63a7733b55ef (patch)
treeb5c523c62cf2ff62813204a32f358934dc7b9055 /README.md
parentd869ceab3a3bd42bb3da6eee9ff8b897f81faa6a (diff)
Document a bit more how to use a proxy
This patchs adds an example on how to add proxy env on the master.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index b58cc4c..d7c4651 100644
--- a/README.md
+++ b/README.md
@@ -383,8 +383,8 @@ docker-compose up -d
## Proxy cache (Work in progress)
A squid docker is provided for caching all LAVA downloads (image, dtb, rootfs, etc...)<br/>
-You have to uncomment a line in lava-master/Dockerfile to enable it.<br/>
For the moment, it is unsupported and unbuilded.
+For using an external squid server see "How to made LAVA slave use a proxy" below
## Backporting LAVA patches
All upstream LAVA patches could be backported by placing them in lava-master/lava-patch/
@@ -445,6 +445,13 @@ Add env to a slave like:
slave:
env:
- "http_proxy: http://dns:port"
+Or on master via
+ slaveenv:
+ - name: lab
+ env:
+ - "http_proxy: http://squid_IP_address:3128"
+ - "https_proxy: http://squid_IP_address:3128"
+
## How to use a board which uses PXE ?
All boards which uses PXE, could be used with LAVA via grub.