From 5cd7c63e0ffc4b5299940add86404e70e6e7dd00 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Sat, 2 Sep 2017 16:26:52 +0200 Subject: [PATCH] Add boot_command as workaround --- windows_2016_insider.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/windows_2016_insider.json b/windows_2016_insider.json index 9960d0b..5d97c30 100644 --- a/windows_2016_insider.json +++ b/windows_2016_insider.json @@ -4,7 +4,8 @@ "vm_name":"WindowsServer2016Insider", "type": "hyperv-iso", "disk_size": 41440, - "boot_wait": "0s", + "boot_wait": "60s", + "boot_command": "", "guest_additions_mode":"disable", "iso_url": "{{user `iso_url`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}", @@ -18,7 +19,7 @@ "communicator":"winrm", "winrm_username": "vagrant", "winrm_password": "vagrant", - "winrm_timeout" : "4h", + "winrm_timeout" : "2h", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "ram_size": 2048, "cpu": 2, @@ -33,10 +34,11 @@ "iso_checksum_type": "{{user `iso_checksum_type`}}", "iso_checksum": "{{user `iso_checksum`}}", "headless": false, - "boot_wait": "2m", + "boot_wait": "60s", + "boot_command": "", "winrm_username": "vagrant", "winrm_password": "vagrant", - "winrm_timeout": "6h", + "winrm_timeout": "2h", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "guest_os_type": "windows9srv-64", "disk_size": 61440, @@ -63,10 +65,11 @@ "iso_checksum_type": "{{user `iso_checksum_type`}}", "iso_checksum": "{{user `iso_checksum`}}", "headless": false, - "boot_wait": "2m", + "boot_wait": "60s", + "boot_command": "", "winrm_username": "vagrant", "winrm_password": "vagrant", - "winrm_timeout": "6h", + "winrm_timeout": "2h", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "guest_os_type": "Windows2012_64", "guest_additions_mode": "disable", -- GitLab