Update Windows Server Insider 18317

parent 19fb5eab
......@@ -4,5 +4,5 @@
PACKER_LOG=debug packer build \
--only=vmware-iso \
--var vhv_enable=true \
--var iso_url=~/packer_cache/insider/Windows_InsiderPreview_Server_en-us_18298.iso \
--var iso_url=~/packer_cache/insider/Windows_InsiderPreview_Server_en-us_18317.iso \
windows_server_insider_docker.json
# use docker_provider: "ee", "ce", "master" or ""
$docker_provider = "ee"
$docker_version = "18-09-1"
if (Test-Path env:docker_provider) {
......@@ -9,22 +10,19 @@ if (Test-Path env:docker_version) {
$ProgressPreference = 'SilentlyContinue'
if ($docker_provider -eq "ce") {
Set-ExecutionPolicy Bypass -scope Process
New-Item -Type Directory -Path "$($env:ProgramFiles)\docker"
Write-Output "Downloading docker $docker_version ..."
wget -outfile $env:TEMP\docker.zip $("https://download.docker.com/win/static/edge/x86_64/docker-{0}-ce.zip" -f $docker_version)
Expand-Archive -Path $env:TEMP\docker.zip -DestinationPath $env:TEMP -Force
copy $env:TEMP\docker\*.exe $env:ProgramFiles\docker
Remove-Item $env:TEMP\docker.zip
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$($env:ProgramFiles)\docker", [EnvironmentVariableTarget]::Machine)
$env:Path = $env:Path + ";$($env:ProgramFiles)\docker"
Write-Output "Registering docker service ..."
. dockerd --register-service
$zip_url = $("https://download.docker.com/win/static/edge/x86_64/docker-{0}-ce.zip" -f $docker_version)
} elseif ($docker_provider -eq "ee") {
$zip_url = $("https://dockermsft.blob.core.windows.net/dockercontainer/docker-{0}.zip" -f $docker_version)
} elseif ($docker_provider -eq "master") {
$docker_version = "master"
$zip_url = "https://master.dockerproject.com/windows/x86_64/docker.zip"
}
if ($zip_url) {
Set-ExecutionPolicy Bypass -scope Process
New-Item -Type Directory -Path "$($env:ProgramFiles)\docker"
Write-Output "Downloading docker $docker_version ..."
wget -outfile $env:TEMP\docker.zip $("https://dockermsft.blob.core.windows.net/dockercontainer/docker-{0}.zip" -f $docker_version)
wget -outfile $env:TEMP\docker.zip $zip_url
Expand-Archive -Path $env:TEMP\docker.zip -DestinationPath $env:TEMP -Force
copy $env:TEMP\docker\*.* $env:ProgramFiles\docker
Remove-Item $env:TEMP\docker.zip
......
......@@ -129,9 +129,9 @@
"disk_size": "61440",
"disk_type_id": "1",
"headless": "false",
"iso_checksum": "0dccf29961df59f55a637bb111729ae5123ea8ba63917424e40bd094100fc2b7",
"iso_checksum": "2F2BB244DADCBA9E47E43D455AB5F2E7D14B91245BFCFBC8F20DD4E5CAFC0920",
"iso_checksum_type": "sha256",
"iso_url": "https://software-download.microsoft.com/sg/Windows_InsiderPreview_Server_en-us_18298.iso",
"iso_url": "https://software-download.microsoft.com/sg/Windows_InsiderPreview_Server_en-us_18317.iso",
"manually_download_iso_from": "https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver",
"restart_timeout": "5m",
"vhv_enable": "false",
......
......@@ -144,13 +144,13 @@
"disk_size": "61440",
"disk_type_id": "1",
"old_docker_images": "microsoft/nanoserver-insider microsoft/windowsservercore-insider",
"docker_images": "mcr.microsoft.com/windows/nanoserver/insider:10.0.18298.1000 mcr.microsoft.com/windows/servercore/insider:10.0.18298.1000 mcr.microsoft.com/windows/insider:10.0.18298.1000",
"docker_provider": "ee",
"docker_version": "18-09-1",
"docker_images": "mcr.microsoft.com/windows/nanoserver/insider:10.0.18317.1000 mcr.microsoft.com/windows/servercore/insider:10.0.18317.1000 mcr.microsoft.com/windows/insider:10.0.18317.1000",
"docker_provider": "master",
"docker_version": "",
"headless": "false",
"iso_checksum": "0dccf29961df59f55a637bb111729ae5123ea8ba63917424e40bd094100fc2b7",
"iso_checksum": "2F2BB244DADCBA9E47E43D455AB5F2E7D14B91245BFCFBC8F20DD4E5CAFC0920",
"iso_checksum_type": "sha256",
"iso_url": "https://software-download.microsoft.com/pr/Windows_InsiderPreview_Server_en-us_18298.iso",
"iso_url": "https://software-download.microsoft.com/pr/Windows_InsiderPreview_Server_en-us_18317.iso",
"manually_download_iso_from": "https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver",
"restart_timeout": "5m",
"vhv_enable": "true",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment