Commit Graph

12755 Commits

Author SHA1 Message Date
Megan Marsh 617fd18255 supply complete dummy data for googlecompute tests 2019-07-03 15:58:08 -07:00
Megan Marsh 0dfb3cc56f replace some bespoke google auth code with code from golang's oauth2 library 2019-07-03 14:27:33 -07:00
Megan Marsh 4adf265b67
Merge pull request #7822 from exoscale/feature/exoscale/post-processor
Add Exoscale Import post-processor
2019-07-03 14:01:35 -07:00
Megan Marsh 242f5b1c9f typos 2019-07-03 13:34:23 -07:00
Megan Marsh 8718e98efe add common commHost function 2019-07-03 13:30:50 -07:00
Megan Marsh c03c3f4410 replace duplicate commHost functions with a single communicator helper that checks for ssh_host and does a statebag lookup for a given key 2019-07-03 13:30:29 -07:00
Marc Falzon e265a1f8eb
Update website/source/docs/post-processors/exoscale-import.html.md
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-07-03 09:39:23 +02:00
Marc Falzon d82c4f0057 fixup! fixup! fixup! fixup! Add Exoscale Import post-processor 2019-07-03 09:28:42 +02:00
David Hao c6a471d149 [Salt] Replace scp with scp + mv to handle non-root case 2019-07-02 18:06:04 -04:00
Megan Marsh 32066cc46e update changelog 2019-07-02 14:23:58 -07:00
Megan Marsh 0cfe8e7070 allow ssh_host override for OpenStack 2019-07-02 14:00:51 -07:00
Megan Marsh eb8c74bf85 allow ssh_host config option to override host logic for all builders 2019-07-02 13:56:28 -07:00
Megan Marsh ad8a88e366 allow ssh_host to override the host ip gathered from the instance for GCP builder 2019-07-02 13:01:41 -07:00
Megan Marsh 6ad975f296 Revert "move SSHInterface/SSHIPVersion fields to communitator.Config struct"
This reverts commit b0c09087a2.
2019-07-02 10:46:10 -07:00
Megan Marsh 5ee943a2bf
Merge pull request #7781 from hashicorp/fix_7710
document httpip in virtualbox builder
2019-07-02 10:37:06 -07:00
Megan Marsh 62120c5c0b
Merge pull request #7813 from hashicorp/stop_calculating_spot_bids
stop calculating spot bids
2019-07-02 10:35:45 -07:00
Megan Marsh 3b80889290
Merge pull request #7830 from ozyx/patch-1
fix typo
2019-07-02 10:29:52 -07:00
Jesse Mazzella 07922de6e7
fix typo 2019-07-02 08:09:36 -07:00
Marc Falzon 9ce5f5dcee fixup! fixup! fixup! Add Exoscale Import post-processor 2019-07-02 10:15:09 +02:00
Marc Falzon 4a2ba6d574 fixup! fixup! Add Exoscale Import post-processor 2019-07-02 08:31:28 +02:00
Megan Marsh 53e61aa69b
Merge pull request #7829 from hashicorp/fix_7828
don't store names of volumes we will be deleting when the instance te…
2019-07-01 15:37:01 -07:00
Megan Marsh d4b6a61445 don't store names of volumes we will be deleting when the instance terminates 2019-07-01 14:44:17 -07:00
Megan Marsh 0e59154458 update changelog 2019-07-01 14:20:25 -07:00
Megan Marsh 486bdcce9d
Merge pull request #7815 from zqfan/tencent-data-disks
feature: support data disks for tencentcloud builder
2019-07-01 13:39:11 -07:00
Megan Marsh 42611e6004 fix build 2019-07-01 13:03:33 -07:00
Megan Marsh 91d275f4ce
Merge pull request #7827 from hashicorp/fix_generate
change installation of pigeon if off gopath
2019-07-01 13:02:21 -07:00
Megan Marsh a60f7e395e add a test to make sure we don't error becaue of spot price auto product, yet 2019-07-01 13:01:41 -07:00
Megan Marsh c979cad579 add a fixer and update docs for spot_price_auto_product 2019-07-01 13:01:41 -07:00
Megan Marsh c722afe707 stop calculating spot bids; amazon changed the way spot instances are priced to be stable rather than bid-based, so when user sets auto, we can just default to the ondemand price and know that they'll get the same price as everyone else bidding at that time. 2019-07-01 13:01:41 -07:00
Megan Marsh 4d6891111d update vendor 2019-07-01 12:53:04 -07:00
Megan Marsh b82ab2cc6a change installation of pigeon if off gopath 2019-07-01 12:16:50 -07:00
Megan Marsh 1678d66e31
Merge pull request #7818 from StileEducation/master
Allow EC2 Spot Fleet packer instances to run in parallel
2019-07-01 09:47:40 -07:00
Megan Marsh 3896ef29bd
Merge pull request #7819 from phils/patch-4
Fix IAM permissions for spot based on changes in 7682
2019-07-01 09:40:25 -07:00
Megan Marsh e2fe35ef40
Merge pull request #7814 from hashicorp/fix_7805
fix bug where ReadAll on the stderr pipe was causing an infinite hang…
2019-07-01 09:03:55 -07:00
Pratyush singhal 6c8421e802 fix: fix volumes.Delete method call
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-07-01 12:56:00 +05:30
Pratyush singhal cf8bfa56f0 fix: set openstack image metadata with use_blockstorage_volume
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-07-01 12:56:00 +05:30
Marc Falzon d4f382a893 fixup! Add Exoscale Import post-processor 2019-07-01 08:59:37 +02:00
Marc Falzon 00c2df24df Add Exoscale Import post-processor
This change adds a new `exoscale-import` post-processor allowing users
to create Private Templates on Exoscale.
2019-07-01 08:40:26 +02:00
phils 700e747cb9
Fix IAM permissions for spot based on changes in 7682 2019-07-01 00:51:34 +10:00
Daniel Rodgers-Pryor 8a9753032c Allow EC2 fleet packer instances to run in parallel
Without conflicting over the name of the launch template that they create/delete.

