EvanHahn / vagrant-darwin

Vagrant plugin for Darwin (OS X) guest support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrant-darwin

This is a Vagrant plugin that adds Darwin (OS X) guest support. This requires the commercial Vagrant VMware Fusion provider plugin -- VirtualBox does not support OS X guests.

Installation

To install this plugin, first build the gem package from within this directory:

$ gem build vagrant-darwin.gemspec

This should create a gem file that includes the version in the file name. Next, have Vagrant install this gem by running:

$ vagrant plugin install `ls -1 -r *.gem | head -n 1`

The ls invocation makes it so the latest version is installed if multiple gems exist.

Usage

For a seamless experience, use the following in your Vagrantfile:

    ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_fusion'

    # Require the `vagrant-darwin` plugin.
    Vagrant.require_plugin 'vagrant-darwin'

    Vagrant.configure('2') do |config|
    ...

About

Vagrant plugin for Darwin (OS X) guest support

License:MIT License