Brian Cain
15a9185616
Merge pull request #10005 from briancain/add-exit-code-checks-for-run-scripts
...
Catch and allow for non-standard exit codes
2018-07-13 15:45:54 -07:00
Brian Cain
52c3dcc70e
( #9997 ) Catch and allow for non-standard exit codes
...
Prior to this commit, the run trigger option wouldn't catch for failures
outside of the #Subprocess.execute raising exceptions. This commit fixes
that by inspecting the exit code result of the subprocess and using the
new `exit_codes` option to determine how to move forward with the
trigger.
2018-07-09 15:56:26 -07:00
Chris Roberts
1f99da7a11
Update CHANGELOG
2018-07-06 16:51:57 -07:00
Chris Roberts
41d4c9aad4
Merge pull request #9952 from chrisroberts/f-ftp-push-toomanyfiles
...
Provide custom error when attempting to push too many files with FTP
2018-07-06 16:50:56 -07:00
Brian Cain
04f7215b5e
Update CHANGELOG
2018-06-29 09:26:48 -07:00
Brian Cain
0872609b59
Merge pull request #9968 from verheyenkoen/version-check-display-installed-version
...
Display current version in version check
2018-06-29 09:25:59 -07:00
Koen Verheyen
614570fd89
Typo in en.yml
2018-06-29 16:44:43 +02:00
Koen Verheyen
7939784d1b
Display current version in version check
2018-06-29 16:41:50 +02:00
Justin Campbell
45dcc43392
Merge pull request #9953 from hashicorp/website-vagrant-cloud-api-delete-token
...
website: Vagrant Cloud API docs - deleting tokens
2018-06-27 14:04:28 -04:00
Chris Roberts
8617e1cf26
Update version for dev
2018-06-26 13:51:13 -07:00
Chris Roberts
2cc33870d0
Update website vagrant version 2.1.2
2018-06-26 13:50:11 -07:00
Justin Campbell
969f6fda41
website: Vagrant Cloud API docs - deleting tokens
2018-06-26 12:44:56 -04:00
Chris Roberts
26497ec2b1
Release v2.1.2
2018-06-26 08:54:09 -07:00
Chris Roberts
ac8ad59823
Provide custom error when attempting to push too many files with FTP
...
When the configured directory for FTP push has too many files, it will
generate an exception and fail due to a stack overflow. When this happens
just rescue out the exception and re-raise a custom error to provide
some context to the user on the actual problem.
2018-06-26 08:28:01 -07:00
Chris Roberts
85acf0cac7
Update box versions
2018-06-19 09:57:03 -07:00
Chris Roberts
3f9755b698
Update CHANGELOG
2018-06-18 15:46:56 -07:00
Chris Roberts
54986a90fd
Merge pull request #9944 from chrisroberts/e-hyperv-dirperms
...
Add Hyper-V access check on data directory
2018-06-18 15:45:10 -07:00
Chris Roberts
101fc447ec
Add Hyper-V access check on data directory
2018-06-18 15:36:45 -07:00
Chris Roberts
d12c280005
Update CHANGELOG
2018-06-18 15:30:24 -07:00
Chris Roberts
0134a235e7
Merge pull request #9943 from chrisroberts/e-wsl-hyperv
...
Support Hyper-V provider within WSL
2018-06-18 15:29:01 -07:00
Chris Roberts
ed2af17e45
Add delete vm action checks for data directory removal and creation
2018-06-18 10:18:05 -07:00
Chris Roberts
69ece0db4e
Always return string value when converting path
2018-06-18 10:02:59 -07:00
Chris Roberts
ea4e60247d
Check for module_path entry instead of custom environment variable
2018-06-18 09:53:22 -07:00
Chris Roberts
941dd77a90
Force string conversion on paths
2018-06-18 09:53:06 -07:00
Chris Roberts
835c500892
Add WSL check on usable? test for provider
2018-06-18 09:50:56 -07:00
Chris Roberts
c5c63d291d
Only expand path if not in windows format
2018-06-18 09:39:30 -07:00
Chris Roberts
cdab45424e
Clean up powershell tests and add test for full path check
2018-06-18 09:39:17 -07:00
Chris Roberts
fe8fe55d1f
Delete and re-create data directory when destroying guest
2018-06-18 09:09:27 -07:00
Chris Roberts
a8abb6898c
Fix PowerShell cmdlet name for clones
2018-06-18 09:09:01 -07:00
Chris Roberts
1e5c8bf275
Add check for WSL when determining if Hyper-V is usable
2018-06-18 09:08:35 -07:00
Chris Roberts
d84f29f12c
Just provide module path as conversion is done earlier
2018-06-18 09:08:05 -07:00
Chris Roberts
07c5fd4885
Fix SMB error message to be within the correct namespace
2018-06-18 09:07:30 -07:00
Chris Roberts
97eb459f56
Always expand to full path before converting to Windows path
2018-06-18 09:07:12 -07:00
Brian Cain
43f63dfbc2
Merge pull request #9940 from marjune163/doc-improve
...
use vagrant file version 2 configuration for nfs synced folder
2018-06-18 09:00:50 -07:00
Chris Roberts
3f23466703
Replace file separators when decompressing box files
2018-06-18 08:57:29 -07:00
marjune
f2faabec25
use vagrant file version 2 configuration for nfs synced folder
2018-06-17 23:31:15 +08:00
Chris Roberts
55aaa1d258
Update path usages to support Hyper-V provider access from WSL
2018-06-15 09:03:18 -07:00
Chris Roberts
5357727350
Attempt full path to powershell as last resort in WSL
2018-06-15 09:03:18 -07:00
Chris Roberts
5384c037b7
Update CHANGELOG
2018-06-15 08:59:30 -07:00
Chris Roberts
59709802da
Merge pull request #9936 from chrisroberts/u-hyperv-import-errors
...
Attempt to provide helper error message on failed VM import
2018-06-15 08:57:14 -07:00
Chris Roberts
8fbf27772a
Always ensure full path to configuration file on import
2018-06-15 07:48:14 -07:00
Chris Roberts
694104b005
Attempt to provide helper error message on failed VM import
...
When importing a Hyper-V VM fails, attempt to manually build
a system definition and inspect the result to determine cause
of the failure.
2018-06-14 16:40:37 -07:00
Chris Roberts
2c24bcc433
Update CHANGELOG
2018-06-13 14:52:53 -07:00
Chris Roberts
3919455f08
Merge pull request #9932 from chrisroberts/e-hyperv-maxmem-chk
...
Validate maxmemory setting within Hyper-V provider
2018-06-13 14:52:09 -07:00
Chris Roberts
4d3f5d33c6
Merge pull request #9925 from chrisroberts/u-powershelling
...
Misc. PowerShell cleanup
2018-06-13 14:51:43 -07:00
Chris Roberts
9482f351fc
Validate maxmemory setting within Hyper-V provider
...
Forces an error if maxmemory value is less than the configured
minimum or startup memory.
Fixes #9477
2018-06-13 13:27:11 -07:00
Chris Roberts
c7e35d655c
Merge pull request #9929 from chrisroberts/f-hyperv-netadapt
...
Disconnect all configured network adapters
2018-06-13 13:15:32 -07:00
Brian Cain
52c1abbcfc
Merge pull request #9930 from mstovicek/patch-1
...
Add `suspend` into a list of available actions
2018-06-13 10:02:11 -07:00
Milan Stovicek
3ce7c0cf3f
Add `suspend` into a list of available actions
...
`suspend` action is not listed, even though it can be used and it works.
```
$ vagrant --version
Vagrant 2.1.1
```
```
config.trigger.before [:suspend] do |trigger|
trigger.name = "Before suspend"
trigger.run = {inline: "..."}
end
````
2018-06-13 18:51:45 +02:00
Chris Roberts
1554f447f2
Disconnect all configured network adapters
...
When importing a Hyper-V VM ensure all adapters are disconnected from
switches that were used when the box was built.
2018-06-13 07:59:56 -07:00