Vagrant 1.1.2 + Fusion Provider issues

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Vagrant 1.1.2 + Fusion Provider issues

Josh Roberts
Hi,

I've setup vagrant using the vmware fusion provider on my mac. It all seems to work however I have a few issues I'm hoping someone can solve;

1) Every time I run "vagrant up --provider=vmware_fusion" I need to click "Take Ownership" for each VM I create or it fails to start.

<img src="webkit-fake-url://6C09444E-8B0C-4D92-A568-CA2A920627B3/image.tiff" style="">

2) After running a destroy the VM's still remain in the VMware Fusion "Virtual Machine Library". Should it be removing them?

3) All VM's show up in the VMware Fusion "Virtual Machine Library" with the same name, is there a setting in Vagrantfile to set this name? I can see in the vmx file there is an option "displayName" however I'm not sure how to use that in the Vagrantfile.

4) Also is there anyway to hard set the provider as vmware_fusion rather than type it each time? I could always set an alias in bash however I was hoping there was a built in way.

Cheers,
Josh

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant 1.1.2 + Fusion Provider issues

Mitchell Hashimoto
Josh,

Answers inline:


On Tue, Mar 26, 2013 at 4:28 PM, Josh Roberts <[hidden email]> wrote:
Hi,

I've setup vagrant using the vmware fusion provider on my mac. It all seems to work however I have a few issues I'm hoping someone can solve;

1) Every time I run "vagrant up --provider=vmware_fusion" I need to click "Take Ownership" for each VM I create or it fails to start. 

The fusion provider does a lot of things to avoid any prompts to the user. I'd like to avoid this one as well. Can you do me a favor so I can catch why this is happening?

First, a question: Are you running with GUI? or is this without GUI as well?

Second: Run `vagrant up`. When it prompts you, DON'T do anything. Instead, find the ".vmx" file in the ".vagrant" directory of your project, and COPY the contents, gist it for me.

Next, answer the prompt, copy the contents of the ".vmx" file again, and gist that contents as well.

I need to see the diff of these gists to figure out what VMware is doing.

I want to note as well that I haven't heard of this happening to anyone else. I'd like to know why that is.
 

2) After running a destroy the VM's still remain in the VMware Fusion "Virtual Machine Library". Should it be removing them?

I'm not sure where Fusion is holding the state for this library. I do want to clean this out if I can, but I haven't yet been able to find it. 

In general, you can keep them there, the next time you restart Fusion they should disappear.
 

3) All VM's show up in the VMware Fusion "Virtual Machine Library" with the same name, is there a setting in Vagrantfile to set this name? I can see in the vmx file there is an option "displayName" however I'm not sure how to use that in the Vagrantfile.

Not at the moment. You're not really supposed to use Vagrant with the Fusion GUI. They only show up if you happen to have Fusion open. if you close VMware Fusion, they actually won't ever be shown.

That being said, I'd love to figure out a way to change this name. Unfortunately, I think it is based on the "vmx" filename... I'm unsure though.
 

4) Also is there anyway to hard set the provider as vmware_fusion rather than type it each time? I could always set an alias in bash however I was hoping there was a built in way.


In 1.2 (unreleased) you will be able to set the VAGRANT_DEFAULT_PROVIDER environmental variable. Until then, there isn't a way.

Best,
Mitchell

 
Cheers,
Josh

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.