Commit Graph

10954 Commits

Author SHA1 Message Date
Chris Roberts 39606e833f Update method documentation to correctly describe method 2017-05-09 09:13:14 -07:00
Chris Roberts bf04b97ff3 Merge pull request #8572 from chrisroberts/fix/nmcli-disconnect
Always disconnect interface when controlled by NetworkManager
2017-05-08 19:40:04 -07:00
Chris Roberts c081916ce8 Always disconnect interface when controlled by NetworkManager 2017-05-08 19:30:35 -07:00
Chris Roberts 10cb43b917 Use helper module to silence warnings 2017-05-08 17:03:38 -07:00
Chris Roberts bf1021905b Remove nokogiri from explicit dependency list
Removes the nokogiri dependency to prevent resolution conflicts
with plugins that may require earlier or later versions than what
Vagrant constrains to.

Fixes #8550
2017-05-08 16:03:16 -07:00
Chris Roberts 7e49c6a609 Add documentation for WSL 2017-05-08 15:33:40 -07:00
Chris Roberts 328d1aa8af Disable verbose output accessing PATH 2017-05-08 15:22:23 -07:00
Chris Roberts e8e38a4007 Halt Vagrant if within WSL and attempting to operate out of rootfs 2017-05-08 15:21:39 -07:00
Chris Roberts 9a06374d29 Perform WSL check and init after environment is created 2017-05-08 15:20:21 -07:00
Chris Roberts 4df4f77bf6 Match WSL installed Vagrant with Windows installed Vagrant 2017-05-08 10:21:01 -07:00
Chris Roberts 83b0c87f52 Support running Vagrant within the Windows Subsystem for Linux 2017-05-08 10:21:01 -07:00
Chris Roberts b9862ce847 Update CHANGELOG 2017-05-08 10:19:24 -07:00
Chris Roberts 8062b4f61f Merge pull request #8568 from chrisroberts/fix/hyperv-import
Update conditional check to use string equality
2017-05-08 10:17:35 -07:00
Chris Roberts 0b58b27b4a Update CHANGELOG 2017-05-08 10:17:09 -07:00
Chris Roberts af5f943123 Merge pull request #8567 from chrisroberts/fix/winssh
Enable capabilities for winssh communicator
2017-05-08 10:16:19 -07:00
Chris Roberts 56e9fe486e Update CHANGELOG 2017-05-08 10:16:04 -07:00
Chris Roberts ffc6e3e282 Merge pull request #8566 from chrisroberts/fix/docker-ssh
Fall back to old style ssh info lookup in docker provider
2017-05-08 10:14:51 -07:00
Chris Roberts ab4a864317 Update CHANGELOG 2017-05-08 10:13:06 -07:00
Chris Roberts c2dc79567e Merge pull request #8565 from chrisroberts/fix/ssh-errors
Update hyperv and docker providers to raise exception on SSH when machine is not ready
2017-05-08 10:04:23 -07:00
Chris Roberts c691066924 Merge pull request #8559 from DAXaholic/fix-typo
Fix typo
2017-05-08 10:03:34 -07:00
Chris Roberts 9452e7cc38 Update conditional check to use equality check
Fixes #8444
2017-05-05 14:07:52 -07:00
Chris Roberts ee79dd0575 Enable windows guest capabilities using winssh communicator 2017-05-05 14:04:54 -07:00
Chris Roberts 62edaf5623 Allow shell to be defined when calling #execute 2017-05-05 14:04:54 -07:00
Chris Roberts 88dfe18a3f Fall back to old style ssh info lookup in docker provider
If ssh information cannot be properly extracted from within
the NetworkSettings data, fallback to original ssh information
implementation

Fixes #8552
2017-05-05 14:02:05 -07:00
Chris Roberts e5e0274ef5 Update hyperv and docker providers to raise exception on SSH when machine is not ready
This makes the behavior of the docker and hyperv provider consistent with the
virtualbox provider by raising an error on ssh actions if the machine is not
created or not running.

