Sha256: 2575df081a48566c05dcdf5c9534a05182e2138cd2ae4d74da1d62b7cdbf4912

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

Pre-requisite: Fission gem installed and configured, including a `~/.fissionrc`
that points to the `vmrun` executable and where virtual machines can be found.
  Example `.fissionrc` file (it's YAML):

    vm_dir: "/Directory/containing/my/.vmwarevm/files/"
    vmrun_bin: "/Applications/VMware Fusion.app/Contents/Library/vmrun"

You can then use the following arguments in the node configuration:
- `hypervisor: fusion` tells us to enable this feature for this host. This is required.
- `snapshot: <name>`, where <name> is the snapshot name to revert to.  This is required.

We'll try and match up the hostname with a VM of the same name. Note that the VM is expected to be pre-configured for running acceptance tests: a vanilla OS install with internet access and password-less SSH access for root is all that is required.

There are a few additional options available in your configuration file. Each host
section can now use:

- `vmname`: This is useful if the hostname of the VM doesn't match the name of
  the `.vmwarevm` file on disk. The alias should be something fission can load.


### Basic VMWare fusion hosts file ###

    HOSTS:
      pe-debian6:
        roles:
          - master
          - agent
        platform: debian-6-i386
        vmname: super-awesome-vm-name
        hypervisor: fusion
        snapshot: acceptance-testing-5

### Diagnostics ###

When using `hypervisor fusion`, we'll log all the available VM names and for each
host we'll log all the available snapshot names.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beaker-vmware-2.1.1 vmware_fusion.md
beaker-vmware-2.1.0 vmware_fusion.md
beaker-vmware-2.0.0 vmware_fusion.md
beaker-vmware-1.0.0 vmware_fusion.md
beaker-vmware-0.3.0 vmware_fusion.md