aboutsummaryrefslogtreecommitdiff
path: root/etc/env.yaml
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2015-03-20 11:05:12 +0000
committerLinaro Code Review <review@review.linaro.org>2015-03-20 12:28:12 +0000
commitbc31024c3dfdeee6ae963c364a378185c87e12ea (patch)
treea33c3b068aee57fb555b4c901fefbc5626f40d33 /etc/env.yaml
parent9c3c49e7cc31cc9c89eeb3a084a8c80d7fcb5c6b (diff)
LAVA-1919 - apply environment to server process
Change-Id: Ic06def2a18b52767fd393c6ad57e4982b5a58f6a
Diffstat (limited to 'etc/env.yaml')
-rw-r--r--etc/env.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/etc/env.yaml b/etc/env.yaml
new file mode 100644
index 000000000..b4e4bda5d
--- /dev/null
+++ b/etc/env.yaml
@@ -0,0 +1,27 @@
+# Configure the environment that will be used within the server and the dispatcher.
+
+# If set to true, all variables inherited by the process will be dropped.
+# The process environment is then fully controlled but you should then list all
+# variables that your process needs.
+# default: false
+purge: true
+
+# List the variables that will be removed from the inherited environment.
+# If purge is 'true', this list is useless.
+# default: empty list
+removes:
+- HTTP_PROXY
+- HTTPS_PROXY
+- FTP_PROXY
+- NO_PROXY
+
+# A dictionary of (key, value) that will be added to the inherited environment.
+# If a key does not already exist in the inherited environment, it's added.
+# default: an empty dictionary
+overrides:
+ LC_ALL: C.UTF-8
+ LANG: C
+# http_proxy: http://lava-lab-proxy
+# https_proxy: http://lava-lab-proxy
+# ftp_proxy: http://lava-lab-proxy
+ PATH: /usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/sbin:/sbin