Commit Graph

7250 Commits

Author SHA1 Message Date
Ash Berlin 242ed49ecb Use bufio.Scanner in BasicUi.Ask so we can read whole lines
The previous version used fmt.Fscanln which sounds like it should scan
for a whole line, but it actually errors if there is more than a single
word/token given. You can see this here https://play.golang.org/p/1RYXdtPSbk

And looking at the only usage of this function in core it won't break
anything to change it to actually return whole lines instead.

    line, err := ui.Ask("[c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?")

Closes #4474
2017-01-29 14:10:14 +00:00
Jelle Hissink 6973e752d2 Vmware vsphere vnc port timeout increased 2017-01-29 14:41:14 +01:00
Matthew Hooker d46d5ea2fb
docs/ansible: clarify that we ignore remote_user 2017-01-28 19:05:42 -08:00
Matthew Hooker df247a99a1
ansible does its own coloring. 2017-01-28 18:41:11 -08:00
Christopher Boumenot 60a0d21d37 Merge pull request #4468 from tomconte/master
Azure builder: add two new config variables for temp_compute_name and temp_resource_group_name
2017-01-28 09:27:10 -08:00
Thomas Conte d294d2c576 gofmt 2017-01-28 10:29:35 +01:00
Matthew Hooker b3db88109d
document how we upload symbolic links 2017-01-27 18:32:08 -08:00
Matthew Hooker 45030e1919
provisioner/anisble: use randomized staging dir 2017-01-27 16:14:35 -08:00
Prashant Kandathil 92e2fe9fe9 Update build-image.html.md (#4471)
* Update build-image.html.md

Without setting this field a user with get a SSH timeout error.

* Update build-image.html.md

* Update build-image.html.md
2017-01-27 15:03:02 -08:00
Matthew Hooker 6d102d5870 Merge pull request #4470 from ryon/master
Add Google Tag Manager #GTM-NR2SD7C
2017-01-27 13:32:42 -08:00
Ryon Coleman 576ddacaec Add Google Tag Manager #GTM-NR2SD7C 2017-01-27 15:40:42 -05:00
Thomas Conte 1ec6578c02 Add two new variables to Azure builder config 2017-01-27 12:26:28 +01:00
Matthew Hooker 10aa48b2a4
update changelog 2017-01-26 16:45:41 -08:00
Matthew Hooker 54fdef8199 Merge pull request #4467 from mitchellh/walksafe
always check for an error first when walking a path
2017-01-26 16:44:37 -08:00
Matthew Hooker 22d1322bd9
always check for an error first when walking a path 2017-01-26 16:32:21 -08:00
Matthew Hooker 67b8b70b8d
update wording 2017-01-26 16:18:18 -08:00
Matthew Hooker c7b1fdd23c Merge pull request #4466 from pkandathil/patch-1
Update build-image.html.md
2017-01-26 16:16:56 -08:00
Prashant Kandathil 2e1f18b10a Update build-image.html.md 2017-01-26 16:03:57 -08:00
Rickard von Essen 7e3254b1bb Updated CHANGELOG.md 2017-01-26 21:35:28 +01:00
Rickard von Essen bc6b4ab8b9 Merge pull request #4464 from rickard-von-essen/ebsvolume-interpolate
builder/amazon-ebsvolume: Fix interpolation of block_device
2017-01-26 21:34:19 +01:00
Rickard von Essen c9259d116f builder/amazon-ebsvolume: Fix interpolation of block_device 2017-01-26 21:27:36 +01:00
Matthew Hooker 5e9d931a77
update changelog 2017-01-26 11:43:00 -08:00
Matthew Hooker 76f897077d Merge pull request #4399 from rickard-von-essen/aws-interpolate
WIP: builder/amazon: Interpolate {{ .BuildRegion }} and {{ .SourceAMI }}
2017-01-26 11:41:16 -08:00
Matthew Hooker a030244cc1
fix type
thx @danham
2017-01-26 11:39:41 -08:00
Matthew Hooker 4d45b2b138
update changelog 2017-01-26 11:31:32 -08:00
Matthew Hooker ca1c9601b6
Revert "update changelog"
This reverts commit 22475b39ff.
2017-01-26 11:29:39 -08:00
Matthew Hooker 485fa58b43 Merge pull request #4443 from mitchellh/preservedockermode
communicator/docker: preserve file mode.
2017-01-26 11:22:00 -08:00
Matthew Hooker 3039978780 Merge pull request #4463 from mitchellh/proxyfromenv
Update winrm dep. support proxyfromenv
2017-01-26 11:17:26 -08:00
Matthew Hooker 1c570b4b46
Update winrm dep. support proxyfromenv 2017-01-26 11:13:08 -08:00
Taliesin Sisson 0d8abaa65e Merge pull request #4459 from DanHam/gh-4271-elevated-output
Fix no return of output when running Powershell elevated command
2017-01-26 14:25:49 +00:00
DanHam 370b67497e
provisioner/powershell: Don't over complicate removal of tmp output file 2017-01-26 11:21:45 +00:00
Matthew Hooker 8592687795
add debug note about ulimits. 2017-01-25 17:13:54 -08:00
DanHam 21be983855 provisioner/powershell: Use system context env var to set output file path
Fixes #4271
2017-01-26 00:17:46 +00:00
Matthew Hooker 4dcab2fb9c
docs/provisioners/shell: safety first
make it harder to forget -e when overriding shebang. Closes #2873
2017-01-25 16:06:43 -08:00
Rickard von Essen de7388fa0a
builder/amazon-ebsvolume: Fixed interpolation of tags 2017-01-25 19:40:43 +01:00
Jasmin Gacic 22475b39ff update changelog 2017-01-25 17:33:24 +01:00
Jasmin Gacic d63541c3e0 Merge pull request #4456 from StackPointCloud/packer-builder-oneandone
oneandone builder - documentation removed invalid parameters
2017-01-25 17:31:17 +01:00
jasminSPC 75e6688871 Fixes #4454 2017-01-25 17:17:55 +01:00
jasminSPC f55b2b27ae Fixes #4454 2017-01-25 17:05:09 +01:00
Matthew Hooker d28f668042
update changelog 2017-01-24 01:15:01 -08:00
Matthew Hooker 2a7c84e9ff Merge pull request #4343 from vtolstov/qemu_convert
builder/qemu: allow to convert from any supported format
2017-01-24 01:12:31 -08:00
Matthew Hooker b7773f0899 Merge pull request #4445 from gregorskii/feature/docker-changes-readme
adds readme section for changes
2017-01-23 15:35:16 -08:00
Greg Parsons 88a1e7b572 adds readme section for changes 2017-01-23 15:19:56 -08:00
Matthew Hooker 6e60f6f625 Merge pull request #4441 from DanHam/align_flattenenvvar
Align code and tests associated with flattening env vars across provisioners
2017-01-23 15:06:24 -08:00
DanHam e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner 2017-01-23 22:25:39 +00:00
DanHam 9e480eea49
post-processor/shell-local: Align flattened env vars gen with provisioners
* Move code to generate quoted flattened env vars to separate function
* Fix: generate flattened env vars once per provisioner not once per script
2017-01-23 22:15:51 +00:00
DanHam 5a350f5699
post-processor/shell-local: Fix output of debug info to stdout 2017-01-23 22:08:23 +00:00
Matthew Hooker a51f492558
communicator/docker: preserve file mode. 2017-01-23 13:47:22 -08:00
Matthew Hooker 99f3c72249
Make changelog proper markdown 2017-01-23 12:31:14 -08:00
Matthew Hooker dfdf4c266f
update changelog 2017-01-23 11:44:00 -08:00