Commit Graph

11087 Commits

Author SHA1 Message Date
Chris Roberts 3919455f08
Merge pull request #9932 from chrisroberts/e-hyperv-maxmem-chk
Validate maxmemory setting within Hyper-V provider
2018-06-13 14:52:09 -07:00
Chris Roberts 4d3f5d33c6
Merge pull request #9925 from chrisroberts/u-powershelling
Misc. PowerShell cleanup
2018-06-13 14:51:43 -07:00
Chris Roberts 9482f351fc Validate maxmemory setting within Hyper-V provider
Forces an error if maxmemory value is less than the configured
minimum or startup memory.

Fixes #9477
2018-06-13 13:27:11 -07:00
Chris Roberts c7e35d655c
Merge pull request #9929 from chrisroberts/f-hyperv-netadapt
Disconnect all configured network adapters
2018-06-13 13:15:32 -07:00
Brian Cain 52c1abbcfc
Merge pull request #9930 from mstovicek/patch-1
Add `suspend` into a list of available actions
2018-06-13 10:02:11 -07:00
Milan Stovicek 3ce7c0cf3f
Add `suspend` into a list of available actions
`suspend` action is not listed, even though it can be used and it works.

```
$ vagrant --version
Vagrant 2.1.1
```

```
config.trigger.before [:suspend] do |trigger|
  trigger.name = "Before suspend"
  trigger.run = {inline: "..."}
end
````
2018-06-13 18:51:45 +02:00
Chris Roberts 1554f447f2 Disconnect all configured network adapters
When importing a Hyper-V VM ensure all adapters are disconnected from
switches that were used when the box was built.
2018-06-13 07:59:56 -07:00
Chris Roberts 10ac204c29 Prevent SMB output from being wrapped 2018-06-12 16:47:47 -07:00
Chris Roberts ef4d431d36 Remove console resizing on powershell commands 2018-06-12 16:47:47 -07:00
Chris Roberts 57842d7269 Update powershell messaging functions to not include second `-` character. 2018-06-12 16:47:47 -07:00
Chris Roberts e43a94b797 Update CHANGELOG 2018-06-12 16:46:57 -07:00
Chris Roberts ee5656da37
Merge pull request #9923 from chrisroberts/f-win-perms
Update SSH key file permissions handling
2018-06-12 16:45:39 -07:00
Chris Roberts 305a251c7b Update Ruby test versions 2018-06-12 16:31:53 -07:00
Chris Roberts 7e0cc99ffd Include flag check on ssh cap test 2018-06-12 16:30:51 -07:00
Chris Roberts d2723f2008 Update CHANGELOG 2018-06-12 16:25:44 -07:00
Chris Roberts 4bf8fe1463
Merge pull request #9917 from chrisroberts/f-smb-garbage
Fix SMB information generation when using net share
2018-06-12 16:24:54 -07:00
Chris Roberts d8e64dd9be Update CHANGELOG 2018-06-12 16:24:21 -07:00
Chris Roberts 87ce38df93
Merge pull request #9916 from chrisroberts/f-chef-provisioner
Fix Chef apply provisioner to not set node_name
2018-06-12 16:23:39 -07:00
Chris Roberts e39b3555e6 Disable inherit on key file for parent ACL rules 2018-06-12 16:21:13 -07:00
Chris Roberts ae8e25aabc Include key path flag when calling script 2018-06-12 16:20:49 -07:00
Chris Roberts 16bcc1d874 Include scripts directory when building pathname 2018-06-12 16:20:30 -07:00
Chris Roberts 2628d93370 Rename method name when checking capability 2018-06-12 14:13:10 -07:00
Chris Roberts 87b8321702 Remove win32 dependencies 2018-06-12 13:54:37 -07:00
Chris Roberts bf7cd4fb0a Add test coverage for powershell module option 2018-06-12 12:32:04 -07:00
Chris Roberts 42cbae1e90 Add test coverage on ssh capabilities 2018-06-12 11:57:14 -07:00
Chris Roberts 98c6903e9c Fix path variable name. Return process result. 2018-06-12 11:56:37 -07:00
Chris Roberts a5582eb1c8 Add ssh key permissions set caps to hosts 2018-06-12 10:49:10 -07:00
Chris Roberts 5ba91de4d8 Use host capability to update key file permissions if available 2018-06-12 10:46:53 -07:00
Chris Roberts 5325000fa6 Add helper option for setting custom module path on PowerShell executes 2018-06-12 10:44:12 -07:00
Chris Roberts ef5eca16d2 Fix SMB information generation when using net share
Adds the final line of output to tests and properly simulates
failure. Fix with type casting to prevent calling methods on
nil and drop the final entry as it's not valid.

Fixes #9806
2018-06-11 12:58:35 -07:00
Chris Roberts 7df6ea5a30 Fix Chef apply provisioner to not set node_name
The base chef provisioner class will set the node name automatically
if not provided in the configuration. Since the chef apply provisioner
does not provide a node_name option, setting it will invalidate the
configuration. This checks for the node name before attempting to
use it.

Fixes #9901
2018-06-11 10:35:52 -07:00
Brian Cain 4efec92643
Merge pull request #9913 from marjune163/doc-improve
add missing section separator for config.ssh part
2018-06-11 09:00:11 -07:00
marjune 8e5dc0dfe8 add missing section separator for config.ssh part 2018-06-10 22:36:45 +08:00
Chris Roberts 0a89909ebd
Merge pull request #9804 from chrisroberts/e-download-changelog
Add link to CHANGELOG for current release on downloads page
2018-06-08 16:19:43 -07:00
Chris Roberts 53b760923a Update CHANGELOG 2018-06-08 16:18:59 -07:00
Chris Roberts 52c174da75
Merge pull request #9833 from afischer-opentext-com/9174
#9174 Remove masterless? config attribute
2018-06-08 16:18:06 -07:00
Chris Roberts 924189b6c2 Update CHANGELOG 2018-06-08 16:09:37 -07:00
Chris Roberts 6f76275f9e
Merge pull request #9867 from jnahorny/fix-9592-systemd-networkd
Fix issue 9592 when systemd-networkd is used by Debian guest
2018-06-08 16:08:27 -07:00
Chris Roberts 77d229edaa Update CHANGELOG 2018-06-08 16:04:44 -07:00
Chris Roberts 9001dc6b9b
Merge pull request #9855 from WIgor/master
Fix for ubuntu 17.10+ netplan
2018-06-08 16:03:07 -07:00
Chris Roberts 6645b7b906
Merge pull request #9910 from TonyApuzzo/fix-set_vm_integration_services
Fix: Correct  typo in hyperv provider, $Enable instead of $enabled
2018-06-08 15:56:39 -07:00
Tony Apuzzo 5ac8bb8620 Correct typo, $Enable instead of $enabled. 2018-06-07 15:00:09 -06:00
Brian Cain 1ee2365599
Merge pull request #9906 from briancain/fix-vc-docs
Fix broken link in Vagrant Cloud API docs
2018-06-06 15:26:10 -07:00
Brian Cain 97806a693e
Fix broken link in Vagrant Cloud API docs
This commit fixes the #TODO link with the proper docs link to upload a
provider.
2018-06-06 15:03:39 -07:00
Chris Roberts 7b8818d985 Update CHANGELOG 2018-06-04 16:53:13 -07:00
Chris Roberts 120fa07a8d
Merge pull request #9872 from chrisroberts/e-hyperv-2
Hyper-V provider overhaul
2018-06-04 16:51:12 -07:00
Brian Cain 67874590b5
Merge pull request #9892 from hashicorp/changelog-update/9879
Update CHANGELOG about #9879 and #9796
2018-05-31 08:22:51 -07:00
Gilles Cornu 56051c1fb0
Update CHANGELOG about #9879 and #9796 2018-05-31 05:52:19 +02:00
Gilles Cornu d5b5e9ea8c ansible_local: Improve installation from PPA
- Fix #9796: Failing installation on bionic (18.04 LTS)
- Remove support for precise (12.04 LTS), which is out of public support
  (On this version, the package python-software-properties contained
  the add-apt-repository tool)
- Reduce the number of SSH calls, and avoid unnecessary apt-get calls.
2018-05-31 05:47:50 +02:00
Chris Roberts 5e68c896cf Force types for testing 2018-05-30 15:42:04 -07:00