From: Anthony PERARD <anthony.perard@citrix.com>
To: xen-devel@lists.xen.org
Cc: Anthony PERARD <anthony.perard@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [PATCH] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called
Date: Thu, 27 Apr 2017 15:15:57 +0100 [thread overview]
Message-ID: <20170427141557.24039-1-anthony.perard@citrix.com> (raw)
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
reply other threads:[~2017-04-27 14:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170427141557.24039-1-anthony.perard@citrix.com \
--to=anthony.perard@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).