Add boot_command as workaround

parent 631ff796
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"vm_name":"WindowsServer2016Insider", "vm_name":"WindowsServer2016Insider",
"type": "hyperv-iso", "type": "hyperv-iso",
"disk_size": 41440, "disk_size": 41440,
"boot_wait": "0s", "boot_wait": "60s",
"boot_command": "<enter>",
"guest_additions_mode":"disable", "guest_additions_mode":"disable",
"iso_url": "{{user `iso_url`}}", "iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}",
...@@ -18,7 +19,7 @@ ...@@ -18,7 +19,7 @@
"communicator":"winrm", "communicator":"winrm",
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout" : "4h", "winrm_timeout" : "2h",
"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\"",
"ram_size": 2048, "ram_size": 2048,
"cpu": 2, "cpu": 2,
...@@ -33,10 +34,11 @@ ...@@ -33,10 +34,11 @@
"iso_checksum_type": "{{user `iso_checksum_type`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "2m", "boot_wait": "60s",
"boot_command": "<enter>",
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "2h",
"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\"",
"guest_os_type": "windows9srv-64", "guest_os_type": "windows9srv-64",
"disk_size": 61440, "disk_size": 61440,
...@@ -63,10 +65,11 @@ ...@@ -63,10 +65,11 @@
"iso_checksum_type": "{{user `iso_checksum_type`}}", "iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}", "iso_checksum": "{{user `iso_checksum`}}",
"headless": false, "headless": false,
"boot_wait": "2m", "boot_wait": "60s",
"boot_command": "<enter>",
"winrm_username": "vagrant", "winrm_username": "vagrant",
"winrm_password": "vagrant", "winrm_password": "vagrant",
"winrm_timeout": "6h", "winrm_timeout": "2h",
"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\"",
"guest_os_type": "Windows2012_64", "guest_os_type": "Windows2012_64",
"guest_additions_mode": "disable", "guest_additions_mode": "disable",
......
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