12935 Commits

Author SHA1 Message Date
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
9db2ca70b6 update utility version 1.0.9 2020-05-11 09:40:37 -07:00
Brian Cain
0556d21f98
Merge pull request #11607 from briancain/fixup/docker-install-test
Fixes #11606: Mock out guest capabilities instead of running them
2020-05-11 08:45:01 -07:00
Brian Cain
3934a26c29
Fixes #11606: Mock out guest capabilities instead of running them
This commit fixes a test that only fails on certain users machines where
Vagrant ends up trying to run real guest capabilities to test if the
docker provisioner raises an error if the provisioner install failed. It
fixes it by mocking out the expected return values for those
capabilities rather than relying on them actually running for this
specific unit test.
2020-05-11 08:01:29 -07:00
Brian Cain
7ffbf85c1d
Merge pull request #11598 from briancain/docs/include-disk-option-experimental
Include disks option for experimental flag
2020-05-07 13:50:59 -07:00
Chris Roberts
d01db2146b Update files for new development 2020-05-07 13:02:40 -07:00
Chris Roberts
06d04b0d9c Release v2.2.9 v2.2.9 2020-05-07 13:00:01 -07:00
Brian Cain
dfd5fd2874
Include disks option for experimental flag 2020-05-07 12:58:30 -07:00
sophia
ae2355603d Update CHANGELOG 2020-05-07 11:58:40 -04:00
Sophia Castellarin
238f5469b5
Merge pull request #11584 from soapy1/podman-install
Seperate podman centos and rhel install
2020-05-07 11:57:51 -04:00
sophia
7ffe2d92e9 Add test for installing 2020-05-07 11:39:08 -04:00
Chris Roberts
236a7f9393 Update CHANGELOG 2020-05-06 16:33:15 -07:00
Chris Roberts
feb48c74bd
Merge pull request #11592 from chrisroberts/bundler-no-spec
Check if plugin install provides specification
2020-05-06 16:31:18 -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
Sophia Castellarin
e34835fa35
Merge pull request #11591 from soapy1/test-docker-provisioner-caps
Test docker installer and ensure that all caps are valid
2020-05-06 16:46:16 -04:00
sophia
725a127467 Seperate podman centos and rhel install 2020-05-06 15:33:44 -04:00
sophia
75e13b1558 Update CHANGELOG 2020-05-06 15:04:44 -04:00
sophia
5124ec1cf9 Test docker installer and ensure that all caps are valid 2020-05-06 15:02:15 -04:00
Sophia Castellarin
0697cdc487
Merge pull request #11581 from codylane/bug_Vagrant_228_introduces_a_bug_to_the_docker_provisioner_when_using_CentOS_base_box
fixes GH issue #11580
2020-05-06 15:01:49 -04:00
codylane
2a90c1b4fd fixes GH issue #11580 2020-05-05 11:48:14 -06:00
Chris Roberts
8dfaebbfcf Update helper 2020-05-04 15:08:48 -07:00
Chris Roberts
81af1627b9 Update files for new development 2020-05-04 15:08:04 -07:00
Chris Roberts
223173417b Update website version to 2.2.8 2020-05-04 15:07:23 -07:00
Chris Roberts
72316ace49 Release v2.2.8 v2.2.8 2020-05-04 14:40:27 -07:00
Chris Roberts
fec4115a26 Update CHANGELOG 2020-05-04 14:26:47 -07:00
Chris Roberts
c0ca2bb673
Merge pull request #11578 from chrisroberts/util-io-enc
Update IO util to properly handle unknown conversion errors
2020-05-04 14:14:04 -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
c93dcdf18d Update CHANGELOG 2020-05-01 16:32:40 -07:00
Chris Roberts
19ce4fc211
Merge pull request #11571 from chrisroberts/resolve-prerelease
Allow prerelease matches when Vagrant is a prerelease version
2020-05-01 16:31:23 -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
ed41cbd535 Update CHANGELOG 2020-04-30 10:06:40 -04:00
Sophia Castellarin
85fc3a99b5
Merge pull request #11560 from soapy1/box-download-ssh-settings
Add option `box_download_options`
2020-04-30 10:03:23 -04: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
Sophia Castellarin
56bc93e154
Merge pull request #11540 from soapy1/winrm-config-docs
Update winrm config docs
2020-04-29 09:57:23 -04:00
Sophia Castellarin
8d7fb995f0
Merge pull request #11558 from soapy1/log-ansible-compatability-mode
Don't warn on ansible compatability mode
2020-04-29 09:56:25 -04:00
sophia
13bb29af2b Don't warn on ansible compatability mode 2020-04-28 10:48:25 -04:00
Jeff Bonhag
2c4a40fccb
Fix issues with shell provisioner when WinSSH shell is set to cmd (#11547)
This commit fixes a couple of issues with the shell provisioner when the
WinSSH shell is set to cmd:

- A check for the .bat extension returned by File.extname
- Execute inline scripts with PowerShell when upload_path ends with .ps1

* Ensure script has correct extension

Co-Authored-By: Sophia Castellarin <sophia@hashicorp.com>
2020-04-24 15:56:27 -04:00
sophia
b4e13bf1ce Update winrm config docs 2020-04-23 09:47:16 -04:00
Chris Roberts
361acc9b15
Merge pull request #11543 from chrisroberts/netd-config
Use #systemd_networkd? guest check for renderer
2020-04-22 17:42:03 -07:00
Chris Roberts
720c3012ce Use #systemd_networkd? guest check for renderer 2020-04-22 15:07:14 -07:00
Brian Cain
410ff10587
Merge pull request #11542 from nfisher/patch-1
Updated default provider variable to use latest
2020-04-22 12:54:55 -07:00
Nathan Fisher
b8f314b0a8
Updated default provider variable to use latest
The docs state that `vmware_desktop` is the common provider name when using the latest VMWare plugin. Updating this entry to match.
2020-04-22 15:02:19 -03:00
Chris Roberts
f27ec43579 Update CHANGELOG 2020-04-22 10:29:49 -07:00
Chris Roberts
b9bcf566d5
Merge pull request #11533 from chrisroberts/add-ssh-connect-timeout
Add support for configuring SSH connect timeout
2020-04-22 10:28:33 -07:00
Chris Roberts
ccb7815d13 Include added locale values 2020-04-22 10:04:58 -07:00
Brian Cain
21822e6c46
Merge pull request #11534 from briancain/docs/update-shell-file-ext
Fixes #9142 Add more information about shell script extensions
2020-04-21 10:04:12 -07:00
Brian Cain
29b8bb3596
Fixes #9142 Add more information about shell script extensions
This commit updates the shell provisioner docs to be more descriptive
about the kinds of extensions you can use with Windows
2020-04-21 09:27:43 -07:00