diff options
Diffstat (limited to 'plans/portal-sdk/testsuite/setup.sh')
-rw-r--r-- | plans/portal-sdk/testsuite/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/portal-sdk/testsuite/setup.sh b/plans/portal-sdk/testsuite/setup.sh index 6510311c..c75e0788 100644 --- a/plans/portal-sdk/testsuite/setup.sh +++ b/plans/portal-sdk/testsuite/setup.sh @@ -11,7 +11,7 @@ XVFBPID=$! # Get pid of this spawned process to make sure we kill the correct process later #Get current IP of VM -HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $NF}') +HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $7}') export HOST_IP=${HOST_IP} @@ -172,7 +172,7 @@ fi #Get current IP of VM -HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $NF}') +HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $7}') export HOST_IP=${HOST_IP} #docker logs deliveries_portal-db_1 |