Commit Graph

12221 Commits

Author SHA1 Message Date
Megan Marsh e6363a1bdf
Merge pull request #7517 from hashicorp/fix_7506
fix tty related panics
2019-04-25 11:04:42 -07:00
Peter Pribula cb7b77cd90 Adds `qemu_agent` optional config parameter 2019-04-25 19:25:00 +02:00
Adrien Delorme 9be80ce65f
Merge pull request #7566 from yuriolive/patch-1
Missing comma in JSON
2019-04-25 18:45:24 +02:00
yuriolive 6ba479d723
Missing comma in JSON
JSON is invalid, is missing a comma
2019-04-25 12:58:46 -03:00
Peter Pribula c261428c4f ProxMox builder ssh communicator uses ssh_host from builder config when present 2019-04-25 11:43:12 +02:00
Adrien Delorme 781aa2ccae
Merge pull request #7563 from amydutta/azure-sdk-update
Azure SDK update
2019-04-25 11:22:09 +02:00
Adrien Delorme 71c00c200f fix panic: send on closed channel
on windows: if the term is resized when ReadString is being called and no one is reading form ws, we get a panic: send on closed channel.
It could make sense to poll getconsolescreenbufferinfo calls instead of this:
something started from the sigwinch() func

on unix: same story, sigwinch was listened upon by default but if the
signals (chan sends) were not handled, this could cause a crash

fix #7434
2019-04-25 10:49:08 +02:00
Adrien Delorme fa7b922e7a main.go: don't set TTY interface from tty.Open() in case open fails
If tty.Open fails the return tty is still nil, but the interface type will be set; meaning in go that `TTY == nil` will always be false.