Previously, the launch template name was just hard coded to `packer-fleet-launch-template`, but since AWS enforces unique template names within an account, this caused simultaneously running packer instances to hit template-already-exists errors when creating their templates and race-conditions around deleting the template. Now, the template name is randomly generated on each run, so there should be no conflicts.
2019-06-30 16:19:35 +10:00
ZhiQiang Fan 7235a4a775 feature: support data disks for tencentcloud builder
Data disk is an important feature for instances and images, this
patch implements the basic functionality of it. More work needs
to be done to make it friendly to users. Docs has pointed out
current limitation.

Also update dependencies because this feature requires new code in
tencentcloud go sdk.
2019-06-30 00:05:38 +08:00
Megan Marsh 8d5ecb9514 fix bug where ReadAll on the stderr pipe was causing an infinite hang because there was no stderr to report 2019-06-28 16:23:28 -07:00
Megan Marsh 049811d329
Merge pull request #7804 from hashicorp/esx5_checksum_files
parse checksum file so that we can use the checksums inside in the vm…
2019-06-28 15:55:18 -07:00
Megan Marsh d6d4eb2087 fix some tests and some config behavior to prevent null dereference errors and incorrect precedence between iso checksum and iso checksum url 2019-06-28 15:29:39 -07:00
Megan Marsh 9e5b12cbf3
Merge pull request #7774 from davidhao3300/patch-2
Make salt-masterless provisioner respect disable_sudo directive for all commands
2019-06-28 14:42:20 -07:00
Megan Marsh 9dd871120a
Merge pull request #7810 from zqfan/tencent-add-run-tags
feature: add run_tags to instance in tencentcloud builder
2019-06-28 14:39:52 -07:00
Megan Marsh e85bac737b update go-getter client in vendors folder 2019-06-28 14:38:54 -07:00
Megan Marsh 21e35edfe2 update go mod file 2019-06-28 14:36:54 -07:00
Megan Marsh 998ef4053f parse checksum file so that we can use the checksums inside in the vmware-esxi builder stepuploadiso 2019-06-28 14:35:43 -07:00
Megan Marsh 3a56c16308 update changelog 2019-06-28 10:54:32 -07:00