Commit Graph

12723 Commits

Author SHA1 Message Date
Adrien Delorme 39cfacd5fa Backoff.Linear: panic when InitialBackoff > MaxBackoff
this probably means there's a configuration issue.

Since this struct is mainly set manually from code, I think it is okay to panic here.
2019-06-11 12:41:21 +02:00
Adrien Delorme 98206d59d7 aws: step_create_tags make the max waiting time 30s and not 30ns 2019-06-11 12:37:52 +02:00
Adrien Delorme ac03fddfe5
Merge pull request #7731 from psinghal20/issue-7636
add retry for temp key-pair generation in amazon-ebs
2019-06-11 12:35:32 +02:00
Pratyush Singhal d92e82c43f refactor: replace the maxBackoff from 30 nanosecond to 30 seconds
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-06-11 16:01:03 +05:30
Adrien Delorme 36e4eaff99 document retry.Backoff better 2019-06-11 12:20:00 +02:00
Gennady Lipenkov 3ac82de00c Update doc for yandex builder 2019-06-11 12:30:01 +03:00
Gennady Lipenkov 87b44a5879 Bulk fixes and enhancements
1) graceful shutdown instance
2) support metadata from file
3) support preemptible instance
2019-06-11 12:28:37 +03:00
Adrien Delorme 94ab45095c
Merge pull request #7736 from chhaj5236/bugfix/ignore_data_disks
fix describing snapshots issue when image_ignore_data_disks is provided
2019-06-11 11:14:46 +02:00
Adrien Delorme 9d00173b96
Merge pull request #7733 from hashicorp/fix_var_recurisve_itnerpolation
fixing interpolation
2019-06-11 11:10:08 +02:00
Adrien Delorme ddb4d77dc8
Update packer/core.go
remove commented log line
2019-06-11 11:09:22 +02:00
bozhi.ch 45249fc764 fix describing snapshots issue when image_ignore_data_disks is provided 2019-06-11 15:22:06 +08:00
Megan Marsh 3a88c299a9 update changelog 2019-06-10 15:53:57 -07:00
Megan Marsh f7bf80724c document what a REPL is 2019-06-10 11:39:42 -07:00
Megan Marsh 53a5e90d78
Update command/console.go
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-06-10 11:38:29 -07:00
Megan Marsh 7cce3157a8
Update command/console.go
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-06-10 11:38:14 -07:00
Megan Marsh ca99cbd2d2 remove loglines 2019-06-10 11:34:57 -07:00
Megan Marsh 1a9adc29b3 fixing interpolation
fix sensitive_vars test which never worked but somehow was passing before this change.
2019-06-10 11:30:52 -07:00
Pratyush singhal d4b0cb68e3 feat: add retry for temp key-pair generation in amazon-ebs
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-10 22:45:02 +05:30
Ubuntu fb9fd58dfb Imports for publishing to SIG 2019-06-07 20:47:37 +00:00
Adrien Delorme d16fd8a2b1 allow to build on solaris 2019-06-07 12:42:38 +02:00
Ubuntu bf075d20c3 Merge branch 'master' of https://github.com/amydutta/packer 2019-06-06 23:37:55 +00:00
Megan Marsh 6fecd7d362 vendors 2019-06-06 15:04:02 -07:00
Megan Marsh 9ffdbc1f20 go vendors 2019-06-06 15:03:49 -07:00
Megan Marsh 435bda05a7 clean up docs 2019-06-06 15:02:22 -07:00
Megan Marsh 2b8fe72e30 add to sidebar nav 2019-06-06 14:31:02 -07:00
Megan Marsh bc5a48327d fix copypasta 2019-06-06 14:30:09 -07:00
Megan Marsh 668e92f2ca add docs and the option to list variables from inside the console 2019-06-06 14:26:12 -07:00
Megan Marsh df916e805e borrow wrappedreadline workarounds from terraform and implement a similar check for piped commands; this makes the cli experience much cleaner 2019-06-06 13:26:07 -07:00
Pratyush singhal 1e1af35341 refactor: replace userdata_files with generic metadata_files map
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-06 16:14:57 +05:30
Pratyush singhal 3845186c4c feat: add feature to import user-data from a file
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-06-06 11:28:59 +05:30
Megan Marsh b8ac1a800d implement a packer console analogous to the terraform console 2019-06-05 16:35:22 -07:00
Adrien Delorme 2620e18247
Merge pull request #7713 from praveen4463/patch-1
fixing a broken link to cloudywindows.io
2019-06-04 10:22:09 +02:00
Adrien Delorme 2d12af0b48
Merge pull request #7712 from hashicorp/fix_7699
test for length of ami tags before tagging
2019-06-04 10:17:43 +02:00
Adrien Delorme 936ca6545a
Merge pull request #7526 from aleksey-hariton/master
Add tags to instance in CloudStack builder
2019-06-04 10:13:42 +02:00
praveen4463 a9505b27aa
fixing a broken link to cloudywindows.io
Fixed broken link from https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/ to https://cloudywindows.io/post/winrm-for-provisioning-close-the-door-on-the-way-out-eh/
2019-06-04 08:47:46 +05:30
Megan Marsh 3f036b33c5 test for length of ami tags before tagging 2019-06-03 19:14:06 -07:00
Amrita Dutta 1438e2e449 SIG as destination validation changes 2019-06-04 00:47:29 +00:00
Megan Marsh d9960fdaeb use length instead of a nil test. 2019-06-03 15:13:49 -07:00
Megan Marsh de7106c36b
Merge pull request #7696 from hashicorp/go_generate_from_makefile
run `go generate ./...` from makefile & CI test that it generates no diff
2019-06-03 15:01:21 -07:00
Megan Marsh a5cd37b51d
Merge pull request #7711 from amydutta/master
Update Azure docs with Shared Image Gallery (for MDI only) as destination example
2019-06-03 13:41:55 -07:00
Megan Marsh 078d888dba
Merge pull request #7707 from CARFAX/master
Enable encrypted AMI sharing across accounts
2019-06-03 13:08:06 -07:00
Megan Marsh 816b553d06
Merge pull request #7709 from onematchfox/master
Vagrant builder - documentation + minor code fix
2019-06-03 11:34:49 -07:00
Amrita Dutta 0dfba0724c Merge branch 'master' of https://github.com/amydutta/packer 2019-06-03 18:05:18 +00:00
Amrita Dutta 29b1aad441 fix indent 2019-06-03 17:58:41 +00:00
Amrita Dutta db661445d2 fix return 2019-06-03 17:57:21 +00:00
Amrita Dutta 14c442345f Update Azure Docs with SIG example 2019-06-03 17:53:44 +00:00
Brian Fox d6776dc5f2 Remove unused variable 2019-06-03 11:10:01 +02:00
Adrien Delorme f1b7cc7ede
Merge pull request #7705 from hashicorp/7687
fix null file descriptor error
2019-06-03 10:46:44 +02:00
Brian Fox 9368269034 Add missing "vagrant package" parameters to documentation 2019-06-02 21:01:52 +02:00
Brian Fox 365f44d1c3 Spelling 2019-06-02 21:01:28 +02:00