You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/08/24 15:09:54 UTC

[geode] 05/06: Revert to using the external IP

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch windows-heavy-lifter
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 79fee3b5acbdfc3af666bf584c8716fe93ea8b22
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Thu Aug 23 16:18:35 2018 -0700

    Revert to using the external IP
---
 ci/scripts/start_instance.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ci/scripts/start_instance.sh b/ci/scripts/start_instance.sh
index d35afa2..00dc004 100755
--- a/ci/scripts/start_instance.sh
+++ b/ci/scripts/start_instance.sh
@@ -103,7 +103,7 @@ done
 echo "${INSTANCE_INFORMATION}" > instance-data/instance-information
 
 # This extracts the internal IP address for subsequent use
-INSTANCE_IP_ADDRESS=$(echo ${INSTANCE_INFORMATION} | jq -r '.[].networkInterfaces[0].networkIP')
+INSTANCE_IP_ADDRESS=$(echo ${INSTANCE_INFORMATION} | jq -r '.[].networkInterfaces[0].accessConfigs[0].natIP')
 echo "${INSTANCE_IP_ADDRESS}" > "instance-data/instance-ip-address"
 
 if [[ -z "${WINDOWS_PREFIX}" ]]; then
@@ -122,5 +122,6 @@ else
   KEY=$( cat ${SSHKEY_FILE} )
 
   winrm -hostname ${INSTANCE_IP_ADDRESS} -username geode -password "${PASSWORD}" \
+    -https -insecure -port 5986 \
     "powershell -command \"&{ mkdir c:\users\geode\.ssh -force; set-content -path c:\users\geode\.ssh\authorized_keys -encoding utf8 -value '${KEY}' }\""
 fi