Commit fcaf22c0 authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Add variables

parent d9520b21
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
{ {
"type": "vmware-iso", "type": "vmware-iso",
"communicator": "winrm", "communicator": "winrm",
"iso_url": "https://aka.ms/tp4/serveriso", "iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "md5", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "6m", "boot_wait": "6m",
"boot_command": [ "<tab><enter>" ], "boot_command": [ "{{user `product_key`}}<enter>" ],
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "6h",
...@@ -39,12 +39,12 @@ ...@@ -39,12 +39,12 @@
{ {
"type": "virtualbox-iso", "type": "virtualbox-iso",
"communicator": "winrm", "communicator": "winrm",
"iso_url": "https://aka.ms/tp4/serveriso", "iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "md5", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "6m", "boot_wait": "6m",
"boot_command": [ "<tab><enter>" ], "boot_command": [ "{{user `product_key`}}<enter>" ],
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "6h",
...@@ -108,5 +108,12 @@ ...@@ -108,5 +108,12 @@
"output": "windows_2016_{{.Provider}}.box", "output": "windows_2016_{{.Provider}}.box",
"vagrantfile_template": "vagrantfile-windows_2016.template" "vagrantfile_template": "vagrantfile-windows_2016.template"
} }
] ],
"variables": {
"iso_url": "https://aka.ms/tp4/serveriso",
"iso_checksum_type": "md5",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa",
"autounattend": "./answer_files/2016/Autounattend.xml",
"product_key": "<tab>"
}
} }
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
{ {
"type": "vmware-iso", "type": "vmware-iso",
"communicator": "winrm", "communicator": "winrm",
"iso_url": "https://aka.ms/tp4/serveriso", "iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "md5", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "6m", "boot_wait": "6m",
"boot_command": [ "<tab><enter>" ], "boot_command": [ "{{user `product_key`}}<enter>" ],
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "6h",
...@@ -39,12 +39,12 @@ ...@@ -39,12 +39,12 @@
{ {
"type": "virtualbox-iso", "type": "virtualbox-iso",
"communicator": "winrm", "communicator": "winrm",
"iso_url": "https://aka.ms/tp4/serveriso", "iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "md5", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "6m", "boot_wait": "6m",
"boot_command": [ "<tab><enter>" ], "boot_command": [ "{{user `product_key`}}<enter>" ],
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "6h",
...@@ -121,5 +121,12 @@ ...@@ -121,5 +121,12 @@
"output": "windows_2016_docker_{{.Provider}}.box", "output": "windows_2016_docker_{{.Provider}}.box",
"vagrantfile_template": "vagrantfile-windows_2016_docker.template" "vagrantfile_template": "vagrantfile-windows_2016_docker.template"
} }
] ],
"variables": {
"iso_url": "https://aka.ms/tp4/serveriso",
"iso_checksum_type": "md5",
"iso_checksum": "935ba77651210bd1bd71a114c92b0caa",
"autounattend": "./answer_files/2016/Autounattend.xml",
"product_key": "<tab>"
}
} }
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