Fixes #8508
2017-05-05 14:01:12 -07:00
Chris Roberts 82550805a0 Merge pull request #8561 from bbrala/update-hyperv-keyvalue-docs
Update docs to reflect correct setting for key_value_pair_exchange
2017-05-05 10:59:40 -07:00
Björn Brala 2a777f0561 Update docs to reflect correct setting for key_value_pair_exchange (see issue #8551) 2017-05-05 17:10:09 +02:00
Aaron Kunz a7f14102d4 Fix typo 2017-05-04 18:51:43 +02:00
Aron Griffis 3ec1f4e045
Add new tests for VAGRANT_PREFERRED_PROVIDERS 2017-05-03 08:19:29 -04:00
Aron Griffis 7c538b4504
Honor VAGRANT_PREFERRED_PROVIDERS in Environment#default_provider 2017-05-03 08:19:29 -04:00
Aron Griffis f256fc882f
Rewrite Environment#default_provider to be less confusing 2017-05-03 08:19:03 -04:00
Brian Dwyer d427dd03d8
Add support for Kali Linux
Signed-off-by: Brian Dwyer <bdwyer@IEEE.org>
2017-05-02 23:30:10 -04:00
Chris Roberts 1073aa8163 Update CHANGELOG 2017-05-01 16:02:33 -07:00
Chris Roberts 78e2bb513c Merge pull request #8531 from chrisroberts/network/guest-rhel
guests/rhel: Update network configuration
2017-05-01 15:56:25 -07:00
Chris Roberts 59cefea282 Update CHANGELOG 2017-05-01 15:50:14 -07:00
Chris Roberts 023a23403a Merge pull request #8433 from legal90/fix-os-friendly-name
virtualbox: Fix invalid share names in Windows guests
2017-05-01 15:49:13 -07:00
Chris Roberts af9f17d50a Update CHANGELOG 2017-05-01 15:48:05 -07:00
Chris Roberts 9945949ffe Merge pull request #8548 from chrisroberts/fix/hyperv-admin
Fixed admin test to verify an elevated shell
2017-05-01 15:46:39 -07:00
John Rizzo 1dfc646fb3 Fixed admin test to verify that you are running in an elevated shell, not that you are in the administrators group since that is not required. 2017-05-01 15:42:06 -07:00
Chris Roberts 9018ba7fd6 Update CHANGELOG 2017-05-01 13:39:31 -07:00
Chris Roberts 1c00aa3d98 Merge pull request #8539 from chrisroberts/fix/win-prov-bat
Fix shell provisioner to execute batch files correctly
2017-05-01 13:31:46 -07:00
Chris Roberts 1df852c88a Reduce commands. Allow nm reload/restart to bring interfaces up.
Reduce the total number of commands run to configure interfaces. If
a service reload/restart is required, only execute it once instead
of once per device. When nm is managing a device, the explicit up
is not required.
2017-05-01 13:17:17 -07:00
Chris Roberts 71bfe7c884 Fix shell provisioner to execute batch files correctly
Call cmd.exe explicitly when running batch files to easily
manage special characters that may be within the path.

Fixes #8535
2017-04-28 15:05:08 -07:00
Chris Roberts a018eec3e7 Update CHANGELOG 2017-04-26 13:36:59 -07:00
Chris Roberts c00e2f1359 Merge pull request #8529 from DrowningElysium/patch-1
Fix crash when using HyperV
2017-04-26 13:36:05 -07:00
Chris Roberts 414184b76b guests/rhel: Update network configuration
Properly detects NetworkManager on guest as well as devices controlled
by NetworkManager. Provides configuration option to enable/disbale
NetworkManager control on devices.
2017-04-26 13:15:33 -07:00
Chris Roberts 5083953b72 Merge pull request #8528 from Gryff/patch-1
Small typo
2017-04-26 09:11:11 -07:00
Arjan Weurding 399789467a Fix crash when using HyperV
Fix the error 
```homestead-7: Creating and registering the VM...
An error occurred while executing a PowerShell script. This error
is shown below. Please read the error message and see if this is
a configuration error with your system. If it is not, then please
report a bug.

Script: import_vm_vmcx.ps1
Error:

At C:\Program Files
(x86)\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.9.4\plugins\providers\hyper                    v\scripts\import_vm_vmcx.ps1:18 char:37
+     [string]$differencing_disk=$null
+                                     ~
Missing ')' in function parameter list.
At C:\Program Files
(x86)\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.9.4\plugins\providers\hyper                    v\scripts\import_vm_vmcx.ps1:20 char:1
+ )
+ ~
Unexpected token ')' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : MissingEndParenthesisInFunctionParameterList
```
2017-04-26 08:15:06 -07:00
Liam Griffin 3b6b213880 Small typo 2017-04-26 11:20:32 +01:00
Chris Roberts b4f1973f3b Update CHANGELOG 2017-04-25 14:37:38 -07:00