Cake addin to control Vagrant through the CLI
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docfx
src
.appveyor.yml
.gitignore
Cake.Vagrant.nuspec
LICENSE
README.md
ReleaseNotes.md
build.cake
build.ps1
build.sh
helpers.cake
usage.cake

README.md

Cake.Vagrant

Cake addin to control Vagrant through the CLI

master develop
VSTS Build Status VSTS Develop Status

Getting started

You can find documentation either on Cake's site or here on GitHub. This should be enough to get started with Vagrant assuming you're familiar with the CLI.

You may find Vagrant's documentation helpful as well, both the Command line and Getting started guides.

Sample script

Task("Usage")
    .Does(() => {
        Vagrant.Init("hashicorp/precise64");
        Vagrant.Up(s => s.UseProvider("virtualbox"));
        Vagrant.Suspend();
    });

Task("Destroy")
    .Does(() => {
        Vagrant.Destroy();
        DeleteFile("Vagrantfile");
    });