mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-25 17:27:33 +00:00
Perserve env variables
This patch set adds in -E flag for ``sudo pip install`` so any environment variable is preserved for the install. This allows for some proxy-related variables such as ``http_proxy`` to pass through for pip. Change-Id: I89881d811b53b27e2663a40c1c96fcf18e614b00
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
set -xe
|
||||
|
||||
sudo -H pip install python-openstackclient python-heatclient
|
||||
sudo -H -E pip install python-openstackclient python-heatclient
|
||||
|
||||
sudo -H mkdir -p /etc/openstack
|
||||
cat << EOF | sudo -H tee -a /etc/openstack/clouds.yaml
|
||||
|
||||
@@ -62,10 +62,10 @@ function base_install {
|
||||
python-pip
|
||||
fi
|
||||
|
||||
sudo -H pip install --upgrade pip
|
||||
sudo -H pip install --upgrade setuptools
|
||||
sudo -H pip install pyyaml
|
||||
sudo -H pip install yq
|
||||
sudo -H -E pip install --upgrade pip
|
||||
sudo -H -E pip install --upgrade setuptools
|
||||
sudo -H -E pip install pyyaml
|
||||
sudo -H -E pip install yq
|
||||
|
||||
if [ "x$SDN_PLUGIN" == "xlinuxbridge" ]; then
|
||||
sdn_lb_support_install
|
||||
|
||||
Reference in New Issue
Block a user