summaryrefslogtreecommitdiffstats
path: root/vagrant_utils
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant_utils')
-rwxr-xr-xvagrant_utils/postinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/vagrant_utils/postinstall.sh b/vagrant_utils/postinstall.sh
index 3b5017a..ea13cc5 100755
--- a/vagrant_utils/postinstall.sh
+++ b/vagrant_utils/postinstall.sh
@@ -12,6 +12,13 @@ fi
source /var/onap/functions
+if [[ $no_proxy && $no_proxy != *$IP_ADDRESS* ]]; then
+ export no_proxy=$no_proxy,$IP_ADDRESS
+fi
+if [[ $NO_PROXY && $NO_PROXY != *$IP_ADDRESS* ]]; then
+ export NO_PROXY=$NO_PROXY,$IP_ADDRESS
+fi
+
update_repos
create_configuration_files
configure_bind