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
0f7f4b32b9
Merge pull request #9400 from chrisroberts/fall-back-to-system-ssh
...
Allow which to use original path. Prefer native ssh.
2018-01-26 07:21:33 -08:00
Chris Roberts
570d5abb95
Prefer ssh executable found on original path
2018-01-25 08:23:14 -08:00
Chris Roberts
6f6e936451
Add option to Which utility for using original path on lookup
2018-01-25 08:23:14 -08:00
Brian Cain
343e252574
Favor system ssh binary over embedded ssh binary
2018-01-25 08:23:14 -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
Brian Cain
2225379b84
Update spec box versions
2018-01-17 16:34:15 -08:00
Chris Roberts
0bf589861c
Merge pull request #9212 from mahaag/master
...
Use basename for setting hostname on Suse
2018-01-16 20:08:05 -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
a51c6c8479
Merge pull request #9367 from chrisroberts/e-sensitive-prov
...
Allow hiding environment variable values in shell provisioner
2018-01-16 20:03:00 -08:00
Chris Roberts
933694d986
Merge pull request #9365 from chrisroberts/e-smb-cred-check
...
Check SMB credentials
2018-01-16 20:00:57 -08:00
Chris Roberts
3bd515dff3
Merge pull request #9366 from chrisroberts/e-smb-opts
...
Support SMB mount option overrides
2018-01-16 19:58:19 -08:00
Chris Roberts
f4cc82dffc
Include current kernel version when install devel package
2018-01-16 16:42:49 -08:00
Chris Roberts
48275614cf
Add test coverage on helper method
2018-01-16 15:39:31 -08:00
Chris Roberts
1e909fe5f3
Add test coverage on checkpoint integration
2018-01-16 15:19:59 -08:00
Chris Roberts
f2f8bc2db5
Add Vagrantfile configuration option to register sensitive values
2018-01-15 07:23:47 -08:00
Chris Roberts
3664f1a627
Allow hiding environment variable values in shell provisioner
2018-01-12 17:33:47 -08:00
Chris Roberts
b1c38c282e
Support SMB mount option overrides
2018-01-12 17:23:00 -08:00
Chris Roberts
5444271268
Move SMB credentials validation into host capability
2018-01-12 16:55:35 -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
25a2b5f9ab
Merge pull request #9183 from briancain/update-spec-boxes
...
Update vagrant-spec to include Windows platforms and updated linux boxes
2018-01-12 14:51:19 -08:00
Chris Roberts
15393fb725
Merge pull request #9274 from chrisroberts/f-nfs-naming
...
Update NFS service name usage for linux hosts
2018-01-12 13:14:07 -08:00
Brian Cain
5bf75dcfb3
Merge pull request #9338 from chrisroberts/fix-ubuntu17-networking
...
Update Debian guest configure networks
2018-01-10 10:11:47 -08:00
Brian Cain
bf4ea4e76c
Fix sticky Travis CI test
...
this commit removes the webserver block within the box add unit test.
It's not actually needed since the test is just ensuring that if a user
adds a box name as a URL it prints a warning to the user.
2018-01-09 16:05:07 -08:00
Brian Cain
b16ca2e384
Introduce flag for SharedFoldersEnableSymlinksCreate
...
Prior to this commit, the virtualbox synced folder option
`SharedFoldersEnableSymlinksCreate` was always enabled. This commit
introduces a config option and an environment variable which allows
users to configure the option globally or per synced_folder in their
Vagrantfile.
2018-01-09 14:33:24 -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
5191ec1281
Remove old test stubs
2018-01-04 15:06:19 -08:00
Chris Roberts
9596765034
Update debian network configuration tests
2018-01-03 16:32:21 -08:00
Chris Roberts
abf74e3757
Expand existing and requested paths prior to comparison
2018-01-03 10:05:05 -08:00
Chris Roberts
3e4c81f6b1
Clean up tests
2018-01-02 14:36:56 -08:00
Chris Roberts
98ec1af30e
Add smb_start capability for darwin
2018-01-02 11:21:50 -08:00
Chris Roberts
aabf4d689c
Fix up NFS test to ignore smb capability requests
2017-12-21 10:05:50 -08:00
Chris Roberts
3fd9f44921
Add test coverage for windows host smb capability
2017-12-21 09:55:19 -08:00
Chris Roberts
63d1b5e33d
Add test coverage for windows host configured IP addresses capability
2017-12-21 09:55:19 -08:00
Chris Roberts
f330f81fbf
Add test coverage on darwin host SMB capability
2017-12-21 09:55:19 -08:00
Chris Roberts
e12e2d5374
Add test coverage for darwin host configured addresses capability
2017-12-21 09:55:19 -08:00
Chris Roberts
98ce718e63
Add test coverage on SMB synced folder
2017-12-21 09:55:19 -08:00
Chris Roberts
e85ef1655b
Always remove credentials file after mount attempts
2017-12-21 09:55:19 -08:00
Brian Cain
f046482cfb
[WIP] systemd networkd for debian guests
2017-12-20 16:42:51 -08:00
Brian Cain
b9581ed213
Merge pull request #9251 from briancain/9137/master/exit-0-destroy-not-created
...
Exit 0 if vagrant destroy finds no running vms
2017-12-20 16:42:36 -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
Chris Roberts
6223afcfa6
Merge pull request #9276 from chrisroberts/e-scrub
...
Scrub sensitive information prior to message output
2017-12-15 09:55:18 -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
Chris Roberts
6f663edad0
Scrub sensitive information prior to message output
...
This provides a simple wrapper around all output to
scrub any strings that have been registered as sensitive
before being output. Also included is a small change
to the initial debug output to only show vagrant specific
environment variables and not the full user environment.
2017-12-14 15:38:31 -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
0f4c06f7ba
add unit tests to validate
2017-12-14 15:25:24 -07:00
Brian Cain
d4d4ed6473
( #9137 ) Exit 0 if vagrant destroy finds no running vms
...
This commit reverts the behavior of `vagrant destroy` to exit 0 if no
running vms were found when the destroy command is run.
2017-12-14 12:48:22 -08:00
Gilles Cornu
43bcf2aaf7
Merge pull request #9173 from hashicorp/gildegoma/fix-ansible-ask-sudo-pass-deprecation
...
Ansible Provisioner: Fix broken 'ask_sudo_pass' option
2017-12-14 21:46:23 +01:00
Chris Roberts
120722ab08
Update NFS service name usage for linux hosts
...
Provides simple nfs service name detection via systemd or sys-v. Defaults
are provided if no match is found. Service name is defined via method
allowing derivative guests to only need to provide an updated name.
2017-12-14 08:35:07 -08:00