diff options
author | Victor Morales <victor.morales@intel.com> | 2017-08-10 10:27:38 -0500 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-08-10 10:27:38 -0500 |
commit | 2a2d04d8b977d3090f2c57a18c39c770804d97f1 (patch) | |
tree | e71171b0ff56783eb4a3551a340a5d2f8995977f /bootstrap/vagrant-onap/lib/portal | |
parent | bafd0b7a83b442983e3736af71da28f45b03b9ff (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/portal')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/portal | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/lib/portal b/bootstrap/vagrant-onap/lib/portal index 6c8e7d0a9..8bd39b7e9 100755 --- a/bootstrap/vagrant-onap/lib/portal +++ b/bootstrap/vagrant-onap/lib/portal @@ -55,7 +55,6 @@ function install_portal { sleep 180 if [ ! -e /opt/config/boot.txt ]; then - IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) install_package mysql-client mysql -u root -p'Aa123456' -h $IP_ADDRESS < Apps_Users_OnBoarding_Script.sql echo "yes" > /opt/config/boot.txt |