diff mbox

[2/2] Whitelist $SSH_AUTH_SOCK by default

Message ID 1408627554-6455-3-git-send-email-jonas.eriksson@maquet.com
State New
Delegated to: Esben Haabendal
Headers show

Commit Message

Eriksson Jonas Aug. 21, 2014, 1:26 p.m. UTC
In order to by default support usage of ssh-agent when running builds,
add $SSH_AUTH_SOCK to the default whitelite. This will allow ssh to
communicate with the ssh-agent, and thus authenticate without prompting
for the key password when using encrypted ssh keys.

Signed-off-by: Jonas Eriksson <jonas.eriksson@maquet.com>
---
 lib/oelite/meta/meta.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/lib/oelite/meta/meta.py b/lib/oelite/meta/meta.py
index 354f081..6097d5f 100644
--- a/lib/oelite/meta/meta.py
+++ b/lib/oelite/meta/meta.py
@@ -65,6 +65,7 @@  OE_ENV_WHITELIST = [
     "PWD",
     "SHELL",
     "TERM",
+    "SSH_AUTH_SOCK",
 ]