summaryrefslogtreecommitdiffstats
path: root/vagrant_utils
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-04-23 01:05:02 -0700
committerVictor Morales <victor.morales@intel.com>2018-04-23 01:05:02 -0700
commit53c52795b9008893dbf5739dfdafbaf100fa81ef (patch)
tree96702e7650d0b1f9099e350bebbbdfa888681438 /vagrant_utils
parent8be83219fd8fc9983ac90a700b25c35555f45c49 (diff)
Update OOM script
The instructions to deploy ONAP thru OOM tool has been changed, it's using Helm Charts for performing the deployment. This change reflects that change. Given that using Rancher adds an additional layer to the deployment, it was provided an alternative method to deploy Kubernetes via kubespray. This tool provides a production ready k8s deployment. Change-Id: Ied3f5fc9e5c97b4c0f8e623b9d6f3c4f52fc822e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
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