commit | f2bc0c7462f286de9309a16455c8047274ff6807 | [log] [tgz] |
---|---|---|
author | Ilya Kharin <ikharin@mirantis.com> | Thu Jun 08 05:18:09 2017 +0400 |
committer | Ilya Kharin <ikharin@mirantis.com> | Fri Jun 09 16:09:04 2017 +0400 |
tree | e1671393d85f38137a3417176586770e6db50c3d | |
parent | aa35b586f772dfd01cec937bc62e3a85eb300680 [diff] |
Add ability to specify AcceptEnv Change-Id: I2ace8eeef860355139587347231b6de8a6ec486b
diff --git a/openssh/files/sshd_config b/openssh/files/sshd_config index ea0afeb..9e5ee53 100755 --- a/openssh/files/sshd_config +++ b/openssh/files/sshd_config
@@ -128,6 +128,9 @@ # Allow client to pass locale environment variables AcceptEnv LANG LC_* +{%- if server.get('accept_env', [])|length > 0 %} +AcceptEnv {{ server.accept_env|join(' ') }} +{%- endif %} Subsystem sftp {{ server.lib_dir }}/sftp-server