Commit Graph

106 Commits

Author SHA1 Message Date
mingsheng.su 6109ad79a3
Merge branch 'master' into feature/ucloud_builder 2019-06-26 10:09:28 +08:00
Megan Marsh 6ead0493d9
Merge pull request #7787 from zqfan/tencent-fix-tmp-keypair
fix: correctly remove tencentcloud temporary keypair
2019-06-24 11:21:30 -07:00
ZhiQiang Fan 1c7b23357d fix: correctly remove tencentcloud temporary keypair
Tencent Cloud key pair cannot be removed if it is in a image, so
when user doesn't specify any log in method, such as ssh_password,
temporary key pair will be created and used, which eventually will
always fail.

This patch detach temporary key pair before creating image, so in
cleanup step, it can be deleted correctly.

Note that if user specifies a private key pair, we do not detach it,
because user might want to use it when creating new instances from this
image.
2019-06-23 23:23:48 +08:00
mingsheng.su 7804a52dd2 ucloud packer review 2019-06-19 21:32:33 +08:00
Amrita Dutta 78f001431e add example config file 2019-06-19 07:18:08 +00:00
mingsheng.su d1b9ad90c8 Merge remote-tracking branch 'origin' into feature/ucloud_builder 2019-06-18 18:17:19 +08:00
mingsheng.su 04ad86a31a add examples 2019-06-18 18:16:59 +08:00
mingsheng.su 00ae304919 update docs && examples 2019-06-18 17:54:07 +08:00
mingsheng.su c8bab9b382 add ucloud packer 2019-06-13 15:16:49 +08:00
Megan Marsh 3e73abc93a refresh line endings 2019-05-17 14:58:20 -07:00
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477) 2019-04-26 10:37:49 +08:00
Megan Marsh 8b2fb15f4d
Merge pull request #7375 from lrxcy/fix_190220
fix 'Acceptance Tests can't find image problem'
2019-03-05 09:41:49 -08:00
wb-ywq399345 035b9e5cda fix 'Acceptance Tests can't find image problem' 2019-03-05 16:14:59 +08:00
Miłosz Smółka bd4ce90728 Add chroot disk build 2019-01-28 12:33:25 +01:00
Miłosz Smółka c1892b60af Add basic hyperone example 2019-01-25 11:15:36 +01:00
Christopher Boumenot 3dfbe45fcd azure: sysprep after agent is ready 2019-01-08 10:17:33 -08:00
Adrien Delorme 7655d2efb2
Add tencent cloud builder (#7135 & #6839) 2018-12-20 17:09:44 +01:00
bozhi.ch 2e1a3c692b update windows examples 2018-11-26 17:12:30 +08:00
bozhi.ch c3a60ad0ce add options for system disk properties 2018-10-30 21:09:59 +08:00
Adam Robinson 4cfa49596a Add ansible connection plugin examples 2018-07-10 17:10:53 -04:00
Hariharan Jayaraman 3ca4a7208f Updated Samples and added a windows quick start as well 2018-05-18 08:12:43 -07:00
Hariharan Jayaraman b3882e0cae Updates to review comments 2018-05-11 10:00:31 -07:00
Hariharan Jayaraman 13c0b0b370 Added warning for VHD creation and updated samples 2018-05-10 13:15:35 -07:00
Diego Casati de429da5f9 add expect_disconnect otherwise the build fails 2018-04-18 12:05:27 -07:00
Diego Casati aa737a5862 Add a FreeBSD example 2018-04-18 10:08:00 -07:00
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
Spelling
2018-03-14 09:50:27 -07:00
Josh Soref 04d6bfc696 spelling: environment 2018-03-13 07:41:21 +00:00
Josh Soref c312493c38 spelling: available 2018-03-13 07:13:24 +00:00
Hariharan Jayaraman f6b1349bf3 fixing marketplace sample 2018-03-12 21:09:53 -07:00
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback 2018-03-08 22:43:26 -08:00
Matthew Hooker 2452f0788b
remove obsolete ssh_wait_timeout from examples 2018-01-30 23:30:45 -08:00
zhuzhih2017 bdc1fa0527
Merge pull request #5641 from zhuzhih2017/master
Add security token supported and TLS handshake timeout support
2017-11-28 11:15:56 +08:00
zhuzhih2017 de0017c37a Add security token supported and TLS handshake timeout support 2017-11-28 10:32:17 +08:00
Christopher Boumenot 1da0ce688f azure: sysprep improvements for Windows examples 2017-09-29 12:39:52 -07:00
zhuzhih2017 1861a22c77 Merge pull request #5219 from zhuzhih2017/master
update alicloud go sdk and enable multi sites support for alicloud
2017-09-06 09:41:38 +08:00
Christopher Boumenot b6a4c35e1a Update windows_custom_image.json
Add missing comma.
2017-08-27 14:39:23 -07:00
Kinnaird McQuade 61289bec0e Update windows_custom_image.json
object_id is not present in the file. Added it
Required, as per the docs: https://www.packer.io/docs/builders/azure.html#object_id
The other windows example shows this properly: https://github.com/hashicorp/packer/blob/master/examples/azure/windows.json
Similar to: https://github.com/hashicorp/packer/issues/4803
2017-08-26 16:26:25 -04:00
zhuzhih2017 096a0cd4fb update aliyun go sdk and enable multi sites support for alicloud 2017-08-04 09:56:04 +08:00
zhuzhih2017 62da0e7607 fix keypair error for debug mode and increate the wait time to avoid the timeout failure, add the more example 2017-07-20 11:13:59 +08:00
Christopher Boumenot c09f8b84b9 azure: fit and finish
* More unit testing to assert customer's configuration.
 * Further reduce the options that are needed to power an Azure build.
   This seems like a much more manageable level.
 * Update all of the examples to use a more current VM sku.
 * Add an example for RHEL.
 * Move from OpenSuSE to SuSE.
 * Update the docs.
2017-06-26 11:13:39 -07:00
Christopher Boumenot fd69efbb85 Add custom image examples 2017-06-26 11:13:38 -07:00
zhuzhih2017 7b9f93c75f add retry logic when attach keypair failed 2017-05-26 09:57:00 +08:00
zhuzhih2017 a26c72f38e fix the comments about root and apply the keypair with latest dependence 2017-05-25 18:27:54 +08:00
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository 2017-04-18 15:14:45 +08:00
zhuzhih2017 5e44a28a42 fix the missing access key for testcase 2017-03-03 17:56:48 +08:00
zhuzhih2017 fadfb696dd Add packer plugin which support alicloud ecs images 2017-03-03 16:56:17 +08:00
Christopher Boumenot d64c68af60 azure: Use a more long term image sku
Move from 16.04.0-LTS to 16.04-LTS, which should track the latest LTS
changes better.

Move to a recommended VM size.
2017-02-24 10:56:18 -08:00
Christopher Boumenot 0c04b3a46a Update docs for deprovision and defaults
Change the Windows samples to include sysprep.

Document the default user name for Linux, and why it was chosen.

Document temp_compute_name and temp_resource_group_name, and provide a
reason why you would want to override them.

Document the deprovision process for Windows and Linux.

Document the skip_clean option as it pertains to Linux deprovision.
2017-02-23 10:43:12 -08:00
Christopher Boumenot f8508aa138 azure: Examples of a custom image 2016-08-08 09:59:49 -07:00
Christopher Boumenot ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
arafato 9f35d86f99 fixed typo that breaks validation 2016-07-08 14:24:07 +02:00
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Christopher Boumenot 902b2583fa Update samples. 2016-05-05 13:40:17 -07:00
Chris Bednarski 1aaa129918 Change AZURE to ARM to be consistent with Terraform 2016-04-19 16:57:51 -07:00
Ward Vandewege 5e2d361774 Fix up azure-arm examples: make sure the variable names line up. 2016-03-27 15:02:02 -04:00
Chris Bednarski d77b1612d4 Added example templates for Azure 2016-03-14 20:08:35 -07:00