fix #7506
2019-04-25 10:48:40 +02:00
Amrita Dutta 028a748aea Merge branch 'master' of https://github.com/hashicorp/packer into azure-sdk-update 2019-04-25 02:31:23 +00:00
amydutta bca4ecda9e update azure sdk version 2019-04-25 02:28:30 +00:00
Megan Marsh 9f3bbd249c
Merge pull request #7554 from hashicorp/fix_7516
when retries were exhausted in the retry Run, we were returning nil i…
2019-04-24 11:09:58 -07:00
Adrien Delorme 9f1136db77 retry: encapsulate & return the last seen error in a RetryExhaustedError 2019-04-24 14:19:23 +02:00
Megan Marsh e69d95eb37 when retries were exhausted in the retry Run, we were returning nil instead of an error. 2019-04-23 13:48:30 -07:00
Megan Marsh f7c1b5e940 add 30 minute timeout for destroying a VM 2019-04-23 12:55:59 -07:00
Adrien Delorme b1ffc1c814
Merge pull request #7539 from hashicorp/reverse_winrm_admonishment
warn users to lock down winrm after provisioning
2019-04-23 15:46:35 +02:00
Adrien Delorme 4e49a3307d
Merge pull request #7538 from hashicorp/ssh_explanation_table
add a table explaining what to expect with different ssh options for …
2019-04-23 15:43:25 +02:00
Adrien Delorme ee743f0b7c
Update website/source/partials/builders/_aws-ssh-differentiation-table.html.md 2019-04-23 15:42:59 +02:00
Adrien Delorme 95c8ac8a93
Merge pull request #7537 from hashicorp/vmotion_warning
add vmotion warning to vmware remote builder section, and move the re…
2019-04-23 15:40:04 +02:00
Adrien Delorme 5399e8a67d
Merge pull request #7547 from hashicorp/comment_guide
add guide for uisng jq to strip comments from packer template
2019-04-23 15:26:24 +02:00
Adrien Delorme fcfb044264
Merge pull request #7548 from hashicorp/isotime_documentation
add docs for how to use the format strings for the isotime function
2019-04-23 15:21:00 +02:00
Adrien Delorme c2021318fe
Merge pull request #7543 from carlpett/proxmox-docs-and-ports
Proxmox docs and ports
2019-04-23 11:37:12 +02:00
Adrien Delorme 42ca223481
Merge pull request #7536 from hashicorp/vagrant-pp-docs
update docs explaining that you need local artifact for vagrant pp
2019-04-23 11:34:06 +02:00
Megan Marsh f985f2de62 add docs for how to use the format strings for the isotime function 2019-04-22 16:10:35 -07:00
Megan Marsh 9eadac3410 add guide for uisng jq to strip comments from packer template 2019-04-22 15:35:00 -07:00
Calle Pettersson b56b3dda5f Fix os parameter documentation 2019-04-21 08:33:51 +02:00
Calle Pettersson 65545073f8 Fix port number type 2019-04-21 08:33:34 +02:00
Megan Marsh 11037968a8 warn users to lock down winrm after provisioning 2019-04-19 17:03:20 -07:00
Megan Marsh 8c9f2f5e1c add a table explaining what to expect with different ssh options for the amazon builders. Also convert builder docs to .erb to support partials 2019-04-19 16:35:15 -07:00
Megan Marsh fe7f5343fd add vmotion warning to vmware remote builder section, and move the remote builder section into a partial referenced by both the vmx and iso builders 2019-04-19 15:58:20 -07:00
Megan Marsh 7b4f138217 update docs explaining that you need local artifact for vagrant pp 2019-04-19 15:17:37 -07:00
Megan Marsh a360516a64
Merge pull request #7528 from amydutta/update-contributing
Update CONTRIBUTING.md with version of go to download
2019-04-19 09:17:14 -07:00
Brett Wandel 76b5c1995f fixed: small changes to cancellation on ctrl-c 2019-04-19 17:10:36 +10:00
Amrita Dutta c3a1ab3816 Updating to suggested future-proof comment 2019-04-19 01:48:08 +00:00
Megan Marsh 90227bb768
Merge pull request #7521 from hashicorp/fix_7514
delete unencrypted temporary snapshot when encrypt_boot is true. Also…
2019-04-18 11:13:38 -07:00
Amrita Dutta ed785fddb2 update CONTRIBUTING.md with version of go to download 2019-04-18 17:43:24 +00:00
Adrien Delorme f08373c4fe
Merge pull request #7494 from BenResTech/master
[WIP] Added warnings about writeable locations
2019-04-18 13:41:07 +02:00
Megan Marsh 105d3f8853 delete unencrypted temporary snapshot when encrypt_boot is true. Also, fix nil map error in region copy 2019-04-17 12:55:30 -07:00
Megan Marsh 5ef8595bf3
Merge pull request #7520 from hashicorp/fix_7519
fix quoting in ssh partial
2019-04-17 10:22:27 -07:00
Megan Marsh 992ab93708 fix quoting in ssh partial 2019-04-17 09:55:21 -07:00
Adrien Delorme ad6d142e16
Merge pull request #7508 from displague/feature/add-linode
Add Linode Images builder
2019-04-17 10:59:42 +02:00
Adrien Delorme e1220047f4
Merge pull request #7513 from hashicorp/fix_7511
read stderr before we try to read the archive.
2019-04-17 10:55:48 +02:00
Megan Marsh 29e608e505
Merge pull request #7512 from hashicorp/step_download_dont_enforce_checksum
step download: don't fail when checksum_type/checksum are empty
2019-04-16 13:08:47 -07:00
Megan Marsh 71f2017209 read stderr before we try to read the artchive. 2019-04-16 13:05:25 -07:00
Megan Marsh 8315be7e19
Merge pull request #7509 from hashicorp/investigate_7505
fix panic in StepConfigureVNC ( fix 7505 )
2019-04-16 11:24:55 -07:00
Megan Marsh 592b2aab6d
Merge pull request #7507 from hashicorp/fix_7499
make sure that you encrypt using the provided kms key id and not the …
2019-04-16 11:02:46 -07:00
Marques Johansson df6df8f4d7 add linode builder owners 2019-04-16 12:55:55 -04:00
Adrien Delorme 5f0259fe89 step download: don't fail when checksum_type is not set 2019-04-16 18:09:54 +02:00
Adrien Delorme 56c7593725 fix panic in StepConfigureVNC
When the driver is the esx5 driver s.l won't be set at all. Meaning this will crash.
In the esx5 driver we try to dial possible ports to see if it works so it doesn't make sense to use packer's `net.ListenRangeConfig`. It could make sense to have a net.DialRangeConfig but this sounds a bit too specific and not broad enough to do.

fix #7505
2019-04-16 15:32:05 +02:00
Marques Johansson 4b36659fcb update vendor/ for linode builder 2019-04-15 20:42:02 -04:00
Marques Johansson 99987c2d56 Add Linode Images builder
Packer Builder for [Linode Images](https://www.linode.com/docs/platform/disk-images/linode-images/)

Adds the following builder:

  * `linode`

Based on https://github.com/linode/packer-builder-linode (MPL/2)
(formerly maintained by @dradtke).  Includes website docs and tests.

Relates to #174, #3131
2019-04-15 20:40:59 -04:00