From d80265f6e5403ff112c5d153e9730f74a94236d5 Mon Sep 17 00:00:00 2001 From: Will Parker Date: Thu, 25 Mar 2021 10:07:20 +0000 Subject: [PATCH] pbTests: Rearm Windows VF --- ansible/pbTestScripts/vagrantPlaybookCheck.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ansible/pbTestScripts/vagrantPlaybookCheck.sh b/ansible/pbTestScripts/vagrantPlaybookCheck.sh index 0eecd0361a..f3b2cba9b9 100755 --- a/ansible/pbTestScripts/vagrantPlaybookCheck.sh +++ b/ansible/pbTestScripts/vagrantPlaybookCheck.sh @@ -283,6 +283,11 @@ startVMPlaybookWin() # See https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1287#issuecomment-625142917 BUILD_ID=dontKillMe vagrant up + # Rearm the evaluation license for 180 days to stop the VMs shutting down + # See: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/2056 + 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 }')