From patchwork Tue Jul 25 11:57:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9861863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D2896601A1 for ; Tue, 25 Jul 2017 12:01:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD74528607 for ; Tue, 25 Jul 2017 12:01:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C264728652; Tue, 25 Jul 2017 12:01:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 745842865F for ; Tue, 25 Jul 2017 12:01:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZyTV-00025e-SY; Tue, 25 Jul 2017 11:58:05 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZyTV-00025G-2s for xen-devel@lists.xenproject.org; Tue, 25 Jul 2017 11:58:05 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id CF/53-02181-C4237795; Tue, 25 Jul 2017 11:58:04 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMIsWRWlGSWpSXmKPExsXitHRDpK63UXm kQX+jrcX3LZOZHBg9Dn+4whLAGMWamZeUX5HAmtE89zdjwTHWivebXBoYH7J0MXJySAj4S1zb vJkdxGYTMJBYMf0qYxcjB4eIgIrE7b0GIGFmgQiJFzdWsYHYwgLxEk/3bmMGKWERUJWYfNsYx OQVsJOY9SQVYqC8xMTeaYwgNqeAvcTP/dfBhgsBlWzeuQHKVpO4sXAZ2AG8AoISJ2c+YYHYJC Fx8MUL5gmMvLOQpGYhSS1gZFrFqFGcWlSWWqRrZKqXVJSZnlGSm5iZo2toYKyXm1pcnJiempO YVKyXnJ+7iREYNPUMDIw7GFtP+B1ilORgUhLl/aZbHinEl5SfUpmRWJwRX1Sak1p8iFGGg0NJ gnezIVBOsCg1PbUiLTMHGL4waQkOHiUR3n0gad7igsTc4sx0iNQpRmOOpg9bvjBxvJrw/xuTE Etefl6qlDhvJkipAEhpRmke3CBYXF1ilJUS5mVkYGAQ4ilILcrNLEGVf8UozsGoJMwrDDKFJz OvBG7fK6BTmIBOmTOjFOSUkkSElFQDI89S67NKp34yTwxYLLx6av3PE/NMtWwniKkdvrJsf1d uTO+6DNlbMQveTN7TJ/Nf7uDyT/x3Thz5vyfBL7HcI93z/FahNrHFKcwZd9suLBTXmXJbsPH/ hrV1+hwKxaKWb3SEJvnMuHqlpqZvcn5e7Y9Jsa8edr9oXnH3wc7NMwTKNhwoU+Y4Wa/EUpyRa KjFXFScCABRRrbPpgIAAA== X-Env-Sender: prvs=372f2a2d8=anthony.perard@citrix.com X-Msg-Ref: server-6.tower-31.messagelabs.com!1500983881!68464431!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 3224 invoked from network); 25 Jul 2017 11:58:03 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 25 Jul 2017 11:58:03 -0000 X-IronPort-AV: E=Sophos;i="5.40,411,1496102400"; d="scan'208";a="432844203" From: Anthony PERARD To: Date: Tue, 25 Jul 2017 12:57:41 +0100 Message-ID: <20170725115759.21895-7-anthony.perard@citrix.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170725115759.21895-1-anthony.perard@citrix.com> References: <20170725115759.21895-1-anthony.perard@citrix.com> MIME-Version: 1.0 Cc: Anthony PERARD , Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH v13 06/24] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Ian Jackson --- ts-openstack-deploy | 1 + 1 file changed, 1 insertion(+) 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, <