John Ericson
7a44cf58c7
BUG: Solved problems that happened in unit test "VagrantPlugins::HyperV::Action::Configure", "should call the app on success". The problems occured because controllers was being called when it wasn't defined. Solved by implementing if test for this.
2018-07-20 14:25:17 +02:00
John Ericson
e5641c826f
MISC: Replaced tab with spaces for indenting.
2018-07-20 10:03:39 +02:00
John Ericson
e539835154
MISC: Cleanup up unnecessary formating and style changes in the code to make the difference as minimal as possible.
2018-07-20 09:46:21 +02:00
John Ericson
7429e861e7
IMPR: Cleaned up source from puts and debug output.
...
BUG: Moved source for attaching disk from config.rb to import.rb which makes it much more stable when halting and uping the vm several times.
IMPR: Implemented all I18n messages in English for this feature.
FEAT: Improved the documentation and added an example.
2018-07-19 23:49:44 +02:00
John Ericson
bdde324158
IMPR: Changes format of configuration of this. Now it better represent concept discussed in https://github.com/hashicorp/vagrant/pull/6321#issuecomment-179687930 .
...
IMPR: Now the size of a new disk is specified in MB instead GB as wished in https://github.com/hashicorp/vagrant/pull/6321#issuecomment-179687930 .
MISC: Got this working on creating a new machine. Seems to be problems when halting and up'ing the machine again. It says it can't attach the disk again. Perhaps it was better having this code in import_vm.ps1 anyway?
MISC: Lots of puts for debug purposes.
2018-07-19 20:11:00 +02:00
John Ericson
5449b7053c
MISC: Following the same style guide as the rest of the PowerShell scripts.
...
MISC: Fix indentation.
2018-07-17 23:06:36 +02:00
John Ericson
2fc710be16
IMPR: Ported the code for creating and attaching new drives in the Hyper-V provider from Vagrant 2.0.1 to 2.1.3-dev. I can now verify locally that it works.
2018-07-17 22:04:36 +02:00
Chris Roberts
8c7e420b20
Update CHANGELOG
2018-07-17 10:01:09 -07:00
Chris Roberts
01a7b625e5
Merge pull request #10017 from troeggla/master
...
Download causes exception when location header is not an absolute URL
2018-07-17 10:00:23 -07:00
Chris Roberts
2ac0b0c3a9
Update utility version for downloads page
2018-07-16 15:08:14 -07:00
Justin Campbell
e56e85c94d
Merge pull request #10020 from hashicorp/website-vagrant-cloud-api-search
...
website: Document Vagrant Cloud search API
2018-07-16 16:46:49 -04:00
Brian Cain
386b646fc2
Update CHANGELOG
2018-07-13 15:47:11 -07:00
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
Justin Campbell
3e0477c20b
website: Add downloads to box API responses
2018-07-13 14:57:05 -04:00
Justin Campbell
a2abbcdc92
website: Document Vagrant Cloud search API
2018-07-13 14:55:00 -04:00
Thomas Röggla
2613d620fd
checking whether the field location_uri.host is nil
2018-07-12 15:49:26 +02: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