Thanks, got the point.

On Thursday, 3 November 2016 13:55:01 UTC+5:30, Rickard von Essen wrote:
>
> Remove the line:
>  "headless": false,
>
> and your ok
>
> On 3 November 2016 at 09:21, dp <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>> i would like to know about headless option in packer's JSON file.
>>
>>
>> i am validating below JSON file which returns  error " Template 
>> validation failed. Errors are shown below.
>>
>> Errors validating build 'parallels-iso'. 1 error(s) occurred:
>>
>> * unknown configuration key: "headless"
>> "
>>
>> how can i resolve this issue:
>>
>>
>> JSON file content
>>
>>
>> {
>> "builders": [
>>    {
>> "type": "parallels-iso",
>>  "iso_url": 
>> "/Users/ldk-qa/Desktop/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.ISO",
>>      "iso_checksum_type": "md5",
>>      "iso_checksum": "458ff91f8abc21b75cb544744bf92e6a",
>>      "headless": false,
>>      "boot_wait": "2m",
>>      "ssh_username": "vagrant",
>>      "ssh_password": "vagrant",
>>      "ssh_wait_timeout": "6h",
>>  "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer 
>> Shutdown\"",
>>      "guest_os_type": "win-7",
>>      "parallels_tools_flavor": "win",
>>      "prlctl": [
>>        ["set", "{{.Name}}", "--memsize", "1024"],
>>        ["set", "{{.Name}}", "--cpus", "2"]
>>       ],  
>>      "floppy_files": [
>>        "./answer_files/2012_r2/Autounattend.xml",
>>        "./scripts/microsoft-updates.bat",
>>        "./scripts/win-updates.ps1",
>>        "./scripts/openssh.ps1"
>>      ]
>>    }
>> ],
>>  "provisioners": [
>>    {
>>      "type": "shell",
>>      "remote_path": "/tmp/script.bat",
>>      "execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
>>      "scripts": [
>>        "./scripts/vm-guest-tools.bat",
>>        "./scripts/vagrant-ssh.bat",
>>        "./scripts/enable-rdp.bat",
>>        "./scripts/compile-dotnet-assemblies.bat",
>>        "./scripts/disable-auto-logon.bat",
>>        "./scripts/compact.bat"
>>      ]
>>    },
>>    {
>>      "type": "shell",
>>      "inline": [
>>        "rm -rf /tmp/*"
>>      ]
>>    }
>>  ],
>>  "post-processors": [
>>    {
>>      "type": "vagrant",
>>      "keep_input_artifact": false,
>>      "output": "windows_7{{.Provider}}.box",
>>      "vagrantfile_template": "vagrantfile-windows_7.template"
>>    }
>>  ]
>> }
>>
>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/8963f9ad-ab60-4168-b911-a627fd363a22%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/8963f9ad-ab60-4168-b911-a627fd363a22%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/8723fa01-5557-48e8-8a74-cf134f05a9de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to