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
3e7312a0
Commit
3e7312a0
authored
Oct 12, 2017
by
Pascal Beutels
Committed by
GitHub
Oct 12, 2017
Browse files
Added hyperv-iso builder
parent
8b3b8f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
windows_10.json
View file @
3e7312a0
{
"builders"
:
[
{
"type"
:
"hyperv-iso"
,
"vm_name"
:
"windows_10"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"boot_wait"
:
"6m"
,
"communicator"
:
"winrm"
,
"winrm_username"
:
"vagrant"
,
"winrm_password"
:
"vagrant"
,
"winrm_timeout"
:
"4h"
,
"ram_size"
:
"2048"
,
"cpu"
:
"2"
,
"switch_name"
:
"{{user `switch_name`}}"
,
"guest_additions_mode"
:
"none"
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"disk_size"
:
"{{user `disk_size`}}"
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/fixnetwork.ps1"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
"./scripts/win-updates.ps1"
]
},
{
"type"
:
"vmware-iso"
,
"vm_name"
:
"windows_10"
,
...
...
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