I've discovered that the correct VMware provider to use can be tricky. When 
hosting the metadata external to the box (like for an internal server) you 
need to supply vmware_desktop, but internal to the box you sometimes need 
to specify the exact provider that you intend to use. If you use the Packer 
tool, it will typically handle this correctly for you when you specify 
VMware as the builder.

On Monday, March 9, 2015 at 9:53:46 AM UTC-5, Jeremy Miller wrote:
>
> This is what I needed, I copied the metadata.json and it came up.  Thanks.
>
> metadata.json that worked:
>
> {"provider":"vmware_fusion"}
>
>
> On Saturday, March 7, 2015 at 7:13:23 AM UTC-5, Alvaro Miranda Aguilera 
> wrote:
>>
>> Can you do: 
>>
>> vagrant box add hashicorp/precise32 
>>
>> select the vmware one 
>>
>> then go to ~/.vagrant.d/boxes and look for this hashicorp precise32, 
>> inside will be a version, and then a metadata file. 
>>
>> I will suggest use that as reference 
>>
>>
>>
>>
>> On Sat, Mar 7, 2015 at 10:44 AM, Jeremy Miller <[email protected]> 
>> wrote: 
>> > I'm trying to create my own box as documented here: 
>> > http://docs.vagrantup.com/v2/vmware/boxes.html , however it is not 
>> clear 
>> > exactly how I would format the medatadata.json. 
>> > 
>> > I created this metadata.json file in the box: 
>> > 
>> > { 
>> > "provider": "vmware_desktop, vmware_fusion, vmware_workstation" 
>> > } 
>> > 
>> > When I start the instance I get this error: 
>> > 
>> > [root@host]# vagrant up --provider vmware_workstation 
>> > Bringing machine 'default' up with 'vmware_workstation' provider... 
>> > ==> default: Box 'test could not be found. Attempting to find and 
>> install... 
>> >     default: Box Provider: vmware_desktop, vmware_fusion, 
>> vmware_workstation 
>> >     default: Box Version: >= 0 
>> > ==> default: Adding box 'test' (v0) for provider: vmware_desktop, 
>> > vmware_fusion, vmware_workstation 
>> >     default: Downloading: file:///home/user/test/test.box 
>> > The box you attempted to add doesn't match the provider you specified. 
>> > 
>> > Provider expected: vmware_desktop, vmware_fusion, vmware_workstation 
>> > Provider of box: vmware_desktop, vmware_fusion, vmware_workstation 
>> > 
>> > 
>> > Versions 
>> > vmware workstation 11.1.0 
>> > vagrant 1.7.2-1 
>> > 
>> > Thanks 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Vagrant" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to [email protected]. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to