VagrantRunner.

Package(string, Action<VagrantPackageSettings>) Method

Summary

This packages a currently running VirtualBox environment into a re-usable box.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Containing Type
VagrantRunner

Syntax

public void Package(string name, Action<VagrantPackageSettings> configure)

Remarks

This command can only be used with other providers based on the provider implementation and if the provider supports it.

Parameters

Name Type Description
name string Name of the machine to package
configure Action<VagrantPackageSettings> Settings to use when packaging the box

Return Value

Type Description
void