Commit Graph

11626 Commits

Author SHA1 Message Date
Chris Roberts 747dd9301b Add reset! to ssh communicator. Reduce number of ssh info prints. 2018-11-12 15:36:21 -08:00
Chris Roberts cfc3e9e398 Reset communicator after updating user groups 2018-11-12 15:36:21 -08:00
Chris Roberts c2aa1e207f Add a Communicator#reset! method 2018-11-12 15:36:20 -08:00
Brian Cain 11fe0a84d8
Merge pull request #10398 from briancain/fixup-puppet-doc
Remove `I` from documentation
2018-11-12 11:29:03 -08:00
Brian Cain 8b79aaf34c
Update CHANGELOG 2018-11-12 09:14:44 -08:00
Brian Cain a698188c12
Merge pull request #10389 from briancain/ssh-keyfile-paths-spaces-windows
FIXES #9870: Allow for windows path spaces with ssh utility
2018-11-12 09:14:01 -08:00
Brian Cain eff8f5e22b
Merge pull request #10394 from johanhammar/fix-typos
Fix typos
2018-11-12 08:56:37 -08:00
Brian Cain 8eec4fe6e4
Remove `I` from documentation 2018-11-12 08:45:12 -08:00
Johan Hammar 37a3d7113e Fix typos 2018-11-10 20:16:05 +01:00
Chris Roberts 40a7d97131 Update CHANGELOG 2018-11-09 16:27:33 -08:00
Chris Roberts f2c146d6d7
Merge pull request #10387 from chrisroberts/e-winrm-elevated
Prepend computer name to user when created scheduled tasks
2018-11-09 16:26:03 -08:00
Brian Cain f8bd2b3f82
Add test for private key paths with '%' characters 2018-11-09 10:46:22 -08:00
Brian Cain 80ac5aaf90
Use path as string rather than Pathname 2018-11-09 10:24:58 -08:00
Brian Cain fc0707202a
FIXES #9870: Allow for windows path spaces with ssh utility
Prior to this commit, if a windows path contained a space, the ssh
utility could not properly find the private key path and the ssh command
would fail. This commit adds some additional logic to the ssh utility to
check if a path contains '%', and if so, use the IdentityFile argument.
Otherwise it will default to passing in the private key file with '-i',
which can support paths with spaces.
2018-11-09 10:19:35 -08:00
Chris Roberts e8cee899a8 Update CHANGELOG 2018-11-08 14:40:33 -08:00
Chris Roberts e4cc769b9e
Merge pull request #10383 from chrisroberts/e-vbox-default-nic
Add support for specifying the default NIC type used for guest adapters
2018-11-08 14:39:35 -08:00
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