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
Brian Cain
fd3d78746c
( #9717 ) Improve messaging around not finding requested provider
...
This commit adds a bit more helpful messaging for the user when asking
for a provider that might not exist or does not follow the correct
casing. If it can find a match on a provider it knows about, it will
suggest it.
2018-04-26 09:43:58 -07:00
Brian Cain
a1ca29c5e4
Add warn and info validation translation strings
2018-04-20 10:51:38 -07:00
Brian Cain
e25cb51f15
Properly print warnings on config settings that aren't supported
2018-04-20 10:51:38 -07:00
Brian Cain
12b1a3dfe4
Update triggers based on code review
2018-04-20 10:51:38 -07:00
Brian Cain
0054c5aae6
Raise error if incomplete trigger block is defined
2018-04-20 10:51:38 -07:00
Brian Cain
693eb2fbbb
Add machine level warning when privileged option is set for run
2018-04-20 10:51:38 -07:00
Brian Cain
3ad4f576c0
Add only_on validation for config
2018-04-20 10:51:38 -07:00
Brian Cain
600557ff24
Move strings to translation file
2018-04-20 10:51:38 -07:00
Brian Cain
1591ae9916
Make run and run_remote settings shell provisioner configs
2018-04-20 10:51:38 -07:00
Brian Cain
60ff2489c4
Display warning if vagrant command for trigger is not found
2018-04-20 10:51:38 -07:00
Brian Cain
8e72ae5bd6
Add basic validation for trigger config objects
2018-04-20 10:51:38 -07:00
Brian Cain
4db3d49157
Improve network collision error message
...
This commit provides a bit more information when a non-hostonly network
collides with a host network.
2018-04-12 14:16:13 -07:00
Chris Roberts
f3c5e86f28
Merge pull request #9504 from zachflower/feature/vagrant-aliases
...
Vagrant aliases
2018-04-06 15:39:18 -07:00
Josh Soref
1a5ddea9f4
Spelling fixes
...
* account
* addresses
* administrator
* afterwards
* because
* bridgeable
* capabilities
* capability
* checksum
* configuration
* configuration for
* configure
* criteria
* delimited
* delivered
* derivatives
* description
* detect
* directory
* display
* downloading
* during
* electric
* enabling
* encountered
* equivalent
* executable
* executed
* hashicorp
* hypervisor
* hyphens
* implementation
* incorporate
* inheritance
* initialize
* instance
* instead
* interactions
* invocable
* machine
* maximum
* message
* mounting
* overridden
* overwrite
* paramiko
* preparing
* provides
* provisioning
* recursively
* requested
* resetting
* retryable
* running
* satisfied
* searching
* sometimes
* specified
* successfully
* synced folders
* unauthorized
* underlying
* userprofile
* vagrant
* vagrantfile
* variable
* various
* version
* virtual
* windows
2018-03-14 14:41:04 +00:00
Brian Cain
94d9495209
Merge pull request #9543 from moore3071/unnecessary_redirects
...
Update URLs for the repo
2018-03-08 09:54:16 -08:00
Brandon Moore
5a12641f9c
Update URLs for the repo
2018-03-07 17:10:30 -05:00
Chris Roberts
48bb306d17
Update the wording to not assume latest WSL features
2018-02-28 10:08:01 -08:00
Sergii Bondarenko
6d08d1c5bf
#9298 : Improve error message when WSL rootfs cannot be found
2018-02-28 10:08:01 -08:00
Sergii Bondarenko
62740e2240
#9298 : Increase stability of determination of a current WSL instance
2018-02-28 10:08:01 -08:00
Zachary Flower
f46ebf5240
throw an exception when whitespace is found within an alias keyword
2018-02-16 13:28:57 -07:00
Brian Cain
e8708232a5
( #9258 ) Exit if Hyper-V is enabled and VirtualBox provider is used
...
This commit adds a function on windows for the VirtualBox provider to
check if Hyper-V is enabled. If so, exit and display a warning to the
user that going forward will result in a system crash.
2018-02-08 11:20:41 -08:00
Chris Roberts
780673c6fe
Add warning message for VirtualBox shared folders option.
...
Display warning to user about the VirtualBox SharedFoldersEnableSymlinksCreate
option with link to VirtualBox documentation and instructions on how the
setting can be disabled.
2018-01-20 06:51:59 -08:00
Chris Roberts
f31badebb8
Merge pull request #9380 from chrisroberts/e-checkpoint
...
Update checkpoint integration
2018-01-19 15:06:28 -08:00
Chris Roberts
b5383cffab
Merge pull request #9369 from chrisroberts/e-generic-sensitive
...
Add Vagrantfile configuration option to register sensitive values
2018-01-16 20:05:37 -08:00
Chris Roberts
58f66ac8ce
Add full checkpoint integration
2018-01-16 14:16:49 -08:00
Chris Roberts
f2f8bc2db5
Add Vagrantfile configuration option to register sensitive values
2018-01-15 07:23:47 -08:00
Chris Roberts
5444271268
Move SMB credentials validation into host capability
2018-01-12 16:55:35 -08:00
Lachlan Arthur
01bc2627be
Check SMB credentials before using them
2018-01-12 15:46:31 -08:00
Chris Roberts
b0fc6a06a1
Merge pull request #9294 from chrisroberts/e-smb
...
SMB synced folders enhancements
2018-01-12 15:02:08 -08:00
Brian Cain
11ddd0136d
( #9044 ) Show all box providers in command outdated
...
Prior to this commit, when the `--global` flag was used with the
`vagrant box outdated` command, it would ignore box providers and not
inform the user of all outdated boxes. This commit fixes that by
displaying each box within the users environment, and includes the
provider of the box in the message.
2018-01-08 09:43:28 -08:00
Brian Cain
c9e5a22bff
( #9062 ) Deprecate :paranoid in favor of :verify_host_key
...
As of `net-ssh` version 4.2.0, the key :paranoid has been deprecated in
favor of using :verify_host_key. This commit updates Vagrants ssh config
to use the new key, and deprecates the use of :paranoid.
2018-01-05 10:02:45 -08:00
Chris Roberts
3eeff59329
Use custom types and messages for errors
2018-01-02 14:36:28 -08:00
Chris Roberts
98ec1af30e
Add smb_start capability for darwin
2018-01-02 11:21:50 -08:00
Chris Roberts
68439f6bac
Use sudo for sharing lists on darwin platform
...
On systems prior to high sierra the sharing binary
requires root user for access, so use sudo to get
full list output and inspect output.
2017-12-21 14:53:55 -08:00
Chris Roberts
81cbdae62a
Make powershell error generalized
2017-12-21 09:55:19 -08:00
Chris Roberts
5a607d9248
Clean up SMB related errors
2017-12-21 09:55:19 -08:00
Chris Roberts
00fa50c296
SMB enhancements
2017-12-21 09:55:19 -08:00
Brian Cain
0d7ad9f18f
Merge pull request #9275 from zachflower/validate_ip_addresses
...
Add a clean error message for invalid IP addresses
2017-12-15 11:22:03 -08:00
Brian Cain
144c402f3b
Merge pull request #9252 from briancain/9055/master/pretty-print-nameerror-exceptions
...
Print more helpful error message for NameEror exceptions
2017-12-15 09:19:26 -08:00
Brian Cain
627babe15e
( #9055 ) Print more helpful error message for NameEror exceptions
...
This commit adds some additional handling for when Vagrant loads config
files. Instead of showing the basic ruby exception, it prints a more
helpful error message and tries to direct the user to the line number
and file where the exception is occuring.
2017-12-14 15:31:48 -08:00
Zachary Flower
4a4183398b
Add a clean error message for invalid IP addresses
2017-12-14 14:57:21 -07:00
Zachary Flower
abb1149190
Raise an exception when the template cannot be found, and update tests accordingly
2017-11-17 12:20:03 -07:00
Brian Cain
401f1d521e
Merge pull request #9131 from bpietraga/fix-outputh-pathname-folder-creation
...
Fix --output path with specified folder
2017-11-15 09:55:32 -08:00
Bernard Pietraga
b026be7cb3
Fix --output path with specified folder
2017-11-04 12:00:55 +01:00
Brian Cain
d8bffd201f
Add delay for parallel destroy without force, restructure state checking
...
This commit adds better messaging to the user if the parallel flag is
used without the force flag. It also makes the state checking based on
the delta between the initial and final states of the guests due to the
fact that there is no guarantee what the "destroyed" state id will be
between providers.
2017-10-31 13:52:07 -07:00
Jonathan LaBroad
56861296fa
Added tests and validation for python_version parameter
2017-10-05 06:25:36 -04:00
Chris Roberts
34addec796
Merge pull request #8913 from mitchellh/gildegoma/6570-ansible-compatibility-mode
...
Ansible: Add "compatibility_mode" and "*become*" common options; Move "version" to common options
2017-09-06 13:18:08 -07:00
Gilles Cornu
4dc3e59b08
provisioners/ansible(both): Review of PR #8913
...
- Keep the Programming Errors with corresponding Exception class and
en.yml message template. Fix the alphabetical order in errors.rb by
the way.
- Fix English wording in the documentation and en.yml messages
- Use StandardError for unknown error rescuing.
Thanks @chrisroberts!
2017-09-06 17:12:50 +02:00
Gilles Cornu
dec09f350b
provisioners/ansible: Fix wording and link in i18n en.yml messages
2017-09-06 17:12:42 +02:00