This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
Sets the box version or box version constraint to add to the Vagrantfile
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Settings - Containing Type
- Vagrant
Init Settings Extensions
Syntax
public static VagrantInitSettings ConstrainVersion(this VagrantInitSettings settings, string version)
Parameters
Name | Type | Description |
---|---|---|
settings | VagrantInitSettings | The settings |
version | string | Box version or version constraint |
Return Value
Type | Description |
---|---|
VagrantInitSettings | The updated settings object |