From 2a2d04d8b977d3090f2c57a18c39c770804d97f1 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 10 Aug 2017 10:27:38 -0500 Subject: 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 --- bootstrap/vagrant-onap/lib/policy | 1 - 1 file changed, 1 deletion(-) (limited to 'bootstrap/vagrant-onap/lib/policy') 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 -- cgit 1.2.3-korg