Commit 39c16338 authored by Stefan Scherer's avatar Stefan Scherer Committed by GitHub
Browse files

Merge pull request #35 from PatrickLang/insider-hyperv

Updating hyperv-iso on windows_2016_docker_core.json and windows_2016_insider.json
parents 3d944253 aaa2e4fd
{ {
"builders": [ "builders": [
{
"vm_name":"WindowsServer2016CoreDocker",
"type": "hyperv-iso",
"disk_size": 41440,
"boot_wait": "0s",
"guest_additions_mode":"disable",
"iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"floppy_files": [
"{{user `autounattend`}}",
"./scripts/docker/enable-winrm.ps1",
"./scripts/docker/2016/install-containers-feature.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"communicator":"winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout" : "4h",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"ram_size": 2048,
"cpu": 2,
"switch_name":"{{user `hyperv_switchname`}}",
"enable_secure_boot":true,
"enable_virtualization_extensions":true
},
{ {
"type": "virtualbox-iso", "type": "virtualbox-iso",
"communicator": "winrm", "communicator": "winrm",
...@@ -60,7 +87,7 @@ ...@@ -60,7 +87,7 @@
"type": "powershell", "type": "powershell",
"scripts": [ "scripts": [
"./scripts/docker/add-docker-group.ps1", "./scripts/docker/add-docker-group.ps1",
"./scripts/docker/install-docker.ps1", "./scripts/docker/2016/install-docker.ps1",
"./scripts/docker/docker-pull-async.ps1", "./scripts/docker/docker-pull-async.ps1",
"./scripts/docker/open-docker-insecure-port.ps1", "./scripts/docker/open-docker-insecure-port.ps1",
"./scripts/docker/remove-docker-key-json.ps1", "./scripts/docker/remove-docker-key-json.ps1",
......
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
"ram_size": 2048, "ram_size": 2048,
"cpu": 2, "cpu": 2,
"switch_name":"{{user `hyperv_switchname`}}", "switch_name":"{{user `hyperv_switchname`}}",
"enable_secure_boot":true "enable_secure_boot":true,
"enable_virtualization_extensions":true
}, },
{ {
"type": "vmware-iso", "type": "vmware-iso",
......
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