diff --git a/answer_files/2008_r2/Autounattend.xml b/answer_files/2008_r2/Autounattend.xml index 0fdf25b..6a709bf 100644 --- a/answer_files/2008_r2/Autounattend.xml +++ b/answer_files/2008_r2/Autounattend.xml @@ -143,19 +143,19 @@ true - cmd.exe /c winrm set winrm/config/winrs @{MaxShellsPerUser="50"} + cmd.exe /c winrm set winrm/config/winrs @{MaxShellsPerUser="999"} Win RM MaxShellsPerUser 7 true - cmd.exe /c winrm set winrm/config/winrs @{MaxProcessesPerShell="50"} + cmd.exe /c winrm set winrm/config/winrs @{MaxProcessesPerShell="999"} Win RM MaxProcessesPerShell 8 true - cmd.exe /c winrm set winrm/config/service @{MaxConcurrentOperationsPerUser="50"} + cmd.exe /c winrm set winrm/config/service @{MaxConcurrentOperationsPerUser="999"} Win RM ConcurrentOperationsPerUser 9 true diff --git a/build_win2008.ps1 b/build_win2008.ps1 index 724969b..47264a5 100644 --- a/build_win2008.ps1 +++ b/build_win2008.ps1 @@ -1,8 +1,8 @@ $ErrorActionPreference = "Stop" -$virtualBoxMinVersion = "5.0.0" +$virtualBoxMinVersion = "5.1.0" $packerMinVersion = "0.10.0" -$vagrantMinVersion = "1.8.1" +$vagrantMinVersion = "1.8.6" $vagrantreloadMinVersion = "0.0.1" function CompareVersions ($actualVersion, $expectedVersion, $exactMatch = $False) { @@ -55,10 +55,10 @@ If ($(Test-Path "C:\HashiCorp\Vagrant\bin\vagrant.exe") -eq $True) { $vagrantVersion = $vagrantVersion.split(" ")[1] } -If (CompareVersions -actualVersion $vagrantVersion -expectedVersion $vagrantMinVersion -exactVersion True) { +If (CompareVersions -actualVersion $vagrantVersion -expectedVersion $vagrantMinVersion) { Write-Host "Compatible version of Vagrant found." } else { - Write-Host "Could not find a compatible version of Vagrant at C:\HashiCorp\Vagrant\bin\. At this time only $vagrantMinVersion is supported. Please download and install it from https://releases.hashicorp.com/vagrant/1.8.1/." + Write-Host "Could not find a compatible version of Vagrant at C:\HashiCorp\Vagrant\bin\. Please download and install it from https://www.vagrantup.com/downloads.html." exit } diff --git a/build_win2008.sh b/build_win2008.sh index 99e37c3..acabedc 100755 --- a/build_win2008.sh +++ b/build_win2008.sh @@ -1,7 +1,7 @@ #!/bin/bash -min_virtualbox_ver="5.0.0" -min_vagrant_ver="1.8.1" +min_virtualbox_ver="5.1.0" +min_vagrant_ver="1.8.6" min_packer_ver="0.10.0" min_vagrantreload_ver="0.0.1" @@ -48,10 +48,10 @@ else exit 1 fi -if compare_versions $(vagrant -v | cut -d' ' -f2) $min_vagrant_ver true; then +if compare_versions $(vagrant -v | cut -d' ' -f2) $min_vagrant_ver false; then echo 'Correct version of vagrant was found.' else - echo "A compatible version of vagrant was not found. At this time only $min_vagrant_ver is supported. Please install from here: https://releases.hashicorp.com/vagrant/1.8.1/" + echo "A compatible version of vagrant was not found. Please download and install it from https://www.virtualbox.org/wiki/Downloads." exit 1 fi