Commit Graph

11399 Commits

Author SHA1 Message Date
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
Chris Roberts 1be87662da Add missing test coverage for powershell util methods 2018-05-30 15:05:27 -07:00
Chris Roberts 5f4e661155 Add automatic console resize and environment support for powershell commands 2018-05-30 15:04:59 -07:00
Trey Tabner 9197036499
The restart command was moved to after the loop 2018-05-30 11:00:58 -05:00
Brian Cain 708dedc3c3
Merge pull request #9885 from ceefour/patch-1
Remove .
2018-05-30 08:17:18 -07:00
Trey Tabner 59474f80fd Increase priority and support multiple networks 2018-05-30 10:10:36 -05:00
Hendy Irawan 0cd2ea6548
Remove .
The command should be stand-alone, not part of a "sentence":

```
Enable-WindowsOptionalFeature : A positional parameter cannot be found that accepts argument '.'.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Enable-WindowsOptionalFeature], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
```
2018-05-30 17:11:14 +07:00
Chris Roberts 4e09a15acd Remove deprecated warning from non-deprecated option 2018-05-29 11:43:13 -07:00
Chris Roberts 1becae50a5 Include test coverage on provider option deprecation 2018-05-29 10:25:48 -07:00
Chris Roberts 12194cba5a Update Hyper-V provider configuration documentation 2018-05-29 10:21:52 -07:00
Chris Roberts 73c09de1a9 Add deprecation warning when `differencing_disk` option is used 2018-05-29 10:21:06 -07:00
Chris Roberts c238dc0a35 Include machine name when raising invalid box errors 2018-05-25 16:43:17 -07:00
Chris Roberts eba552ea73 Add more test coverage on Hyper-V Provider actions 2018-05-25 16:23:45 -07:00
Chris Roberts d24b432273 Add Hyper-V provider actions test coverage 2018-05-25 15:12:39 -07:00
Chris Roberts 35d8920325 Case insensitive switch check and only write sentinel file if not found 2018-05-25 15:11:58 -07:00
Brian Cain 2f31abfc68
Merge pull request #9869 from hashicorp/review/pr-9864
Review and Adaptation to PR #9864
2018-05-25 13:16:44 -07:00
Gilles Cornu f9f0a9ac0d Ansible Docs: Review and Adapt PR #9864
- Remove undesired blank characters
- The examples attached to a specific option must be concise
- The original example is a tip for a non-standard use case
2018-05-25 21:03:42 +02:00
Chris Roberts 6c731fb86c Add test coverage on hyper-v provider driver 2018-05-25 10:11:44 -07:00
Chris Roberts 2bd6f537ef Clean up syntax and force string type when setting integration option 2018-05-25 10:11:05 -07:00
Chris Roberts beacb5bada Add test coverage for all hyper-v configuration options 2018-05-24 16:56:46 -07:00
Chris Roberts b1f0f1566d Add new entries for hyper-v config validation errors 2018-05-24 16:56:18 -07:00
Chris Roberts d2bc634623 Add vm_integration_services validation 2018-05-24 16:55:35 -07:00
Chris Roberts 52bae21933 Remove unused PowerShell scripts 2018-05-24 15:33:36 -07:00
Jaroslaw Gorny 995c43dd0c Fix issue 9592 when systemd-networkd is used by Debian guest 2018-05-25 00:06:20 +02:00
Chris Roberts e6457d5061 Overhaul the Hyper-V provider 2018-05-24 14:43:44 -07:00
Rémy G 57f12d115c
Update ansible_common.html.md
Added an explanation about locating ansible roles in a non vagrant writeable directory
2018-05-24 14:54:15 +02:00
Rémy G 4b896d9945
ansible_local provisioner tuning example
According to @gildegoma in #9863, here's a concrete example about tuning ansible(_local) provisioner.
2018-05-24 14:22:43 +02:00
Igor Mazur 66b2866373
Shorten if 2018-05-23 11:17:40 +03:00
Igor Mazur 07bbaf9ac5
Fix fo tests (symbol and string dhcp) 2018-05-22 23:29:53 +03:00
Brian Cain dbba41a7ec
Update CHANGELOG 2018-05-22 09:39:47 -07:00
Brian Cain e9f9853b6a
Merge pull request #9856 from Aga303/global_status_informs_about_prune
global status informs about --prune
2018-05-22 09:39:08 -07:00
Aleksi Aalto fa272816ff global status informs about --prune
It's not obvious from the old explanation, how to get
rid of get rid of data that "may not be completely
up-to-date".
2018-05-22 15:20:40 +03:00
Igor Mazur be096c3ef4
Fix for ubuntu 17.10+ netplan
https://github.com/hashicorp/vagrant/issues/9570
2018-05-21 23:48:40 +03:00
Chris Roberts dfb2a9e823
Merge pull request #9841 from hashicorp/welcome
Update CONTRIBUTING.md (and related stuff)
2018-05-17 09:09:30 -07:00
Gilles Cornu 2b684b6f97 CONTRIBUTING: Add missing URL in mailing list link 2018-05-17 08:08:49 +02:00
Gilles Cornu e7da25b9f0 website/README: Add a link to CONTRIBUTING.md 2018-05-16 14:26:14 +02:00
Gilles Cornu 4471bc48fb Update CONTRIBUTING.md (and related stuff)
Motivated by https://twitter.com/mitchellh/status/996381507756294144

[skip ci]
2018-05-16 11:50:37 +02:00
Brian Cain f110d15c93
Update CHANGELOG 2018-05-11 16:42:07 -07:00
Brian Cain c6cd8f1e9a
Merge pull request #9829 from briancain/add-suspend-global
Introduce flag for suspending all machines
2018-05-11 16:41:24 -07:00
Brian Cain aebf20b35c
Update CHANGELOG 2018-05-11 16:41:00 -07:00
Brian Cain 5981ea2c28
Merge pull request #9824 from briancain/fix-netplan-network-renderer
Update netplan config generation to detect NetworkManager
2018-05-11 16:39:52 -07:00
Brian Cain 5ca382727d
Raise error if argument is provided with `--all-global` flag
This commit raises an error if additional arguments are provided to the
suspend command when the `--all-global` flag is used.
2018-05-11 15:43:14 -07:00
Brian Cain aa5687cd14
(#7221) Introduce flag for suspending all machines
This commit introduces a new flag to the suspend command,
`--all-global`, which will suepend all vms both locally and globally.
2018-05-11 10:15:48 -07:00
Chris Roberts ba75a03028 Create CODE_OF_CONDUCT.md 2018-05-11 09:01:00 -07:00
Alexander Fischer 0b87184ad4
#9174 Remove masterless? config attribute
Remove the @config.masterless? attribute as there is no benefit from it
2018-05-11 08:49:57 +02:00
Brian Cain 728a9135c8
(#9726) Update netplan config generation to detect NetworkManager
Prior to this commit, when setting up private networks on Ubuntu using
netplan, it assumed that the guest was using systemd, the suggested
default tool to manage networking, and did not take into account devices
that could be managed with NetworkManager. This commit fixes that by
looking at the devices managed on the guest to see if its managed by
NetworkManager, and if so, use that renderer for netplan instead of
networkd.
2018-05-10 13:02:05 -07:00