Commit Graph

13194 Commits

Author SHA1 Message Date
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether 2019-09-25 13:39:09 -07:00
Megan Marsh 5bd8fee708 Creates a final "cleanup" provisioner to run if an error occurs during a provisioning step, allowing users to perform any custom cleanup tasks that must happen on the VM before the VM is shut down and destroyed. 2019-09-24 16:08:15 -07:00
Megan Marsh 2a662b451c
Merge pull request #8142 from yandex-cloud/yandex-add-retries
Add retries to Yandex builder
2019-09-23 12:23:47 -07:00
Megan Marsh c24693372d
Merge pull request #8132 from scienty/support_floppy_vmx_esxi
Support floppy_files for vmx on esxi
2019-09-23 12:20:49 -07:00
Gennady Lipenkov b9e0e4947e make generate 2019-09-23 21:27:29 +03:00
Gennady Lipenkov 91733c49bb update yandex-cloud/go-sdk & yandex-cloud/go-genproto 2019-09-23 21:18:33 +03:00
Gennady Lipenkov 6708641942 update go modules 2019-09-23 21:09:10 +03:00
Gennady Lipenkov fceaa9ccf9 Add retries to Yandex builder
Signed-off-by: Gennady Lipenkov <xgen@yandex-team.ru>
2019-09-23 21:03:17 +03:00
Megan Marsh 211f7bd9de fix formatting 2019-09-23 10:08:55 -07:00
Megan Marsh bcb7d1e103 fix formatting 2019-09-23 10:08:29 -07:00
Megan Marsh 00f97e871c clean up bug report template 2019-09-23 10:06:12 -07:00
Megan Marsh d7a32cd74c
Merge pull request #8137 from hashicorp/issue_templates
split issue templates: bug report/enhancment/question
2019-09-23 10:03:30 -07:00
Megan Marsh ca51bff695
Merge pull request #8119 from hashicorp/switch_sed_because_license
templating: deprecate `sed` with `replace` and `replace_all`
2019-09-23 09:41:03 -07:00
Adrien Delorme 78e51847a2
Merge pull request #8101 from hashicorp/fix_7277_le_deux
Don't use tty when process runs in background
2019-09-23 12:51:51 +02:00
Adrien Delorme 9f6be64f43 Merge remote-tracking branch 'origin/master' into fix_7277_le_deux 2019-09-23 12:43:24 +02:00
Adrien Delorme 0f14077664 Merge remote-tracking branch 'origin/master' into switch_sed_because_license 2019-09-23 12:38:52 +02:00
Adrien Delorme 39fa1170a3
Merge pull request #8136 from StingRayZA/more-hyperv-docs
Added note for hyperv-iso docs - hyperv-kvpd
2019-09-23 12:34:53 +02:00
Adrien Delorme a204a14973
Update question.md 2019-09-23 12:34:10 +02:00
Megan Marsh 1895421bb6 update changelog 2019-09-20 17:06:41 -07:00
Megan Marsh f0461da1a1
Merge pull request #7724 from hashicorp/scrape_doc_to_builder_struct_config
Generate builder documentation markdown from structs.
2019-09-20 16:50:39 -07:00
Megan Marsh 66a6d18be9
Merge pull request #8125 from hashicorp/fix_8019
fix ssh and package steps to use source syntax.
2019-09-20 10:05:49 -07:00
Raimund Hook cfa3e7ec9f
Update website/source/docs/builders/hyperv-iso.html.md.erb
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-09-20 17:16:13 +01:00
Adrien Delorme 9a4932e831 split issue templates: bug report/enhancment/question
so that people are routed nicely :)
2019-09-20 17:32:38 +02:00
Raimund Hook ffa3781dc2 Added note for hyperv-iso docs - hyperv-kvpd
The docs don't mention any requirement for Linux guests to be running
a hyper-v KVP daemon. This can cause a potentially long wait before
timing out and failing a build.
(Knowing this up front could also help new packer users - and save a
large potential amount of searching for the appropriate solution)
2019-09-20 16:29:09 +01:00
Adrien Delorme fb1eddd536
Merge pull request #8127 from MattKotsenas/patch-2
Clarify sysprep log message in Azure example
2019-09-20 15:59:51 +02:00
Adrien Delorme 4fb05e5bc4 fix test 2019-09-20 15:28:43 +02:00
Adrien Delorme 792f61a4ad fmt 2019-09-20 15:18:48 +02:00
Adrien Delorme 3a6bd22cbb make generate 2019-09-20 15:10:32 +02:00
Adrien Delorme 55f1c734d0 fix alicloud docs a little 2019-09-20 15:10:02 +02:00
Adrien Delorme 849de792da re-apply doc changes of master 2019-09-20 15:04:01 +02:00
Adrien Delorme 299544a4c7 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-09-20 14:47:02 +02:00
Adrien Delorme 271a3e5814
Merge pull request #8133 from StingRayZA/docfix
Added disk_block_size unit clarification to hyperv-iso doc
2019-09-20 14:45:03 +02:00
Adrien Delorme 7066436ebf
Merge pull request #8134 from alrs/fix-iso-test
common: fix dropped errors and warnings in test
2019-09-20 14:41:07 +02:00
Lars Lehtonen a98f2d2170
common: fix dropped errors and warnings in test 2019-09-20 05:06:25 -07:00
Raimund Hook c4831ba02c Added disk_block_size unit clarification to hyperv-iso doc 2019-09-20 11:37:34 +01:00
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-09-20 11:15:44 +02:00
Adrien Delorme df0b06a87a make sed template call deprecated
and link to docs
2019-09-20 11:08:15 +02:00
Prakash Sidaraddi 67be007f45 Support floppy_files for vmx on esxi 2019-09-20 00:23:28 +05:30
Megan Marsh 61b237b6f7
Merge pull request #8097 from onematchfox/vagrant-cloud
post-proc(vagrant-cloud) allow blank access_token (no auth) for private vagrant box hosting
2019-09-19 11:19:57 -07:00
Megan Marsh ab03800a1d surface notimplemented errs too 2019-09-19 08:57:50 -07:00
Megan Marsh aa8b9164a3 check for and handle errors 2019-09-19 08:55:52 -07:00
Matt Kotsenas cf8e2bdeb1
Clarify sysprep log message in Azure example
The Azure example uses an inline PowerShell script to wait for sysprep to complete. While waiting, it prints out the current setup state *if the state is **not** complete*, otherwise it breaks and shuts down.

