Commit Graph

64 Commits

Author SHA1 Message Date
xiaohan.liang f4fc9dd09a Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08:00
Jesse Mazzella 07922de6e7
fix typo 2019-07-02 08:09:36 -07: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 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
ZhiQiang Fan 310a40f8fe feature: add run_tags to instance in tencentcloud builder
Instance tags are useful, our customer asks us to support it in packer as
well, to enable them to identify the purpose of the instance, even the
instance runs in a very short time.
2019-06-28 23:18:41 +08:00
mingsheng.su ce761bdcb4 Update example of ucloud-uhost 2019-06-28 18:14:00 +08:00
mingsheng.su fdb1caf309 fmt examples of ucloud 2019-06-27 14:28:46 +08:00
mingsheng.su 0ca67081c9 update examples && CODEOWNERS 2019-06-27 14:10:26 +08:00
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