blob: 1450b4d6d3cb02e58b999dc900e8addb812d0d32 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
 | <h1 id="usage">  Usage </h1> <p>The Vagrant VMware provider is used just like any other provider. Please read the general <a href="../providers/basic_usage">basic usage</a> page for providers.</p> <p>The value to use for the <code>--provider</code> flag is <code>vmware_desktop</code>. For compatibility with older versions of the plugin, <code>vmware_fusion</code> can be used for VMware Fusion, and <code>vmware_workstation</code> for VMware Workstation.</p> <p>The Vagrant VMware provider does not support parallel execution at this time. Specifying the <code>--parallel</code> option will have no effect.</p> <p>To get started, create a new <code>Vagrantfile</code> that points to a VMware box:</p> <div class="highlight"><pre class="highlight ruby" data-language="ruby"># vagrant init hashicorp/precise64
Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise64"
end
</pre></div>
<p>Then run:</p> <div class="highlight"><pre class="highlight shell" data-language="shell">$ vagrant up --provider vmware_desktop
</pre></div>
<p>This will download and bring up a new VMware Fusion/Workstation virtual machine in Vagrant.</p><div class="_attribution">
  <p class="_attribution-p">
    © 2010–2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
    <a href="https://www.vagrantup.com/docs/vmware/usage.html" class="_attribution-link">https://www.vagrantup.com/docs/vmware/usage.html</a>
  </p>
</div>
 |