aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/portal
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-10 16:41:05 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-10 16:41:05 +0000
commit7c07560d896fb62eb9b5a461a184e8296f299a0f (patch)
treeee6fea8ccb8a4bb8b7dfc0d470d8fb77543272e5 /bootstrap/vagrant-onap/lib/portal
parent47a6f470675ef28c5c7d5e9826fe6696fa139d14 (diff)
parent2a2d04d8b977d3090f2c57a18c39c770804d97f1 (diff)
Merge "Externalize IP_ADDRESS variable"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/portal')
-rwxr-xr-xbootstrap/vagrant-onap/lib/portal1
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