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
The following commit(s) were added to refs/heads/windows-heavy-lifter by this
push:
new 1f9ff3b Revert to using the external IP
1f9ff3b is described below
commit 1f9ff3bef45d0aa0205cea658c21971b029824eb
Author: Jens Deppe <[email protected]>
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