Commit Graph

9940 Commits

Author SHA1 Message Date
Matthew Aynalem 540a6a29f4 minor fix for some links that aren't being rendered and incorrect datatype 2018-04-24 13:07:04 -07:00
M. Marsh 52df315ca9
Merge pull request #6160 from DanHam/fix-powershell-ssh
Fixes for PowerShell using ssh communicator
2018-04-24 11:03:35 -07:00
M. Marsh 495782b476
Merge pull request #6141 from rjnienaber/allow_gcp_winrm_password
fix winrm password access in google compute
2018-04-24 10:26:21 -07:00
DanHam f17523401e
The default path for uploading the PS script now incorporates a UUID 2018-04-24 11:10:35 +01:00
DanHam 8bbc9be713
Explain how to manually set {{.Path}} and {{.Vars}} 2018-04-24 11:10:35 +01:00
DanHam 2779fb0042
Additional information for using PowerShell with SSH 2018-04-24 11:10:35 +01:00
DanHam 5db82aab21
Doc option allowing override of the path the env var script is uploaded to 2018-04-24 11:10:35 +01:00
DanHam ccf687dac6
Fix tests 2018-04-24 11:10:35 +01:00
DanHam 5419375413
Change to CMD % style path is no longer required 2018-04-24 11:10:35 +01:00
DanHam 5b652316d9
Dollar's in env vars used in paths may cause problems for ssh
* Dollars are interpreted by *nix shells so paths using env vars such as
  ${env:SYSTEMROOT} will cause issues
