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
14952146
Unverified
Commit
14952146
authored
Apr 19, 2019
by
Stefan Scherer
Browse files
Fix hyperv keywords for packer 1.4.0
parent
d97193f4
Changes
21
Hide whitespace changes
Inline
Side-by-side
windows_10.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"6m"
,
"communicator"
:
"winrm"
,
"cpu"
:
"2"
,
"cpu
s
"
:
"2"
,
"disk_size"
:
"{{user `disk_size`}}"
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
"2048"
,
"
memory
"
:
"2048"
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `switch_name`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_10_insider.json
View file @
14952146
...
...
@@ -74,7 +74,7 @@
],
"boot_wait"
:
"1s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -83,7 +83,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"secondary_iso_images"
:
[
"./iso/windows_10_insider_unattend.iso"
],
...
...
windows_2012_r2.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0m"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"a:/sysprep.bat"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2012_r2_core.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0m"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"a:/sysprep.bat"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2016.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"a:/sysprep.bat"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2016_core.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"floppy_files"
:
[
...
...
@@ -18,7 +18,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2016_dc.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"floppy_files"
:
[
...
...
@@ -18,7 +18,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2016_docker.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2016_hyperv.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"floppy_files"
:
[
...
...
@@ -17,7 +17,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2019.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"a:/sysprep.bat"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2019_core.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"floppy_files"
:
[
...
...
@@ -18,7 +18,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2019_docker.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_2019_docker_azure.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"0s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"differencing_disk"
:
false
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
...
...
@@ -23,7 +23,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"a:/sysprep.bat"
,
"skip_compaction"
:
true
,
"skip_export"
:
true
,
...
...
windows_server_1709.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_1709_docker.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_1803.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_1803_docker.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_1809.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -20,7 +20,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_1809_docker.json
View file @
14952146
...
...
@@ -3,7 +3,7 @@
{
"boot_wait"
:
"60s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -21,7 +21,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"type"
:
"hyperv-iso"
,
...
...
windows_server_insider.json
View file @
14952146
...
...
@@ -6,7 +6,7 @@
],
"boot_wait"
:
"1s"
,
"communicator"
:
"winrm"
,
"cpu"
:
2
,
"cpu
s
"
:
2
,
"disk_size"
:
"{{user `disk_size`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
,
...
...
@@ -15,7 +15,7 @@
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"
ram_size
"
:
2048
,
"
memory
"
:
2048
,
"secondary_iso_images"
:
[
"./iso/windows_server_insider_unattend.iso"
],
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
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