sophia
66a3b58c08
Add provider capaiblity :has_communicator
2020-06-09 09:33:11 -05:00
sophia
36a086a4d1
Validate netmask value from VirtualBox
2020-06-08 12:21:29 -05:00
Jeff Bonhag
73130e3ff6
Switch to Vagrant::Util methods
2020-05-29 15:51:24 -04:00
sophia
9b6c562016
Set run config for provisioner
2020-05-29 15:33:43 -04:00
sophia
1a3e6c8ed5
Allow provisioner to take list of provisioners to run
2020-05-29 15:33:42 -04:00
Jeff Bonhag
270462fc89
Fix #11640 : Check port of loopback address
...
If the given host_ip is a loopback address, proceed with the regular
port check.
2020-05-29 15:30:21 -04:00
sophia
043008a3c4
Raise error if trying to install unsupported shell
2020-05-29 15:10:13 -04:00
sophia
75de83db9e
Simplify some install operations
2020-05-29 15:10:13 -04:00
sophia
4169ea6e57
Allow users to choose which shells to install
2020-05-29 15:10:13 -04:00
sophia
9e2b7fb690
Autocomplete command
2020-05-29 15:10:13 -04:00
sophia
1058a38f46
Clean up output to user
2020-05-29 15:10:13 -04:00
sophia
a59eedb748
Rework install shell config classes
2020-05-29 15:10:13 -04:00
sophia
d6175e0c66
Give feedback to user about which files have been modified for autocopmletion to be enabled
2020-05-29 15:10:13 -04:00
sophia
f25c3ef9fa
Install autocomplete for bash
2020-05-29 15:10:13 -04:00
sophia
6430640d28
Extract more generic shell class
2020-05-29 15:10:13 -04:00
sophia
89503d9a66
Install zsh autocomplete
2020-05-29 15:10:13 -04:00
sophia
85fd3b79fe
Refactor editin guest /etc/hosts into a util
2020-05-29 15:08:39 -04:00
Brian Cain
fab786cc28
Merge pull request #11602 from briancain/feature/docker-port-collision-fix
...
Fixes #9067 : Ensure new containers don't grab existing bound ports
2020-05-29 08:37:23 -07:00
Brian Cain
19d724dcd4
Remove unused require for MapCommandOptions class
2020-05-20 10:46:09 -07:00
Brian Cain
64ed950fd8
Put back methods as instance methods
2020-05-18 10:39:21 -07:00
Brian Cain
c18ceb20bc
Define custom port_check method for halted docker containers
2020-05-12 11:17:15 -07:00
Brian Cain
5aff6660fb
Move port checker method to class rather than instance
...
This commit also moves out the ipv4_interfaces method to be a util
method, so that the port checker can also access it as a class mehtod
2020-05-12 10:54:23 -07:00
Brian Cain
b2d9abe344
Fixes #9067 : Ensure new containers don't grab existing bound ports
...
Prior to this commit, if a created but exited container bound a port,
and a new container grabed that same port (say for an ssh port forward),
when the initial container came back up it would fail because the port
also got bound to the second container. This commit fixes that behavior
by first looking at what containers are already bound prior to creating
a container.
2020-05-11 10:17:22 -07:00
Chris Roberts
5195bee9ea
Check if plugin install provides specification
...
During a plugin install, if the plugin is already installed and
activated, no specification will be returned as there was nothing
new installed. In this situation, look for the requested plugin
within the activated specifications. If it is found, then proceed
since the plugin is installed. If it is not found, return an error.
2020-05-06 15:51:37 -07:00
Chris Roberts
f5b75ed0d6
Update IO util to properly handle unknown conversion errors
...
When converting encoding to UTF-8 on Windows, allow for unknown
conversions to be properly handled and prevent generating an
error.
2020-05-04 13:25:53 -07:00
Chris Roberts
307d7f70b6
Allow prerelease matches when Vagrant is a prerelease version
...
Sets prerelease on the request set based on Vagrant's version. This
allows installing plugins which may include a vagrant version constraint
when running on a development version without needing to a manual local
installation of the gem.
2020-05-01 16:05:49 -07:00
sophia
646de433a9
Validate conversion of map to cmd options
2020-04-29 15:10:48 -04:00
sophia
7e125969dd
Add option box_download_options
...
Allow users to specify a map of extra options to pass to the downloader.
These options will be passed to curl, with a `--` appended to the key
2020-04-29 15:10:44 -04:00
Chris Roberts
4546d804b1
Add support for configuring SSH connect timeout
...
Retains the original default value of 15 seconds for SSH connect
timeout. Allows users to modify this timeout via SSH communicator
option. Enforces integer values for timeout and validates custom
values are greater than 0.
2020-04-20 14:23:21 -07:00
Sophia Castellarin
5dc96f0886
Merge pull request #11498 from soapy1/ubuntu-w-networkmanager
...
Choose netplan renderer based on network config and available tools
2020-04-17 09:50:31 -04:00
sophia
538ee948ee
Choose netplan renderer based on network config and available tools
2020-04-10 17:17:04 -04:00
Chris Roberts
c5e2f36ddc
Merge pull request #11455 from chrisroberts/enhancement/triggers-insertions
...
Adjust how trigger actions are inserted into the stack
2020-04-08 16:53:17 -07:00
Sophia Castellarin
a3e8e822e4
Merge pull request #11465 from soapy1/quiet-cli-opt
...
Quiet cli option
2020-04-06 10:22:29 -04:00
Chris Roberts
5d70cc3bf2
Retain original trigger behavior
...
These updates allow the after trigger to behave the same as the
original with regards to the execution location of the trigger
within the execution stack.
2020-04-03 15:47:00 -07:00
sophia
39d7cd8997
Wrap all progress type outputs with rewriting to enable --no-tty
2020-04-03 16:28:59 -04:00
Jeff Bonhag
1e7399afa5
Merge pull request #11454 from jbonhag/fix/port-collision-net-test
...
Fix #11373 : Check all interfaces for port collisions on Windows
2020-04-03 13:46:45 -04:00
sophia
e6c387cdce
Refactor non interactive UI
2020-03-30 11:26:18 -04:00
sophia
0296e59baf
Use :ui_class opt to set ui class
2020-03-30 10:21:14 -04:00
sophia
d230272062
Add NonInteractive UI
2020-03-30 09:32:23 -04:00
sophia
baaaf8e7e6
Output report progress if show progress is enabled
2020-03-30 09:32:23 -04:00
sophia
d6d6e2c362
Surface cli option to quiet progress
2020-03-30 09:32:23 -04:00
sophia
c5a5b3d0b2
Yield output based on ui opts
2020-03-30 09:32:22 -04:00
Chris Roberts
b8702ac889
Include default options in option parser
...
Adds method to shared helpers for adding procs to be evaluated
which can add default modifications to the option parser used
by commands. Customized option parser class within Vagrant
handles processing defined procs to set options.
2020-03-27 16:57:59 -07:00
Jeff Bonhag
dfad00fd25
Include machine name in error message
...
This will make it easier for folks to debug networking settings.
2020-03-27 11:49:21 -04:00
Chris Roberts
217f2530db
Use machine specific triggers instance when machine is available in runner
2020-03-26 17:20:55 -07:00
Chris Roberts
bcbbc825e0
Add test coverage on builder
2020-03-24 17:15:41 -07:00
Chris Roberts
2e0e772897
Add test coverage on trigger action
2020-03-24 14:32:34 -07:00
Chris Roberts
4b65368852
Update builder to use generic trigger action
2020-03-23 17:10:17 -07:00
Chris Roberts
505715500d
Include autoloading for trigger constant
2020-03-23 17:09:46 -07:00
Chris Roberts
5f6ac0a6e4
Update trigger action files
2020-03-23 17:08:44 -07:00