Skip to contentSkip to conversation

ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called

PATCH New Anthony PERARD 1 participant 1 message Apr 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

This patch is on top of your wip.openstack branch, the whole branch can be found here:

https://xenbits.xen.org/git-http/people/aperard/osstest.git openstack-nova-v11

---
 ts-openstack-deploy | 1 +
 1 file changed, 1 insertion(+)
ts-openstack-deploy +1 -0
index 119958b..fa2bda5 100755
@@ -133,6 +133,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
 }
 
Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel