Chris Roberts
b8f5752a82
Update VM import for VirtualBox 6 driver
...
The dry run import with VirtualBox 6 no longer provides full paths
for disks. Extract base path from suggested settings file location
and use that to generate full path name using provided disk base
name.
2018-11-15 11:04:08 -08:00
Chris Roberts
1225114a15
Update CHANGELOG
2018-11-13 15:45:17 -08:00
Chris Roberts
efbf99c451
Merge pull request #10409 from chrisroberts/e-vbox-ssh-port-detect
...
Update VirtualBox driver ssh_port helper
2018-11-13 15:44:15 -08:00
Chris Roberts
1bc0719438
Update CHANGELOG
2018-11-13 15:43:52 -08:00
Chris Roberts
7750d6182d
Merge pull request #10410 from chrisroberts/f-hyperv-net-typo
...
Fix typo in hyper-v network configuration detection script
2018-11-13 15:43:03 -08:00
Chris Roberts
7d10cad135
Update CHANGELOG
2018-11-13 15:22:53 -08:00
Chris Roberts
8f49e05ad4
Merge pull request #10406 from chrisroberts/e-hyperv-destroy
...
Disable automatic checkpoints prior to VM removal
2018-11-13 15:22:11 -08:00
Chris Roberts
0364f9b75e
Update CHANGELOG
2018-11-13 15:21:49 -08:00
Chris Roberts
2272a0bfa7
Merge pull request #10404 from chrisroberts/e-hyperv-ver-check
...
Ignore errors when generating new VM configuration
2018-11-13 15:21:03 -08:00
Chris Roberts
9dd137633a
Fix typo in hyper-v network configuration detection script
2018-11-13 15:11:04 -08:00
Chris Roberts
30473a4cb1
Merge pull request #10408 from lunchbag/jen/update-share-img
...
Update open graph image
2018-11-13 15:04:22 -08:00
Chris Roberts
c7721f619b
Update VirtualBox driver ssh_port helper
...
Be more restrictive when matching the port forward used for
SSH. Allow matching simply on the guest port, but also include
extra matching criteria for cases where multiple results may
be returned.
2018-11-13 15:04:12 -08:00
Jen
0ab7fc9ecc
Update open graph image
2018-11-13 17:29:29 -05:00
Brian Cain
2db2797203
Update CHANGELOG
2018-11-13 14:26:21 -08:00
Brian Cain
608863809a
Merge pull request #10405 from briancain/fixup-inline-windows-trigger-run
...
Fixes #10393 : Only use Shellwords on non-windows hosts
2018-11-13 14:25:27 -08:00
Chris Roberts
0ea4dcdc6e
Disable automatic checkpoints prior to VM removal
2018-11-13 13:09:12 -08:00
Brian Cain
69b3b44505
Fixes #10393 : Only use Shellwords on non-windows hosts
...
This commit updates how the trigger `run` inline option works by only
applying `Shellwords.split` to the inline command if it is going to be
run on non-Windows hosts. Otherwise pass the inline script directly to
be executed by Powershell.
2018-11-13 13:07:39 -08:00
Chris Roberts
83ed01869d
Ignore errors when generating new VM configuration
...
The default error action is to stop. When generating the initial
VM configuration during import, if the Compare-VM command fails
it results in a generic error message. Instead the error should
be ignored so the source VM can be inspected and a useful error
message can be returned to the user.
2018-11-13 12:21:17 -08:00
Chris Roberts
b2e682b0e3
Update CHANGELOG
2018-11-13 09:20:00 -08:00
Chris Roberts
7efd501fe8
Merge pull request #10399 from chrisroberts/e-comm-reset
...
Add communicator reset
2018-11-13 09:13:40 -08:00
Chris Roberts
23b2b0b6ad
Merge pull request #10400 from chrisroberts/e-i18n-lib
...
Update dependency constraint on i18n
2018-11-12 16:23:02 -08:00
Chris Roberts
c4680ae6ee
Update CHANGELOG
2018-11-12 16:22:43 -08:00
Chris Roberts
43f7a16baa
Merge pull request #10313 from lloesche/lloesche/fix_wsl_detection
...
Fix WSL detection for customized roots
2018-11-12 16:21:44 -08:00
Chris Roberts
d179e5e117
Update dependency constraint on i18n
2018-11-12 15:49:16 -08:00
Chris Roberts
5045ff14cf
Update CHANGELOG
2018-11-12 15:43:09 -08:00
Chris Roberts
90dee00809
Merge pull request #10390 from chrisroberts/e-powerup-handle-spaces
...
Update powerup to handle spaces properly in arguments
2018-11-12 15:41:20 -08:00
Chris Roberts
6b02914956
Update shell provisioner documentation
...
Properly order options alphabetically and include new option
for reset.
2018-11-12 15:36:21 -08:00
Chris Roberts
3ebe5b40e3
Add test coverage on new functionality
2018-11-12 15:36:21 -08:00
Chris Roberts
29880ccd1f
Add option to shell provisioner to reset communicator
2018-11-12 15:36:21 -08:00
Chris Roberts
afc138478d
Add reset! method to winrm communicator
2018-11-12 15:36:21 -08:00
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
Chris Roberts
4ff5291b89
Update powerup to handle spaces properly in arguments
2018-11-09 15:26:55 -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