From b2cb84589ca69f14155ae695678c63a7733b55ef Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 18 Sep 2019 11:47:41 +0200 Subject: Document a bit more how to use a proxy This patchs adds an example on how to add proxy env on the master. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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...)
-You have to uncomment a line in lava-master/Dockerfile to enable it.
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. -- cgit 1.2.3-korg