Commit Graph

10109 Commits

Author SHA1 Message Date
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
Chris Roberts c085901c72 Merge pull request #8495 from chrisroberts/fix/ssh-comm-empty-data
communicator/ssh: Do not pass empty data to registered blocks
2017-04-18 14:01:24 -07:00
Chris Roberts 067a0a5d0d communicator/ssh: Do not pass empty data to registered blocks
Prevent sending empty data strings to defined blocks handling
stderr and stdout output. These can occur when the garbage
marker is identified and collected data pruned, but no remaining
data is left to send.

Fixes #8259
2017-04-18 13:33:19 -07:00
Seth Vargo 26f59f1b05
Update logos 2017-04-18 13:59:09 -04:00
Seth Vargo ded46dc71f
Update terminal 2017-04-18 13:54:25 -04:00
Chris Roberts a901c7baa8 Update CHANGELOG 2017-04-17 14:42:18 -07:00
Chris Roberts a7a904f30f Update CHANGELOG 2017-04-17 14:38:30 -07:00
Chris Roberts 4d0ecc14f7 Merge pull request #7797 from lukebakken/features/lrb/better-windows-admin-detection
Improve user permission detection on Windows
2017-04-17 14:37:43 -07:00
Chris Roberts 7097a485bf Update CHANGELOG 2017-04-17 08:22:29 -07:00
Chris Roberts 232a44f46d Merge pull request #8485 from chrisroberts/communicators/win-ssh
Add winssh communicator
2017-04-17 08:21:33 -07:00
Chris Roberts a541893e19 Update CHANGELOG 2017-04-16 14:18:36 -07:00
Chris Roberts e52821364a Merge pull request #8407 from gh2k/gentoo-systemd
Add support for gentoo guests that use systemd
2017-04-16 14:17:19 -07:00
Chris Roberts 3520e5b702 Update CHANGELOG 2017-04-16 08:24:06 -07:00