summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/policy
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-08-10 10:27:38 -0500
committerVictor Morales <victor.morales@intel.com>2017-08-10 10:27:38 -0500
commit2a2d04d8b977d3090f2c57a18c39c770804d97f1 (patch)
treee71171b0ff56783eb4a3551a340a5d2f8995977f /bootstrap/vagrant-onap/lib/policy
parentbafd0b7a83b442983e3736af71da28f45b03b9ff (diff)
Externalize IP_ADDRESS variable
Several places were using this variable, therefore it was placed in a common place. Change-Id: I481a62482cd2bb55b4a76623309d0977ddb67fe7 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap/lib/policy')
-rwxr-xr-xbootstrap/vagrant-onap/lib/policy1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/lib/policy b/bootstrap/vagrant-onap/lib/policy
index b987c4c96..f4dc5fb20 100755
--- a/bootstrap/vagrant-onap/lib/policy
+++ b/bootstrap/vagrant-onap/lib/policy
@@ -44,7 +44,6 @@ function install_policy {
fi
pushd $src_folder/docker
chmod +x config/drools/drools-tweaks.sh
- IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
echo $IP_ADDRESS > config/pe/ip_addr.txt
install_docker_compose
/opt/docker/docker-compose up -d