Skip to content

Commit

Permalink
pbTests: Rearm Windows VF
Browse files Browse the repository at this point in the history
  • Loading branch information
Willsparker committed Apr 1, 2021
1 parent 438082c commit 60fa3a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/pbTestScripts/vagrantPlaybookCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ startVMPlaybookWin()
# See https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1287#issuecomment-625142917
BUILD_ID=dontKillMe vagrant up

# Rearm the evaluation license and reboot system
vagrant winrm --shell cmd -c "slmgr.vbs /rearm //b"
vagrant reload

# 5986 refers to the winrm_ssl port on the guest
# See: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1504#issuecomment-672930832
vagrantPort=$(vagrant port | awk '/5986/ { print $4 }')
Expand Down

0 comments on commit 60fa3a7

Please sign in to comment.