xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called
@ 2017-04-27 14:15 Anthony PERARD
  0 siblings, 0 replies; only message in thread
From: Anthony PERARD @ 2017-04-27 14:15 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony PERARD, Ian Jackson

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>
---

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(+)

diff --git a/ts-openstack-deploy b/ts-openstack-deploy
index 119958b..fa2bda5 100755
--- a/ts-openstack-deploy
+++ b/ts-openstack-deploy
@@ -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
 }
 
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-27 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 14:15 [PATCH] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called Anthony PERARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).