This logging behavior can be confusing because the last message logged says that sysprep is not completed. To clarify things, move the log statement ahead of the "if" check so the result of each polling operation is logged.
2019-09-18 18:49:11 -07:00
Megan Marsh 30f86bb778 fix ssh and package steps to use source syntax. 2019-09-18 13:15:49 -07:00
Megan Marsh 35922ca327
Merge pull request #7918 from dekimsey/support-ssh-tunnels
Support for SSH port tunneling
2019-09-18 11:18:19 -07:00
Daniel Kimsey 887f3bb12e fixup: doc words 2019-09-18 11:09:41 -07:00
Daniel Kimsey 543d09a29c fixup: Propagate bind errors up 2019-09-18 11:09:41 -07:00
Daniel Kimsey 3b64620234 SSH tunneling support
Support for both local and remote TCP port tunneling. Includes updated
docs and tests.

Does not implement dynamic port forwarding (SSH's built-in SOCKS)
(uncertain difficulty) nor unix socket (potentially easy).
2019-09-18 11:09:41 -07:00
Megan Marsh 622be96fa0 copypasta 2019-09-18 10:54:35 -07:00
Megan Marsh bf4394ee95 build differently for openbsd because we can't cross compile the process library 2019-09-18 10:51:57 -07:00
Megan Marsh e59c122dff build differently for openbsd because we can't cross compile the process library 2019-09-18 10:51:46 -07:00