Whats your output of: PACKER_LOG=1 packer validate template.json
On 3 November 2016 at 11:05, dp <[email protected]> wrote:
> Hi
>
> i am using below JSON file and its giving me error
>
> Build 'parallels-iso' errored: Couldn't find Parallels Tools for the 'win'
> flavor! Please, check the
> value of 'parallels_tools_flavor'. Valid flavors are: 'win', 'lin',
> 'mac', 'os2' and 'other'
>
> how to resolve it.
>
>
> JSON File
>
> {
> "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": "6467c3875955df4514395f0afcaaa62a",
> "boot_wait": "2m",
> "ssh_username": "vagrant",
> "ssh_password": "vagrant",
> "ssh_wait_timeout": "5m",
> "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": [
> "./packer-windows/answer_files/7/Autounattend.xml",
> "./packer-windows/scripts/microsoft-updates.bat",
> "./packer-windows/scripts/win-updates.ps1",
> "./packer-windows/scripts/openssh.ps1"
> ]
> }
> ],
> "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].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/a6fdb81f-e07b-4ed9-9d51-b856c62f0be2%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/a6fdb81f-e07b-4ed9-9d51-b856c62f0be2%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/CALz9Rt8hBv3d36%3Dp_qn%2ByAb6C9hpL3fHSQfccdOtwGu%2BEoEUiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.