Hi all,

When trying to build/validate a template with 0.10.0, I get an unknown 
configuration key "headless" error.
My communicator/builder is below for reference.
This used to work with earlier versions, so I wonder what I'm doing 
wrong/what's changed?
My template is:
    {
      "communicator": "winrm",
      "disk_size": "{{user `disk_size`}}",
      "floppy_files": [
        "floppy/00-run-all-scripts.cmd",
        "floppy/01-install-wget.cmd",
        "floppy/_download.cmd",
        "floppy/_packer_config.cmd",
        "floppy/disablewinupdate.bat",
        "floppy/fixnetwork.ps1",
        "floppy/install-winrm.cmd",
        "floppy/networkprompt.bat",
        "floppy/passwordchange.bat",
        "floppy/powerconfig.bat",
        "floppy/upgrade-wua.bat",
        "floppy/win7x64-enterprise/Autounattend.xml",
        "floppy/zz-start-sshd.cmd"
      ],
"headless": "true",
      "guest_os_type": "windows7-64",
      "iso_checksum": "{{ user `iso_checksum` }}",
      "iso_checksum_type": "sha1",
      "iso_url": "{{ user `iso_url` }}",
      "shutdown_command": "{{ user `shutdown_command`}}",
      "tools_upload_flavor": "windows",
      "type": "vmware-iso",
      "vm_name": "eval-win7x64-enterprise",
      "vmx_data": {
        "cpuid.coresPerSocket": "1",
        "memsize": "2048",
        "numvcpus": "1"
      },
      "winrm_password": "vagrant",
      "winrm_timeout": "10000s",
      "winrm_username": "vagrant"
    },
I have removed the builders array declaration for brevity.
Any help appreciated.
Kind regards
Sean.

-- 
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/VI1PR0201MB2013E83C6430F36BB8C8987A83F10%40VI1PR0201MB2013.eurprd02.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to