VagrantRunner.

Init(string, Action<VagrantInitSettings>) Method

Summary

This initializes the current directory to be a Vagrant environment by creating an initial Vagrantfile if one does not already exist.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Containing Type
VagrantRunner

Syntax

public void Init(string name, Action<VagrantInitSettings> configure)

Parameters

Name Type Description
name string Will prepopulate the config.vm.box setting in the created Vagrantfile with the specified name
configure Action<VagrantInitSettings> Settings to control the initialising process

Return Value

Type Description
void