Commit Graph

11835 Commits

Author SHA1 Message Date
Brian Cain 5fa3c5866c
Ensure tmp dir for validate is removed once command exits 2018-12-03 14:50:20 -08:00
Brian Cain 34b64ec247
Fixes #10358: Add validation error in salt provider for certain options
Prior to this commit, if you specified a `version` for the salt provider
but no `install_type` Vagrant would fail to pass the proper parameters
to the bootstrap install script. This commit fixes that by adding some
validation to the salt provider if `version` is specified but not
`install_type`. It also adds some extra context for certain config
validation error messages so that the user knows what option was
incorrect, rather than the message just referring to the option as
*this*.
2018-12-03 10:00:11 -08:00
Wolfgang Faust 4ec092f46d snapshot plugin: Raise error for bad subcommand.
Closes #9773.
2018-12-01 14:44:42 -05:00
Jose Luis Duran 5ab323733f
FreeBSD: Fix rcvar in network_static templates
The rcvar should be `defaultrouter` instead:

https://www.freebsd.org/doc/handbook/network-routing.html
2018-12-01 10:07:40 -02:00
Brian Cain 6d4d9b9304
Fixes #10432: Validate that provider file exists prior to upload
Prior to this commit, Vagrant would attempt to path expand a file that
didn't exist if it was left out of the passed in arguments and no
`--url` was used for external box uploading. This commit fixes that by
adding some additional validation for the passed in box file.
2018-11-30 14:13:45 -08:00
Brian Cain 69eacd2b73
Remove machine from initialize method 2018-11-30 11:03:05 -08:00
Brian Cain 68dda8f853
Fixes #10224: Clear our registered providers when validating configs with no provider
Prior to this commit, if you went to validate your Vagrantfile and
wanted to ignore the provider, Vagrant would still fail as it checks if
there are any registered providers that are installed and usable. This
commit mocks out all registered providers to bypass that for the
validate command so that Vagrant can just validate the config and ignore
any provider config blocks.
2018-11-30 10:54:16 -08:00
Chris Roberts e4a3eb5d14 Update vmware utility version 2018-11-28 10:19:06 -08:00
Chris Roberts 01aaf97cd1 Update version for dev 2018-11-27 09:49:31 -08:00
Chris Roberts 5e4f68f529 Update website version to 2.2.2 2018-11-27 09:49:16 -08:00
Chris Roberts 46388d80b6 Release v2.2.2 2018-11-27 09:48:18 -08:00
Chris Roberts ab850c335d Update CHANGELOG 2018-11-27 09:45:12 -08:00
Chris Roberts b886ec0b32
Merge pull request #10450 from chrisroberts/f-vbox-default-nic-type
Update default_nic_type implementation within VirtualBox provider
2018-11-27 09:41:33 -08:00
Chris Roberts d589aa9f81 Update default_nic_type implementation within VirtualBox provider
In some cases the E1000 NIC type is the only acceptable value. Since
defaulting causes breakages to existing boxes, leave the default value
as `nil` but check the VirtualBox version in use and print warning to
user if VirtualBox version is vulnerable and E1000 NIC types are
configured for use within defined network adapters.
2018-11-26 15:58:45 -08:00
Chris Roberts 45766ad00e
Merge pull request #10422 from hashicorp/circleci-website-build
add circleci website build
2018-11-16 12:18:54 -08:00
Alvin Huang 4f59d2b771 remove packer.json since CircleCI builds the site 2018-11-16 15:12:10 -05:00
Alvin Huang 9f8cbec6b4 add circleci website build
move circleci config to root
2018-11-16 15:12:06 -05:00
Chris Roberts f6d6bcf81d Update version for dev 2018-11-15 15:21:58 -08:00
Chris Roberts 30d2e52c46 Update website version to 2.2.1 2018-11-15 15:20:54 -08:00
Chris Roberts e905ab8c8c Release v2.2.1 2018-11-15 15:19:01 -08:00
Chris Roberts 0ff075c5d3
Merge pull request #10417 from chrisroberts/f-vbox6-import
Update VM import for VirtualBox 6
2018-11-15 14:53:30 -08:00
Chris Roberts f031ec4ce8 Add tests for VirtualBox driver version 6 2018-11-15 11:07:10 -08:00
Chris Roberts c5bc8aba46 Remove existing common tests to shared examples. Add custom import test. 2018-11-15 11:06:30 -08:00
Chris Roberts e86824e098 Move common virtualbox 5 driver tests into shared examples 2018-11-15 11:05:51 -08:00
Chris Roberts b8f5752a82 Update VM import for VirtualBox 6 driver
The dry run import with VirtualBox 6 no longer provides full paths
for disks. Extract base path from suggested settings file location
and use that to generate full path name using provided disk base
name.
2018-11-15 11:04:08 -08:00
Chris Roberts 1225114a15 Update CHANGELOG 2018-11-13 15:45:17 -08:00
Chris Roberts efbf99c451
Merge pull request #10409 from chrisroberts/e-vbox-ssh-port-detect
Update VirtualBox driver ssh_port helper
2018-11-13 15:44:15 -08:00
Chris Roberts 1bc0719438 Update CHANGELOG 2018-11-13 15:43:52 -08:00
Chris Roberts 7750d6182d
Merge pull request #10410 from chrisroberts/f-hyperv-net-typo
Fix typo in hyper-v network configuration detection script
2018-11-13 15:43:03 -08:00
Chris Roberts 7d10cad135 Update CHANGELOG 2018-11-13 15:22:53 -08:00
Chris Roberts 8f49e05ad4
Merge pull request #10406 from chrisroberts/e-hyperv-destroy
Disable automatic checkpoints prior to VM removal
2018-11-13 15:22:11 -08:00
Chris Roberts 0364f9b75e Update CHANGELOG 2018-11-13 15:21:49 -08:00
Chris Roberts 2272a0bfa7
Merge pull request #10404 from chrisroberts/e-hyperv-ver-check
Ignore errors when generating new VM configuration
2018-11-13 15:21:03 -08:00
Chris Roberts 9dd137633a Fix typo in hyper-v network configuration detection script 2018-11-13 15:11:04 -08:00
Chris Roberts 30473a4cb1
Merge pull request #10408 from lunchbag/jen/update-share-img
Update open graph image
2018-11-13 15:04:22 -08:00
Chris Roberts c7721f619b Update VirtualBox driver ssh_port helper
Be more restrictive when matching the port forward used for
SSH. Allow matching simply on the guest port, but also include
extra matching criteria for cases where multiple results may
be returned.
2018-11-13 15:04:12 -08:00
Jen 0ab7fc9ecc Update open graph image 2018-11-13 17:29:29 -05:00
Brian Cain 2db2797203
Update CHANGELOG 2018-11-13 14:26:21 -08:00
Brian Cain 608863809a
Merge pull request #10405 from briancain/fixup-inline-windows-trigger-run
Fixes #10393: Only use Shellwords on non-windows hosts
2018-11-13 14:25:27 -08:00
Chris Roberts 0ea4dcdc6e Disable automatic checkpoints prior to VM removal 2018-11-13 13:09:12 -08:00
Brian Cain 69b3b44505
Fixes #10393: Only use Shellwords on non-windows hosts
This commit updates how the trigger `run` inline option works by only
applying `Shellwords.split` to the inline command if it is going to be
run on non-Windows hosts. Otherwise pass the inline script directly to
be executed by Powershell.
2018-11-13 13:07:39 -08:00
Chris Roberts 83ed01869d Ignore errors when generating new VM configuration
The default error action is to stop. When generating the initial
VM configuration during import, if the Compare-VM command fails
it results in a generic error message. Instead the error should
be ignored so the source VM can be inspected and a useful error
message can be returned to the user.
2018-11-13 12:21:17 -08:00
Chris Roberts b2e682b0e3 Update CHANGELOG 2018-11-13 09:20:00 -08:00
Chris Roberts 7efd501fe8
Merge pull request #10399 from chrisroberts/e-comm-reset
Add communicator reset
2018-11-13 09:13:40 -08:00
Chris Roberts 23b2b0b6ad
Merge pull request #10400 from chrisroberts/e-i18n-lib
Update dependency constraint on i18n
2018-11-12 16:23:02 -08:00
Chris Roberts c4680ae6ee Update CHANGELOG 2018-11-12 16:22:43 -08:00
Chris Roberts 43f7a16baa
Merge pull request #10313 from lloesche/lloesche/fix_wsl_detection
Fix WSL detection for customized roots
2018-11-12 16:21:44 -08:00
Chris Roberts d179e5e117 Update dependency constraint on i18n 2018-11-12 15:49:16 -08:00
Chris Roberts 5045ff14cf Update CHANGELOG 2018-11-12 15:43:09 -08:00
Chris Roberts 90dee00809
Merge pull request #10390 from chrisroberts/e-powerup-handle-spaces
Update powerup to handle spaces properly in arguments
2018-11-12 15:41:20 -08:00