Commit Graph

9712 Commits

Author SHA1 Message Date
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
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
Matthew Hooker c8e76ce298
implement config struct for qemu 2018-04-19 14:26:31 -07:00
Matthew Hooker c6299972b9
s/boot_command/bootcommand/ 2018-04-19 14:26:31 -07:00
Matthew Hooker 7990966a09
fix boot command config struct name 2018-04-19 14:26:31 -07:00
Matthew Hooker e662927623
Implement boot config struct for parallels 2018-04-19 14:26:30 -07:00
Matthew Hooker 408eba88ad
flatten boot command config and implement for vmware 2018-04-19 14:26:30 -07:00
Matthew Hooker 84894ca459
remove nonsensical negative waits. 2018-04-19 14:26:30 -07:00
Matthew Hooker 9a8acbbcab
negative wait WIP 2018-04-19 14:26:30 -07:00
Matthew Hooker add7e8acb9
Stop sending boot commands when context canceled. 2018-04-19 14:26:30 -07:00
Matthew Hooker 9a839c401b
fix formatting 2018-04-19 14:26:30 -07:00
Matthew Hooker 94129b7fe3
we're using PC-XT (set1) not PC-AT 2018-04-19 14:26:30 -07:00
Matthew Hooker c753391f43
fill out and reformat the boot command docs 2018-04-19 14:26:30 -07:00
Matthew Hooker f5b09c8c38
set vim pandoc modeline 2018-04-19 14:26:30 -07:00
Matthew Hooker 4454e4fb4f
Use erb to add support for partials. 2018-04-19 14:26:30 -07:00