VagrantBoxAddSettingsExtensions.

ConstrainVersion(VagrantBoxAddSettings, string) Method

Summary

Sets the version or version constraint to use when downloading the box

Syntax

public static VagrantBoxAddSettings ConstrainVersion(this VagrantBoxAddSettings settings, string version)

Parameters

Name Type Description
settings VagrantBoxAddSettings The settings
version string A version constraint to use (see Version)

Return Value

Type Description
VagrantBoxAddSettings The updated settings object