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
Chris Roberts
724b18aaea
Merge pull request #8526 from chrisroberts/fix/ssh-econnaborted
...
Retry SSH connection on Errno::ECONNABORTED
2017-04-25 14:36:15 -07:00
Chris Roberts
2acded113c
Retry SSH connection on Errno::ECONNABORTED
...
In some cases the SSH connection may be aborted while waiting
for setup. This includes aborted connections in the list of
applicable exceptions to retry on while waiting for the connection
to become available.
Fixes #8520
2017-04-25 13:38:24 -07:00
Chris Roberts
5fa23c42dd
Update CHANGELOG
2017-04-25 09:32:41 -07:00
Chris Roberts
cbcddaab75
Merge pull request #8506 from chrisroberts/fix/etc-hosts
...
Remove comment removal from /etc/hosts file on guests
2017-04-25 09:31:22 -07:00
Chris Roberts
769c49f205
Bump version for new development
2017-04-24 14:24:29 -07:00
Chris Roberts
aa70f3a43c
Update download version to 1.9.4
2017-04-24 14:19:11 -07:00
Chris Roberts
cd6c1705b9
Release v1.9.4
2017-04-24 12:53:45 -07:00
Chris Roberts
b195037c85
Update CHANGELOG
2017-04-24 08:54:53 -07:00
Chris Roberts
3fabe90f36
Merge pull request #8504 from chrisroberts/fix/win-unc-paths
...
Do not prefix Windows paths if UNC prefix already exists
2017-04-24 08:47:42 -07:00
Chris Roberts
6a49daab61
Merge pull request #8507 from JKapitein/patch-1
...
Remove duplicate line
2017-04-21 09:51:46 -07:00
JKapitein
9ac12f5227
Remove duplicate line
2017-04-21 14:19:51 +02:00
Chris Roberts
e62d71b645
Remove comment removal from /etc/hosts file on guests
...
Fixes : #7794
2017-04-20 17:07:56 -07:00
Chris Roberts
a8b2f78f59
Do not prefix Windows paths if UNC prefix already exists
...
While VirtualBox has commented that they do not support UNC remote
paths (but do for long paths) it seems that remote paths can work.
If user provides UNC path, allow it to be used as-is.
Fixes #7011
2017-04-20 16:33:38 -07:00
Chris Roberts
3e0f21bd7f
Update CHANGELOG
2017-04-20 16:11:05 -07:00
Chris Roberts
60187f2b17
Merge pull request #8503 from chrisroberts/fix/box-add-spaces
...
Unescape url to provide actual local path when adding box
2017-04-20 16:10:01 -07:00
Chris Roberts
d3bd9568a4
Update CHANGELOG
2017-04-20 16:09:41 -07:00
Chris Roberts
0e89fdf182
Merge pull request #8498 from chrisroberts/win/spaces
...
Quote exec_path to properly handle spaces in path
2017-04-20 16:08:24 -07:00
Chris Roberts
c935aeca93
Update CHANGELOG
2017-04-20 16:07:49 -07:00
Chris Roberts
c963532d6e
Use configured upload path for winssh communicator
2017-04-20 16:05:41 -07:00
Chris Roberts
c2a3978925
Merge pull request #8497 from chrisroberts/fix/docker-port-check
...
Support port checker methods which only accept the host port
2017-04-20 16:05:32 -07:00
Chris Roberts
7d1c77f523
Unescape url to provide actual local path when adding box
...
Fixes #6825
2017-04-20 15:37:08 -07:00
Chris Roberts
82e268a3e2
Quote exec_path to properly handle spaces in path
...
Fixes #7234
2017-04-19 12:23:55 -07:00
Chris Roberts
82ca8f8058
Support port checker methods which only accept the host port
...
When calling the port_checker an arity check is done to determine
if the helper accepts the host_ip and host_port or only the host_port.
Fixes #8423
2017-04-19 10:49:27 -07:00
Chris Roberts
61c556ff90
Update CHANGELOG
2017-04-18 14:03:05 -07:00