Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
2e3ce2c7
Unverified
Commit
2e3ce2c7
authored
Oct 16, 2020
by
Stefan Scherer
Committed by
GitHub
Oct 16, 2020
Browse files
Merge pull request #273 from qmfrederik/features/2019-core-kvm
Add KVM support for Windows 2019 Core
parents
45cf4981
cf961549
Changes
1
Hide whitespace changes
Inline
Side-by-side
windows_2019_core.json
View file @
2e3ce2c7
{
{
"builders"
:
[
"builders"
:
[
{
"accelerator"
:
"kvm"
,
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpus"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
"./scripts/win-updates.ps1"
],
"headless"
:
true
,
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"memory"
:
"{{user `memory`}}"
,
"output_directory"
:
"windows_2019_docker-qemu"
,
"qemuargs"
:
[
[
"-drive"
,
"file=windows_2019-qemu/{{ .Name }},if=virtio,cache=writeback,discard=ignore,format=qcow2,index=1"
],
[
"-drive"
,
"file={{ user `virtio_win_iso` }},media=cdrom,index=3"
]
],
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"type"
:
"qemu"
,
"vm_name"
:
"WindowsServer2019Docker"
,
"winrm_password"
:
"vagrant"
,
"winrm_timeout"
:
"{{user `winrm_timeout`}}"
,
"winrm_username"
:
"vagrant"
},
{
{
"boot_wait"
:
"0s"
,
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"communicator"
:
"winrm"
,
...
@@ -128,7 +164,8 @@
...
@@ -128,7 +164,8 @@
"iso_checksum"
:
"sha256:549bca46c055157291be6c22a3aaaed8330e78ef4382c99ee82c896426a1cee1"
,
"iso_checksum"
:
"sha256:549bca46c055157291be6c22a3aaaed8330e78ef4382c99ee82c896426a1cee1"
,
"iso_url"
:
"https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso"
,
"iso_url"
:
"https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso"
,
"manually_download_iso_from"
:
"https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019"
,
"manually_download_iso_from"
:
"https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2019"
,
"winrm_timeout"
:
"6h"
"winrm_timeout"
:
"6h"
,
"virtio_win_iso"
:
"~/virtio-win.iso"
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment