Commit Graph

10576 Commits

Author SHA1 Message Date
Brian Cain e72a72fba4 Update CHANGELOG 2017-12-15 09:20:24 -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
Michael T Lombardi 9e1d05641f Ensure Hyper-V cmdlets are fully qualified
+ This disambuguates calls to the Hyper-V functions for the Hyper-V provider.
The ambiguity of some commands - such as `Get-VM` - causes the Hyper-V provider
to fail on systems where VMware PowerCLI is installed. This change ensures that
all calls to Hyper-V specific cmdlets or functions are prepended by `Hyper-V\`.
This ensures the correct cmdlet calls are being made.
+ Resolves  #8862.
2017-12-15 08:30:38 -06: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
Zachary Flower 4a4183398b Add a clean error message for invalid IP addresses 2017-12-14 14:57:21 -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 2b4a69964e
Update CHANGELOG [GH-9173]
[ci skip]
2017-12-14 21:47:59 +01: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 977886f72c Update CHANGELOG 2017-12-14 12:23:39 -08:00
Chris Roberts 9be2651706
Merge pull request #9269 from chrisroberts/e-log-timestamp
Provide optional timestamp on log output
2017-12-14 12:22:24 -08: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
Chris Roberts da42bfa8ac Provide optional timestamp on log output
Enable log message output to be prefixed with the date and time.
Include CLI flag to optionally enable `--timestamp` and a
convenience flag to enable debug logging with timestamps at
the same time `--debug-timestamp`.
2017-12-13 17:05:51 -08:00
Chris Roberts 3a5729015a Add documentation entry for init command --template flag 2017-12-13 15:59:45 -08:00
Chris Roberts cca459d823 Update CHANGELOG 2017-12-13 15:55:20 -08:00
Chris Roberts 0c40fd3161
Merge pull request #9202 from zachflower/vagrantfile_templates
Support for custom Vagrantfile templates
2017-12-13 15:54:06 -08:00
Chris Roberts 02a18d3efb Update CHANGELOG 2017-12-13 15:44:05 -08:00
Chris Roberts 04e35784e7
Merge pull request #9205 from mcandre/patch-1
dragonflybsd: extend FreeBSD
2017-12-13 15:42:25 -08:00
Chris Roberts 3bed105afe Update CHANGELOG 2017-12-13 15:38:56 -08:00
Chris Roberts b4444aeaab
Merge pull request #9245 from kallisti5/haiku-improvements
haiku: Improve capabilities. (public keys, halt)
2017-12-13 15:38:13 -08:00
Chris Roberts cad374790d Update CHANGELOG 2017-12-13 15:33:44 -08:00
Chris Roberts baadd62ddd
Merge pull request #9255 from andrew-hardy/fix/master/hyperv_extensions
Removed rogue $ from string in hyperv import.rb
2017-12-13 15:31:24 -08:00
Chris Roberts 833edf5b8f
Merge pull request #9231 from Manouchehri/docs-host
Remove outdated statement.
2017-12-13 15:27:16 -08:00
Chris Roberts b45e650ef3
Merge pull request #9268 from ramiro/fix-docs-box-test-example
Added missing CLI switch to base box test example.
2017-12-13 15:25:05 -08:00
Ramiro Morales ac7c4b83cd Added missing CLI switch to base box test example. 2017-12-13 19:44:20 -03:00
Tomoyuki Sakurai 35d3be865f Atomically apply new hostname.if(5)
This fixes an issue when the interface being configured is the
interface through which ssh traffic is forwarded.

In a complex scenario, one needs to disable the default interface for
NAT, and use other interface for ssh. In this case, when vagrant run
`ifconfig #{ifname} inet delete`, the second ifconfig that is supposed
to restore interface settings will never be called. This might be a rare
need, but it is also strongly recommended to use `netstart` when
reconfiguring interfaces after updating `hostname.if(5)`.

The issue can be triggered when ssh connection has issues between two
`ifconfig` commands.
2017-12-13 18:34:17 +09:00
Justin Campbell c0f7023e8e
Merge pull request #9263 from hashicorp/github-issue-template-sensitive-data
Add note about removing sensitive data
2017-12-12 15:21:36 -05:00
Justin Campbell 2fad36ab4a
Add note about removing sensitive data 2017-12-12 14:32:46 -05:00
Andrew Hardy ad0a47bedf Removed rogue $ from string in hyperv import.rb 2017-12-10 11:09:49 +10:00
Brian Cain fc65a8d857 Update vagrant-spec to include Windows platforms
This commit updates vagrant-spec to run with windows platforms. It also
adds a readme to give more information on how to run the vagrant-spec
suite.
2017-12-08 11:31:59 -08:00
Brian Cain 180a82c6eb Update CHANGELOG 2017-12-07 11:28:30 -08:00
Brian Cain a724a19a5d
Merge pull request #8992 from BenjaminSchiborr/fix/master/fix_salt_windows_bootstrap
provisioners/salt: Fixes timeout issue in salt bootstrapping for windows
2017-12-07 11:27:55 -08:00
Brian Cain f03f8baa8d
Merge pull request #9249 from codybennett/patch-1
Update box.html.md
2017-12-06 17:27:20 -08:00
codybennett b70340b0d1
Update box.html.md
Grammatical correction to Box Prune documentation 

Italicize Box Update "Note"
2017-12-06 18:41:35 -06:00
Justin Campbell ba9941d5ae
Merge pull request #9248 from hashicorp/vagrant-cloud-api-docs-fix-examples
website: Fix Vagrant Cloud API examples
2017-12-06 15:28:41 -05:00
Justin Campbell 161cf35884 website: Fix Vagrant Cloud API examples
When using Turbolinks to navigate between docs pages, the document ready event never fired and all language examples were shown. This should fix the issue without needed a refresh/example menu click.
2017-12-06 15:03:11 -05:00
Alexander von Gluck IV 263a2c4d9b haiku: Improve capabilities. (public keys, halt) 2017-12-05 18:19:15 -06:00
Brian Cain a22b13034d Update CHANGELOG 2017-12-05 14:04:51 -08:00
Brian Cain c3a4f8d72a
Merge pull request #7805 from kallisti5/master
Add support for the Haiku operating system
2017-12-05 14:03:43 -08:00
Brian Cain e98b72d2c5 Update CHANGELOG 2017-12-01 13:07:36 -08:00
Brian Cain d93b5a9c75
Merge pull request #9237 from briancain/update-vbox-support-docs
Include virtualbox 5.2.x as supported in docs
2017-12-01 13:06:40 -08:00
Brian Cain f0fa6371a3 Include virtualbox 5.2.x as supported in docs 2017-12-01 09:01:01 -08:00
David Manouchehri 3bf41e8c2b
Remove outdated statement. Windows and macOS use native Docker by default (see 05b6cdab6c). 2017-11-29 19:15:37 -05:00
Matthias Haag 9807abe498 Adjusted test to work with new implementation 2017-11-22 11:28:30 +01:00
Matthias Haag a139dd2b59 use basename for setting hostname 2017-11-22 11:09:51 +01:00
Andrew Pennebaker 2b87d12925
dragonflybsd: extend FreeBSD
Reuse FreeBSD guest code for installing rsync, etc., as dragonfly- and freebsd are very similar, especially with regard to package management.
2017-11-19 19:41:25 -06: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
Zachary Flower 968fbb2399 Update `init` command unit tests to reflect new --template option 2017-11-17 12:02:23 -07:00
Zachary Flower 14d596f08e Add --template option to init command, with graceful fallback to default Vagrantfile template behavior 2017-11-17 11:30:10 -07:00