Sorry for the late reply.
Here's a dummy json I have.
{
"builders": [
{
"type": "vsphere-iso",
"vcenter_server": "vcenter.example.com",
"insecure_connection": "true",
"username": "[email protected]",
"password": "password",
"datacenter": "US1",
"cluster": "DEV1",
"vm_name": "example-ubuntu",
"guest_os_type": "ubuntu64Guest",
"ssh_username": "jetbrains",
"ssh_password": "jetbrains",
"CPUs": 1,
"RAM": 1024,
"RAM_reserve_all": true,
"disk_size": 32768
}
],
"provisioners": [
{
"type": "shell",
"inline": ["ls /"]
}
]
}
vsphere-iso output will be in this color.
==> vsphere-iso: Creating VM...
Build 'vsphere-iso' errored: unexpected EOF
==> Some builds didn't complete successfully and had errors:
--> vsphere-iso: unexpected EOF
Could it be something to do with vsphere access rights?
I don't have full administrative access, but can create VMs etc.
Thanks
On Sat, Aug 4, 2018 at 12:07 PM Alvaro Miranda Aguilera <[email protected]>
wrote:
> can you share the json template and a description on where are you
> building?
>
> ie locally on a host pc and trying to build to esxi host ? or using a
> plugin for vsphere?
>
> the more info, the better
>
> On Sat, Aug 4, 2018 at 9:00 AM, chic_cat <[email protected]> wrote:
>
>> Hello,
>> I'm new to packer,
>> Getting this error with VMware:
>>
>> vsphere-iso output will be in this color.
>>
>> Build 'vsphere-iso' errored: default datacenter resolves to multiple
>> instances, please specify
>>
>> ==> Some builds didn't complete successfully and had errors:
>> --> vsphere-iso: default datacenter resolves to multiple instances,
>> please specify
>>
>> ==> Builds finished but no artifacts were created.
>>
>> Cluster is specified in json file.
>>
>> Any thoughts?
>>
>> --
>> 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/05c17f9e-a36b-40cd-b947-c279ac29a8db%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/05c17f9e-a36b-40cd-b947-c279ac29a8db%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alvaro
>
> --
> 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/CAHqq0ews_0borJbBLBEUtyb%3D7Be61GOYQmTBVn_2drwxhQ%2B5eA%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0ews_0borJbBLBEUtyb%3D7Be61GOYQmTBVn_2drwxhQ%2B5eA%40mail.gmail.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/CAJU06NPFukMgN_NAUjHcBn_FPmjbgmqpQxKDkrpgVuTL5rB4Cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.