Commit Graph

11764 Commits

Author SHA1 Message Date
Chris Roberts c8f431cf44 Prepend computer name to user when created scheduled tasks
When running a shell provisioner elevated with winrm a scheduled
task is created to bypass permissions issues. If the name of the
computer has changed this may no longer work. To prevent errors
this PR updates the implementation to fetch the computer name
and prepends it to the username before creating the task.
2018-11-08 14:21:20 -08:00
Chris Roberts b7cff2de2b
Merge pull request #10382 from chrisroberts/e-docs-env-sort
Add missing environment variables
2018-11-07 16:02:00 -08:00
Chris Roberts d8bbc5ce09 Add support for specifying the default NIC type used for guest adapters
Provides support for defining the NIC type used for any guest adapter
which does not define an adapter type. This is defaulted to "virtio".
2018-11-07 15:53:46 -08:00
Chris Roberts 28f1e4f36e Update CHANGELOG 2018-11-07 10:13:29 -08:00
Chris Roberts 2808193a1a
Merge pull request #10368 from chrisroberts/f-box-load-meta
Fallback to Vagrantfile configuration when local metadata lookup fails
2018-11-07 10:12:29 -08:00
Chris Roberts 07ca8564ad Update CHANGELOG 2018-11-07 09:52:48 -08:00
Chris Roberts 7d90f532c4
Merge pull request #10379 from chrisroberts/e-vbox-6
Add support for VirtualBox 6.0
2018-11-07 09:51:59 -08:00
Chris Roberts fccc68a471 Add important non-VAGRANT_ prefixed environment variables 2018-11-07 09:38:40 -08:00
Chris Roberts 1bdde30a02 Sort environment variables by name 2018-11-07 08:07:33 -08:00
Chris Roberts 9d728682c4 Add vbox provider driver for 6.0 2018-11-06 16:50:17 -08:00
Chris Roberts de42681742 Inherit from common base since 5.1 driver has no changes 2018-11-06 16:50:17 -08:00
Brian Cain ceb1ec9a60
Update CHANGELOG 2018-11-06 09:26:31 -08:00
Brian Cain bcb6bf8acd
Merge pull request #10347 from briancain/add-timeout-for-ssh-info-hyperv
Fixes #10229: Add proper reboot capability for Windows guests
2018-11-06 09:25:36 -08:00
Brian Cain d2b7da065f
Add test for WinRMNotReady exceptions for ready? method 2018-11-05 14:14:50 -08:00
Brian Cain 796ff7b190
Remove logger from windows hostname cap 2018-11-05 14:12:16 -08:00
Brian Cain 251e0b1452
Update CHANGELOG 2018-11-05 13:26:25 -08:00
Brian Cain 57ca89011c
Merge pull request #10374 from briancain/move-login-warning
Move login command warning
2018-11-05 13:25:37 -08:00
Chris Roberts 8a16b41a10 Update CHANGELOG 2018-11-05 12:54:28 -08:00
Chris Roberts d5f3600c4b
Merge pull request #10366 from chrisroberts/f-hyperv-vlan
Remove module loading from vlan script
2018-11-05 12:53:33 -08:00
Chris Roberts 5b325e7276 Update CHANGELOG 2018-11-05 12:53:17 -08:00
Chris Roberts 11e73eef75
Merge pull request #10365 from chrisroberts/e-ssh-ed25519
Add support for ed25519 keys
2018-11-05 12:52:17 -08:00
Chris Roberts caae50c5e8 Update CHANGELOG 2018-11-05 12:51:58 -08:00
Chris Roberts 1885692f74
Merge pull request #10364 from chrisroberts/e-gem-dep-order
Update ordering of gem sources to ensure proper resolution
2018-11-05 12:50:26 -08:00
Chris Roberts 247f17c279 Update CHANGELOG 2018-11-05 12:50:05 -08:00
Chris Roberts d2d117471a
Merge pull request #10359 from chrisroberts/e-check-limits
Limit automatic box outdated checks to once per hour
2018-11-05 12:46:56 -08:00
Brian Cain b951c0e781
Move login command warning
This commit moves where the warning is for the login command so that it
only displays when the command is invoked, and not when the plugin is
loaded.
2018-11-05 11:24:09 -08:00
Brian Cain 0188d409d4
Add test for windows reboot cap 2018-11-02 16:34:57 -07:00
Brian Cain 377b900277
Only execute reboot check if guest communicator is ready 2018-11-02 16:33:36 -07:00
Chris Roberts 6b7063ef05 Update CHANGELOG 2018-11-02 15:26:09 -07:00
Brian Cain 142a6898bc
Add reboot cap for windows
This commit introduces a proper reboot cap for Windows guests. Once it
initiates a reboot on the guest, it calls out to the wait_for_reboot cap
to block on until the guest is finished rebooting.
2018-11-02 15:25:57 -07:00
Chris Roberts be6f683009
Merge pull request #7699 from legal90/refactor-network
provider/virtualbox: Refactor host-only network settings
2018-11-02 15:25:09 -07:00
Brian Cain 5ebb4cced5
Merge pull request #10361 from johnyserpa/patch-1
fix broken link to token
2018-11-02 15:18:23 -07:00
Chris Roberts 5add5c24fe Show formatted error message with address and netmask 2018-11-02 15:03:22 -07:00
Mikhail Zholobov d9d081199c
action/network: Validate IP settings, show human-readable error 2018-11-02 22:29:19 +01:00
Mikhail Zholobov a02aaa3195
action/network: Refactor the calculation of host-only adapter IP and DHCP settings 2018-11-02 22:28:49 +01:00
Chris Roberts c2cedc98c2 Update CHANGELOG 2018-11-02 14:10:40 -07:00
Brian Cain 007bf991d5
using vagrantcloud.com instead of app.vagrant.com
Co-Authored-By: johnyserpa <joao.serpapinto@gmail.com>
2018-11-02 21:10:24 +00:00
Chris Roberts d293e5dc08
Merge pull request #7693 from legal90/network_address
util/network_ip: Simplify #network_address helper
2018-11-02 14:08:49 -07:00
Chris Roberts 648be1369f Fallback to Vagrantfile configuration when local metadata lookup fails
The project local metadata file may contain invalid information to properly
lookup the configured box. This may occur if the file has been moved,
modified, or the backing box has been removed. In those cases, fall back
to the configuration defined in the Vagrantfile to load the box.
2018-11-02 13:59:53 -07:00
Chris Roberts 1ece44ca84 Remove module loading from vlan script 2018-11-02 10:42:28 -07:00
Chris Roberts 04579e0ac7 Add support for ed25519 keys
The net-ssh library supports ed25519 keys but only if the required
dependencies are available. This adds the required dependencies.
2018-11-02 09:24:50 -07:00
Brian Cain 54c8ebc31a
Fixes #10229: Add timeout for changing hostname on windows
Prior to this commit, if Windows was slow to reboot, Vagrant would fail
to find the right IP address to upload the wait_for_reboot script to.
This commit fixes this race condition by adding a timeout to ensure that
Vagrant can retry. It also properly catches an exception in the winrm
ready? method for checking if a guest is properly ready for
communications.
2018-11-02 09:23:00 -07:00
Chris Roberts 3daf3e532d Update ordering of gem sources to ensure proper resolution
In recent Rubies the first dependency to satisfy the constraint will
be used regardless if higher versions are available in subsequent
sources. Move custom source to start of list when resolving plugins
to provide desired behavior.
2018-11-02 09:14:27 -07:00
Johny Serpa eba487a345
fix broken link to token
Link to generate token is broken. Fixed it.
2018-11-01 19:57:34 +00:00
Brian Cain 872c3c957d
Merge pull request #10357 from briancain/add-note-about-install-type-salt
Add note about install_type for version
2018-11-01 10:04:04 -07:00
Chris Roberts 976320ec06 Limit automatic box outdated checks to once per hour 2018-11-01 09:45:11 -07:00
Brian Cain 0dd3f57e81
Merge pull request #10346 from hashicorp/f-updateVMWareDocsBox
Update vmware_desktop in boxes.html.md
2018-11-01 09:39:25 -07:00
Brian Cain 1a0b014ef7
Add note about install_type for version 2018-11-01 08:51:04 -07:00
Brian Cain a25caf1d92
Merge pull request #10355 from briancain/update-salt-version-docs
Update salt provisioner docs
2018-10-31 12:58:40 -07:00
Brian Cain 8a07e731af
Update salt provisioner docs 2018-10-31 11:31:50 -07:00