2013-09-03 18:08:28 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2013-09-06 16:50:43 +00:00
|
|
|
page_title: "Usage - VMware Provider"
|
2016-01-19 18:08:53 +00:00
|
|
|
sidebar_current: "providers-vmware-usage"
|
|
|
|
description: |-
|
|
|
|
The Vagrant VMware providers are used just like any other provider. Please
|
|
|
|
read the general basic usage page for providers.
|
2013-09-03 18:08:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
2014-10-17 15:21:48 +00:00
|
|
|
The Vagrant VMware providers are used just like any other provider. Please
|
2016-01-19 18:08:53 +00:00
|
|
|
read the general [basic usage](/docs/providers/basic_usage.html) page for
|
2013-09-03 18:08:28 +00:00
|
|
|
providers.
|
|
|
|
|
|
|
|
The value to use for the `--provider` flag is `vmware_fusion` for VMware
|
|
|
|
Fusion, and `vmware_workstation` for VMware Workstation.
|
|
|
|
|
2014-10-21 22:37:53 +00:00
|
|
|
The Vagrant VMware provider does not support parallel execution at this time.
|
2014-10-17 15:21:48 +00:00
|
|
|
Specifying the `--parallel` option will have no effect.
|
|
|
|
|
2015-02-02 16:07:41 +00:00
|
|
|
To get started, create a new `Vagrantfile` that points to a VMware box:
|
|
|
|
|
|
|
|
```ruby
|
|
|
|
# vagrant init hashicorp/precise64
|
2016-02-02 14:43:28 +00:00
|
|
|
Vagrant.configure("2") do |config|
|
2015-02-02 16:07:41 +00:00
|
|
|
config.vm.box = "hashicorp/precise64"
|
|
|
|
end
|
|
|
|
```
|
|
|
|
|
|
|
|
VMware Fusion users should then run:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ vagrant up --provider vmware_fusion
|
|
|
|
```
|
|
|
|
|
|
|
|
VMware Workstation users should then run:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ vagrant up --provider vmware_workstation
|
|
|
|
```
|
|
|
|
|
|
|
|
This will download and bring up a new VMware Fusion/Workstation virtual machine
|
|
|
|
in Vagrant.
|
2013-09-03 18:08:28 +00:00
|
|
|
|
|
|
|
<div class="alert alert-info">
|
2016-01-19 19:54:13 +00:00
|
|
|
<strong>Note:</strong> At some point in the future, the providers
|
|
|
|
will probably be merged into a single `vagrant-vmware` plugin. For now,
|
|
|
|
the Workstation and Fusion codebases are different enough that they
|
|
|
|
are separate plugins.
|
2013-09-03 18:08:28 +00:00
|
|
|
</div>
|