VagrantRunner.

Up(Action<VagrantUpSettings>) Method

Summary

This command creates and configures the default machine according to your Vagrantfile, and the specified settings
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Containing Type
VagrantRunner

Syntax

public void Up(Action<VagrantUpSettings> configure)

Examples

Vagrant.Up(settings =>
            settings.DestroyOnError()
            .InstallProvider()
            .WithProvisioners("chef", "shell")
            .EnableParallel()
            .UseProvider("hyperv"));

Parameters

Name Type Description
configure Action<VagrantUpSettings> Settings to use when starting your machine

Return Value

Type Description
void