diff options
author | platania <platania@research.att.com> | 2017-02-22 16:55:10 -0500 |
---|---|---|
committer | platania <platania@research.att.com> | 2017-02-22 16:55:10 -0500 |
commit | 061cd2bb816ba1034f372c6013f18da71cde97e6 (patch) | |
tree | 2dd632e722b76c84b5c9cad583ba7ce3e173d943 /boot/policy_vm_init.sh | |
parent | 4f98547c03dc9c8a295ae46e066ff09dd961d5a3 (diff) |
update policy and portal init
Change-Id: I5352f4f584c26011aee4b3ecfd1031006376e18f
Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'boot/policy_vm_init.sh')
-rw-r--r-- | boot/policy_vm_init.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/boot/policy_vm_init.sh b/boot/policy_vm_init.sh index af4638c9..6ebfac92 100644 --- a/boot/policy_vm_init.sh +++ b/boot/policy_vm_init.sh @@ -6,11 +6,10 @@ NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) cd /opt/policy git pull -cd /opt -chmod +x policy/config/drools/drools-tweaks.sh +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 > /opt/policy/config/pe/ip_addr.txt +echo $IP_ADDRESS > config/pe/ip_addr.txt docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO /opt/docker/docker-compose up -d |