2018-04-24 11:10:35 +01:00
DanHam 4e7feea184 Allow users to specify the location that the env vars file is uploaded to
Previously the location the file was uploaded to was set internally and
used ${env:SYSTEMROOT}/Temp as the destination folder.
By default, in order to inject the required environment variables, the file
is 'dot sourced' by the 'execute_command' using the {{ .Vars }} variable.
Unfortunately the inclusion of the dollar in the path caused issues for
users connecting over ssh as the (typically bash) shell running the execute
command would try and interpret the dollar sign.
The change allows users to specify the location the file is uploaded to,
thereby allowing the user to specify a custom 'execute_command' that
escapes any dollar signs that could be present in the path.
If not set the upload path now defaults to using C:/Windows/Temp as the
upload folder.
2018-04-24 11:09:55 +01:00
Richard Nienaber 2cfbb83b70 fix typo 2018-04-24 10:36:54 +01:00
Richard Nienaber db65c99bf4 update code based on master and update docs 2018-04-24 10:35:27 +01:00
Richard Nienaber e2e7953fe4 Merge branch 'master' into allow_gcp_winrm_password 2018-04-24 10:25:27 +01:00
M. Marsh 98f1155e45
Merge pull request #6178 from hashicorp/fix_winrm_docs_for_googlecompute
clarify how to change google compute's firewall settings.
2018-04-23 16:54:52 -07:00
Matthew Hooker a3bf2c786a
Use expression sequence generator in tests. 2018-04-23 16:32:18 -07:00
Megan Marsh 6f727cd85d clarify how to change google compute's firewall setting 2018-04-23 15:21:00 -07:00
Matthew Hooker cbdf9db832
Use contexts with amazon waiters. 2018-04-23 12:57:15 -07:00
Jeff Escalante a0fa374844 bring back turbolinks and adjust scripts to match 2018-04-23 14:18:00 -04:00
Matthew Hooker 0e80d98805
Merge pull request #6166 from hashicorp/parallelsfixes
forcefully stop parallels vm.
2018-04-23 10:08:35 -07:00
M. Marsh 69c7e2d51d
Merge pull request #6144 from hashicorp/winrm_password_fix
use build name to ensure that winrm password and other shared state i…
2018-04-23 09:12:52 -07:00
M. Marsh e455e7b054
Merge pull request #6074 from DanHam/fix-vmx-compacting-error
Fix error with VMware vmx builder at compacting stage
2018-04-23 09:03:36 -07:00
Rickard von Essen 7e31768a9b
Updated CHANGELOG.md 2018-04-23 09:04:24 +02:00
Rickard von Essen a2a593759e
Merge pull request #6041 from Xeite/f-add-instance-name
builder/openstack: Add instance_name config to OpenStack builder
2018-04-23 08:47:50 +02:00
Matthew Hooker 18147a367c
Merge pull request #6172 from tylert/more-doc-fixups
More cleanup in communicator and builder docs
2018-04-21 18:51:17 -07:00
Tyler Tidman 90fde9fc46 More cleanup in communicator and builder docs
Tested and verified using "make website".
Fix up the vmware, vbox and qemu builder and communicator docs.
Sort more things in alphabetical order.
Use backtick delimiters for values.
Wrap long lines to 80 characters.
Show actual default value for boot_wait.
Copy vrdp_bind_address info from vbox iso to vbox ovf builder.
Show defaults for vmx_remove_ethernet_interfaces.
Show default port values for ssh in vbox ovf builder.
Remove executable bit on openstack builder doc.
Show default for skip_compaction in vmware vmx builder.
Add a bunch of missing periods.
Remove a few redundant commas.
2018-04-21 20:50:40 -04:00
DanHam bd9e585cb9
Add test for enumeration of vmx network type 2018-04-21 22:49:36 +01:00
DanHam 94d5a7f2e2
Fix copy/paste error referencing Virtualbox 2018-04-21 22:49:36 +01:00
DanHam 1aee759f06
Fix tests and reconfigure for support of multi-disk vm 2018-04-21 22:49:36 +01:00
DanHam 6c9d4efd9f
Fix error on compaction step of vmx build. Support compacting multi-disk vm 2018-04-21 22:49:36 +01:00
Matthew Hooker e4bd30e53d
fix bug with empty boot command. 2018-04-21 11:40:47 -07:00
M. Marsh bcbee45bf9
Merge pull request #6039 from stack72/triton-insecure-skip-tls-verify
builder/triton: Add support to Skip TLS Verification of Triton Certificate
2018-04-20 13:44:28 -07:00
Matthew Hooker 40d054a1a7
add recommended vmware network setting when using HTTPIP. 2018-04-20 12:28:11 -07:00
Matthew Hooker 45b5199453
update changelog 2018-04-20 12:23:27 -07:00
Matthew Hooker 024fac4b4f
Merge pull request #6129 from hashicorp/bc_replace
Replace boot command parser with PEG parser.
2018-04-20 12:21:20 -07:00
Matthew Hooker 8079616cc3
Merge pull request #6167 from evgeni/patch-1
fix invalid disc_discard setting  error message
2018-04-20 11:22:40 -07:00
Evgeni Golov 5a10e5a038
fix invalid disc_discard setting error message 2018-04-20 13:17:40 +02:00
Matthew Hooker b5a97e468f
fix test 2018-04-19 17:07:58 -07:00
Matthew Hooker 7e9af8247a
fix 2 byte scancodes for pc-xt VMs. 2018-04-19 17:02:39 -07:00
Matthew Hooker 675eae1e92
flush scancodes when we wait 2018-04-19 16:44:50 -07:00
Matthew Hooker 11de2b9759
remove unnecessary log line. 2018-04-19 16:13:24 -07:00
Matthew Hooker c920e0a20b
forcefully stop parallels vm.
also only output parallels version once.
2018-04-19 16:11:29 -07:00
Matthew Hooker 374d8f089f
better log message 2018-04-19 16:09:38 -07:00
Matthew Hooker 31d04f1945
remove outdated comment 2018-04-19 14:26:31 -07:00
Matthew Hooker df6224d04e
fix vnc config 2018-04-19 14:26:31 -07:00
Matthew Hooker aa69bdf74e
Perform validation of boot command. 2018-04-19 14:26:31 -07:00
Matthew Hooker 7d43324359
add menu key.
Replaces #5989
2018-04-19 14:26:31 -07:00
Matthew Hooker e9e27941cc
sort keycode lists 2018-04-19 14:26:31 -07:00
Matthew Hooker 1d36ef038c
implement boot config struct for hyperv 2018-04-19 14:26:31 -07:00
Matthew Hooker a0c9ddb9ae
implement boot config struct for virtualbox 2018-04-19 14:26:31 -07:00