aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/openstack
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-20 03:04:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-20 03:04:40 +0000
commit8fa101a3dd2edf8e432b9447a886cfb583100fb0 (patch)
tree914ca872a6337fcbaff07ca1d2d437ffda0aa012 /bootstrap/vagrant-onap/lib/openstack
parent16038805de5da569592d3c951b3ca64973b0108a (diff)
parentfdf88f32579d606cd82deadd3c89fac77b6aa472 (diff)
Merge "Add kolla internal vip to no_proxy"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/openstack')
-rwxr-xr-xbootstrap/vagrant-onap/lib/openstack4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/lib/openstack b/bootstrap/vagrant-onap/lib/openstack
index 205d7ae80..5e5189086 100755
--- a/bootstrap/vagrant-onap/lib/openstack
+++ b/bootstrap/vagrant-onap/lib/openstack
@@ -32,6 +32,10 @@ function configure_deploy {
ip_address=$(ip route get $network_id | awk '{ print $6; exit }')
internal_vip_address=$(get_next_ip $ip_address)
+ if [[ `env | grep -i "proxy"` ]]; then
+ add_no_proxy_value $internal_vip_address
+ fi
+
mkdir -p $kolla_config
cp /var/onap/files/globals.yml $kolla_globals
cp /var/onap/files/passwords.yml $kolla_passwords