Commit fa1fee7a authored by Frederik Carlier's avatar Frederik Carlier
Browse files

Make memory a variable

parent 34f10276
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"headless": true, "headless": true,
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": "2048", "memory": "{{user `memory`}}",
"output_directory": "windows_10-qemu", "output_directory": "windows_10-qemu",
"qemuargs": [ "qemuargs": [
[ [
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
"guest_additions_mode": "none", "guest_additions_mode": "none",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": "2048", "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"switch_name": "{{user `switch_name`}}", "switch_name": "{{user `switch_name`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "vmware-iso", "type": "vmware-iso",
"version": 14, "version": 14,
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"vm_name": "{{user `vm_name`}}", "vm_name": "{{user `vm_name`}}",
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
"guest_os_type": "win-10", "guest_os_type": "win-10",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 4096, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "parallels-iso", "type": "parallels-iso",
"parallels_tools_flavor": "win", "parallels_tools_flavor": "win",
...@@ -235,6 +235,7 @@ ...@@ -235,6 +235,7 @@
"autounattend": "./answer_files/10/Autounattend.xml", "autounattend": "./answer_files/10/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "false", "headless": "false",
"iso_checksum": "sha256:f1a4f2176259167cd2c8bf83f3f5a4039753b6cc28c35ac624da95a36e9620fc", "iso_checksum": "sha256:f1a4f2176259167cd2c8bf83f3f5a4039753b6cc28c35ac624da95a36e9620fc",
"iso_url": "https://software-download.microsoft.com/download/pr/19041.264.200511-0456.vb_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso", "iso_url": "https://software-download.microsoft.com/download/pr/19041.264.200511-0456.vb_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
"headless": false, "headless": false,
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "vmware-iso", "type": "vmware-iso",
"version": 14, "version": 14,
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
"headless": false, "headless": false,
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"winrm_password": "vagrant", "winrm_password": "vagrant",
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"secondary_iso_images": [ "secondary_iso_images": [
"./iso/windows_10_insider_unattend.iso" "./iso/windows_10_insider_unattend.iso"
], ],
...@@ -143,6 +143,7 @@ ...@@ -143,6 +143,7 @@
"variables": { "variables": {
"autounattend": "./answer_files/10_insider/Autounattend.xml", "autounattend": "./answer_files/10_insider/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"memory": "2048",
"iso_checksum": "sha256:b4b774e4816dc4b28ea14ea1e7283ac53beb2be216aca3a0cbcceb60a05d32de", "iso_checksum": "sha256:b4b774e4816dc4b28ea14ea1e7283ac53beb2be216aca3a0cbcceb60a05d32de",
"iso_url": "https://software-download.microsoft.com/pr/Windows10_InsiderPreview_EnterpriseVL_x64_en-us_19035.iso", "iso_url": "https://software-download.microsoft.com/pr/Windows10_InsiderPreview_EnterpriseVL_x64_en-us_19035.iso",
"manually_download_iso_from": "https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewadvanced" "manually_download_iso_from": "https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewadvanced"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5", "iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5",
"iso_url": "https://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso", "iso_url": "https://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "6h", "ssh_timeout": "6h",
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"headless": false, "headless": false,
"iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5", "iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5",
"iso_url": "https://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso", "iso_url": "https://download.microsoft.com/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "6h", "ssh_timeout": "6h",
...@@ -83,7 +83,8 @@ ...@@ -83,7 +83,8 @@
} }
], ],
"variables": { "variables": {
"disk_size": "61440" "disk_size": "61440",
"memory": "2048"
} }
} }
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5", "iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso", "iso_url": "http://care.dlservice.microsoft.com/dl/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "2h", "ssh_timeout": "2h",
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5", "iso_checksum": "md5:4263be2cf3c59177c45085c0a7bc6ca5",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso", "iso_url": "http://care.dlservice.microsoft.com/dl/download/7/5/E/75EC4E54-5B02-42D6-8879-D8D3A25FBEF7/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "2h", "ssh_timeout": "2h",
...@@ -80,7 +80,8 @@ ...@@ -80,7 +80,8 @@
} }
], ],
"variables": { "variables": {
"disk_size": "61440" "disk_size": "61440",
"memory": "2048"
} }
} }
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:8503997171f731d9bd1cb0b0edc31f3d", "iso_checksum": "md5:8503997171f731d9bd1cb0b0edc31f3d",
"iso_url": "https://download.microsoft.com/download/6/D/A/6DAB58BA-F939-451D-9101-7DE07DC09C03/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO", "iso_url": "https://download.microsoft.com/download/6/D/A/6DAB58BA-F939-451D-9101-7DE07DC09C03/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "2h", "ssh_timeout": "2h",
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:8503997171f731d9bd1cb0b0edc31f3d", "iso_checksum": "md5:8503997171f731d9bd1cb0b0edc31f3d",
"iso_url": "https://download.microsoft.com/download/6/D/A/6DAB58BA-F939-451D-9101-7DE07DC09C03/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO", "iso_url": "https://download.microsoft.com/download/6/D/A/6DAB58BA-F939-451D-9101-7DE07DC09C03/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "2h", "ssh_timeout": "2h",
...@@ -81,7 +81,8 @@ ...@@ -81,7 +81,8 @@
} }
], ],
"variables": { "variables": {
"disk_size": "61440" "disk_size": "61440",
"memory": "2048"
} }
} }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"switch_name": "{{user `hyperv_switchname`}}", "switch_name": "{{user `hyperv_switchname`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"skip_compaction": true, "skip_compaction": true,
"type": "vmware-iso", "type": "vmware-iso",
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"vm_name": "windows_2012_r2", "vm_name": "windows_2012_r2",
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
"autounattend": "./answer_files/2012_r2/Autounattend.xml", "autounattend": "./answer_files/2012_r2/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "true", "headless": "true",
"hyperv_switchname": "{{env `hyperv_switchname`}}", "hyperv_switchname": "{{env `hyperv_switchname`}}",
"iso_checksum": "md5:5b5e08c490ad16b59b1d9fab0def883a", "iso_checksum": "md5:5b5e08c490ad16b59b1d9fab0def883a",
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"switch_name": "{{user `hyperv_switchname`}}", "switch_name": "{{user `hyperv_switchname`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "vmware-iso", "type": "vmware-iso",
"vmx_data": { "vmx_data": {
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"winrm_password": "vagrant", "winrm_password": "vagrant",
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
"autounattend": "./answer_files/2012_r2_core/Autounattend.xml", "autounattend": "./answer_files/2012_r2_core/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "true", "headless": "true",
"hyperv_switchname": "{{env `hyperv_switchname`}}", "hyperv_switchname": "{{env `hyperv_switchname`}}",
"iso_checksum": "md5:5b5e08c490ad16b59b1d9fab0def883a", "iso_checksum": "md5:5b5e08c490ad16b59b1d9fab0def883a",
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:9c9e0d82cb6301a4b88fd2f4c35caf80", "iso_checksum": "md5:9c9e0d82cb6301a4b88fd2f4c35caf80",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/F/7/D/F7DF966B-5C40-4674-9A32-D83D869A3244/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVERHYPERCORE_EN-US-IRM_SHV_X64FRE_EN-US_DV5.ISO", "iso_url": "http://care.dlservice.microsoft.com/dl/download/F/7/D/F7DF966B-5C40-4674-9A32-D83D869A3244/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVERHYPERCORE_EN-US-IRM_SHV_X64FRE_EN-US_DV5.ISO",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "6h", "ssh_timeout": "6h",
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"headless": true, "headless": true,
"iso_checksum": "md5:9c9e0d82cb6301a4b88fd2f4c35caf80", "iso_checksum": "md5:9c9e0d82cb6301a4b88fd2f4c35caf80",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/F/7/D/F7DF966B-5C40-4674-9A32-D83D869A3244/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVERHYPERCORE_EN-US-IRM_SHV_X64FRE_EN-US_DV5.ISO", "iso_url": "http://care.dlservice.microsoft.com/dl/download/F/7/D/F7DF966B-5C40-4674-9A32-D83D869A3244/9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVERHYPERCORE_EN-US-IRM_SHV_X64FRE_EN-US_DV5.ISO",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ssh_password": "vagrant", "ssh_password": "vagrant",
"ssh_timeout": "6h", "ssh_timeout": "6h",
...@@ -83,7 +83,8 @@ ...@@ -83,7 +83,8 @@
} }
], ],
"variables": { "variables": {
"disk_size": "61440" "disk_size": "61440",
"memory": "2048"
} }
} }
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"switch_name": "{{user `hyperv_switchname`}}", "switch_name": "{{user `hyperv_switchname`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"type": "vmware-iso", "type": "vmware-iso",
"version": 14, "version": 14,
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"vm_name": "WindowsServer2016", "vm_name": "WindowsServer2016",
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
"autounattend": "./answer_files/2016/Autounattend.xml", "autounattend": "./answer_files/2016/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "false", "headless": "false",
"hyperv_switchname": "{{env `hyperv_switchname`}}", "hyperv_switchname": "{{env `hyperv_switchname`}}",
"iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F", "iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "a:/sysprep.bat", "shutdown_command": "a:/sysprep.bat",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"vm_name": "WindowsServer2016", "vm_name": "WindowsServer2016",
...@@ -90,6 +90,7 @@ ...@@ -90,6 +90,7 @@
"aws_s3_bucket_name": "{{env `AWS_S3_BUCKET`}}", "aws_s3_bucket_name": "{{env `AWS_S3_BUCKET`}}",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "false", "headless": "false",
"iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F", "iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F",
"iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO", "iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO",
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"switch_name": "{{user `hyperv_switchname`}}", "switch_name": "{{user `hyperv_switchname`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "vmware-iso", "type": "vmware-iso",
"vmx_data": { "vmx_data": {
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"winrm_password": "vagrant", "winrm_password": "vagrant",
...@@ -123,6 +123,7 @@ ...@@ -123,6 +123,7 @@
"autounattend": "./answer_files/2016_core/Autounattend.xml", "autounattend": "./answer_files/2016_core/Autounattend.xml",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "false", "headless": "false",
"iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F", "iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F",
"iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO", "iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO",
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "virtualbox-iso", "type": "virtualbox-iso",
"winrm_password": "vagrant", "winrm_password": "vagrant",
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
"aws_s3_bucket_name": "{{env `AWS_S3_BUCKET`}}", "aws_s3_bucket_name": "{{env `AWS_S3_BUCKET`}}",
"disk_size": "61440", "disk_size": "61440",
"disk_type_id": "1", "disk_type_id": "1",
"memory": "2048",
"headless": "false", "headless": "false",
"iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F", "iso_checksum": "md5:70721288BBCDFE3239D8F8C0FAE55F1F",
"iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO", "iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO",
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"switch_name": "{{user `hyperv_switchname`}}", "switch_name": "{{user `hyperv_switchname`}}",
"type": "hyperv-iso", "type": "hyperv-iso",
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048, "memory": "{{user `memory`}}",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"type": "vmware-iso", "type": "vmware-iso",
"vm_name": "windows_2016_dc", "vm_name": "windows_2016_dc",
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
"headless": "{{user `headless`}}", "headless": "{{user `headless`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"memory": 2048,