Message ID | 20170616175704.7832-8-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Anthony PERARD writes ("[OSSTEST PATCH v11 07/20] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called"): > This is part of commit "ts-openstack-deploy: set CURL_CA_BUNDLE" but > also allow pip to work when it is called via sudo without preserving the > existing environment variables. Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff --git a/ts-openstack-deploy b/ts-openstack-deploy index 6d7de1c..147071f 100755 --- a/ts-openstack-deploy +++ b/ts-openstack-deploy @@ -132,6 +132,7 @@ END target_putfilecontents_root_stash($ho, 100, <<END, "/etc/sudoers.d/devstack"); osstest ALL=(ALL) NOPASSWD:ALL +Defaults:osstest env_keep += "CURL_CA_BUNDLE" END }
This is part of commit "ts-openstack-deploy: set CURL_CA_BUNDLE" but also allow pip to work when it is called via sudo without preserving the existing environment variables. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- ts-openstack-deploy | 1 + 1 file changed, 1 insertion(+)