Commit Graph

11168 Commits

Author SHA1 Message Date
Chris Roberts de1c28aad0 Remove files url from example 2018-05-07 07:27:01 -07:00
Rui Lopes f3b377bd5c
reword the triggers only_on documentation 2018-05-06 20:25:46 +01:00
Rui Lopes a3175259db
Update configuration.html.md
fix typos
2018-05-06 20:23:20 +01:00
Brian Cain dcffe56b74
Update CHANGELOG 2018-05-04 15:01:33 -07:00
Brian Cain f43cacd36a
Merge pull request #9784 from briancain/move-trigger-obj-init
Move triggers object init in machine
2018-05-04 15:00:19 -07:00
Brian Cain 092e73d87f
(#9775) Move triggers object init in machine
Prior to this commit, the hyper-v provider called an action on a machine
that hadn't fully finished initializing. This commit fixes that by
moving up the initialization of the triggers object next to the rest of
the instance variables of the machine object.
2018-05-04 14:32:57 -07:00
Chris Roberts 7a4150dc3f Use net.exe to fetch SMB shares when Get-SmbShare is not available
Fixes #9547
2018-05-04 14:07:33 -07:00
Brian Cain 09be82f1e2
Merge pull request #9778 from OverByThere/patch-1
Syntax error for running remote script
2018-05-04 09:08:56 -07:00
Brian Cain 8c6e574e8a
Merge pull request #9777 from rquadling/patch-1
Update usage.html.md
2018-05-04 09:08:03 -07:00
Chris Roberts 2730fe7ec9 Update script parameter name in option to switchid
Fixes #9774
2018-05-04 08:55:18 -07:00
Dan Clarke 4b99e5676d
Syntax error for running remote script
I either got:
`syntax error, unexpected ':', expecting '}` or `wrong number of arguments (given 1, expected 0) (ArgumentError)` until I added the `=` in.
2018-05-04 15:44:31 +01:00
Richard Quadling 3da8f57d6e
Update usage.html.md
Show a `before` and an `after`.
2018-05-04 15:31:27 +01:00
Chris Roberts 6152f2aa0e Update version for dev 2018-05-03 14:20:44 -07:00
Chris Roberts 0af7ccd2ee Update website vagrant version 2.1.0 2018-05-03 14:16:03 -07:00
Chris Roberts 4eaa045f42 Release v2.1.0 2018-05-03 12:54:04 -07:00
Chris Roberts f5bb95491e Update CHANGELOG 2018-05-03 12:43:22 -07:00
Chris Roberts 02b9d625d3
Merge pull request #9759 from StefanScherer/wsl-remove-raise-vboxmanage-missing
Allow other providers in WSL
2018-05-03 12:42:16 -07:00
Chris Roberts 36622bf932 Update CHANGELOG 2018-05-03 12:41:55 -07:00
Chris Roberts 89d00f4204
Merge pull request #9758 from StefanScherer/wsl-rdp
Call mstsc.exe Windows RDP client in WSL
2018-05-03 12:40:37 -07:00
Chris Roberts d7ccfdd819 Update CHANGELOG 2018-05-03 12:35:54 -07:00
Chris Roberts 40ae8aa38d
Merge pull request #9769 from chrisroberts/e-key-perms
Log error and proceed when private key permissions fail
2018-05-03 12:34:50 -07:00
Chris Roberts 257c04401b Update CHANGELOG 2018-05-03 12:34:29 -07:00
Chris Roberts 483bcdd519
Merge pull request #9766 from chrisroberts/f-chef-solo-path
Trim drive letter prefix from path
2018-05-03 12:33:38 -07:00
Chris Roberts f0e232d739 Log error and proceed when private key permissions fail
Fixes #9765
2018-05-03 11:48:57 -07:00
Chris Roberts 8b398b66a3 Trim drive letter prefix from path
Fixes #9764
2018-05-03 09:28:19 -07:00
Brian Cain c056a86f1f
Update CHANGELOG 2018-05-02 15:49:40 -07:00
Brian Cain 70df6d4b2a
Merge pull request #9760 from briancain/continue-on-malformed-json
Continue on if vagrant fails to parse metadata box for update
2018-05-02 15:49:08 -07:00
Brian Cain 2ab58d7369
Update CHANGELOG 2018-05-02 15:48:37 -07:00
Brian Cain e1129d27f9
Merge pull request #9761 from briancain/FIX-DOCKER-EXEC
Use Util::SafeExec if docker-exec is run with `-t` option
2018-05-02 15:47:46 -07:00
Brian Cain 79e535a7ee
(#9622) Use SafeExec for docker-exec
This commit uses the internal helper SafeExec rather than using the
Kernel class directly. It also adds a test to ensure that if the `-t`
option is used, it will call SafeExec.
2018-05-02 14:23:50 -07:00
Brian Cain beb08b51a4
(#7076) Continue on if vagrant fails to parse metadata box for update
Prior to this commit, vagrant would halt if it could not parse the
metadata file for a box to check for updates with. This commit changes
that to behave like when vagrant fails to download a metadata file and
continue on but warn the user it failed to check for box updates.
2018-05-02 13:58:21 -07:00
Stefan Scherer f14e8bcbf2
Allow other providers in WSL 2018-05-02 22:36:17 +02:00
Chris Roberts b0cbac3da5 Update CHANGELOG 2018-05-02 08:56:35 -07:00
Chris Roberts fbcd86993b
Merge pull request #9737 from chrisroberts/e-hyper-v-addr
Check neighbors for valid guest address when default lookup fails
2018-05-02 08:54:57 -07:00
Chris Roberts 47ce9a407b Update CHANGELOG 2018-05-02 07:48:47 -07:00
Chris Roberts bf281a912c
Merge pull request #9747 from chrisroberts/e-hyper-v-checkpoints
Reference Hyper-V switch by ID instead of name
2018-05-02 07:47:31 -07:00
Chris Roberts 7d752d2155 Update CHANGELOG 2018-05-02 07:47:02 -07:00
Chris Roberts 3f3777f03a
Merge pull request #9746 from chrisroberts/e-hyper-v-check
Update Windows Hyper-V check
2018-05-02 07:45:26 -07:00
Stefan Scherer a01d68b2e0
Call mstsc in WSL 2018-05-02 15:21:47 +02:00
Brian Cain 6fc2d9d82d
Merge pull request #9754 from briancain/DOCKER-PROV-WINDOWS
Update docker provisioner for windows, fix command filter behavior for `rm`
2018-05-01 13:46:33 -07:00
Brian Cain 93356d4635
Update rm filters to test for path
This commit updates the rm filter for winrm to operate like how rm works
in bash. If a folder doesn't exist, the command returns 0 rather than 1.
2018-05-01 13:35:45 -07:00
Chris Roberts 9f08337ce1 Ignore errors on neighbor lookup and validate result 2018-04-30 17:39:27 -07:00
Chris Roberts 486bcb4fc1 Update CHANGELOG 2018-04-27 17:05:54 -07:00
Chris Roberts 3dcc350364
Merge pull request #9696 from D4rkSh1t/fix-rootpath-for-wsl
fix rootpath if the vagrantfile is located under the root directory (WSL)
2018-04-27 17:04:23 -07:00
Chris Roberts 96ffd0c81e Update CHANGELOG 2018-04-27 17:03:42 -07:00
Chris Roberts 39bb589f7d
Merge pull request #9739 from chrisroberts/f-midware-invalid-uri
Ignore URLs which cannot be parsed in the authentication middleware
2018-04-27 17:03:02 -07:00
Chris Roberts 2b493460f7 Update CHANGELOG 2018-04-27 17:02:29 -07:00
Chris Roberts f2f5239973
Merge pull request #9738 from chrisroberts/e-trace-report
Disable report on exception by default
2018-04-27 17:01:56 -07:00
Chris Roberts e47e1df228 Reference Hyper-V switch by ID instead of name
Keep track of selected Hyper-V switch using the ID instead of name
to prevent any encoding issues that may occur switching between
PowerShell and Ruby. With the IDs staying consistent, the switch
name can be fetched from the provided ID.

Fixes #9679 #8794 #9451
2018-04-27 16:52:16 -07:00
Chris Roberts a997a27b57 Update Windows Hyper-V check
Checks only if the Hyper-V hypervisor is enabled instead of all
Hyper-V features. This will allow detection where Hyper-V is in
use for things like ApplicationGuard.

Uses both Get-WindowsOptionalFeature and Get-WindowsFeature to
support check on server and non-server version.
2018-04-27 14:13:34 -07:00