Commit Graph

1555 Commits

Author SHA1 Message Date
Adrien Delorme 5fd683c0cf virtualbox-ovf.html.md.erb: update doc to current usage 2019-05-06 17:08:45 +02:00
krisko f2f6772aee
Document image_encryption_key 2019-05-02 17:58:47 +02:00
Megan Marsh 16f0a80054 Update website/source/docs/builders/docker.html.md 2019-05-01 12:07:47 -07:00
Adrien Delorme d08f3e0bdb document entrypoint option 2019-05-01 12:07:47 -07:00
Adrien Delorme b7be4f9c74
Merge pull request #7564 from zaenk/proxmox-builder-static-ssh-host
ProxMox builder: Use ssh_host config as host for the communicator
2019-05-01 11:04:04 +02:00
Peter Pribula 02b6e7f3de Changes `qemu_agent` config frm string to bool
Defaults to true
2019-04-30 20:23:34 +02:00
Olaf Seibert 58f8f088e2 Add image filtering on properties.
Initial commit with debugging info.
2019-04-30 16:34:40 +02:00
wb-ywq399345 0da7b918ce support encryption with default service key 2019-04-26 15:12:07 +08:00
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477) 2019-04-26 10:37:49 +08:00
Peter Pribula cb7b77cd90 Adds `qemu_agent` optional config parameter 2019-04-25 19:25:00 +02: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 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
Calle Pettersson b56b3dda5f Fix os parameter documentation 2019-04-21 08:33:51 +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
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
Megan Marsh 45af9f0cbc
Merge pull request #7498 from hashicorp/do_7465
add keep_registered option to hyperv
2019-04-15 11:12:43 -07:00
Adrien Delorme a78970c029 virtualbox-ovf: also document that the checksum field is now mandatory 2019-04-15 15:29:41 +02:00
Adrien Delorme 97f2914c6a
Merge pull request #7484 from yandex-cloud/yandex-cloud-builder
Builder for Yandex.Cloud
2019-04-15 14:02:43 +02:00
Megan Marsh 73205f3a91 add keep_registered option to hyperv 2019-04-12 15:59:09 -07:00
Adrien Delorme d2f036ec44 Revert "Revert "Merge pull request #7391 from carlpett/proxmox-builder""
This reverts commit 032527ecfe.
2019-04-12 12:26:34 +02:00
Gennady Lipenkov 8e4e314553 Bulk update 'yandex' builder
Squashed commit of the following:

commit ccc020231780179d241d46eef7c0ba103366aed0
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Apr 9 14:38:30 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov a12c5d57ec Bulk update builder (doc, acc test)
Squashed commit of the following:

commit 372db94a5c4bc81bd4149de5ea9c21946362f3f9
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Thu Apr 4 13:16:03 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov d816bb1700 Init doc page
Squashed commit of the following:

commit adff177ad2e3fc9d73bcf9703c7443ae33922dca
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Mar 26 20:52:08 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Adrien Delorme 032527ecfe Revert "Merge pull request #7391 from carlpett/proxmox-builder"
This reverts commit b7d62b2ae0, reversing
changes made to c36eaf16f7.
2019-04-11 14:19:25 +02:00
Adrien Delorme dcd21d37da
Merge pull request #7489 from hashicorp/context_provisioner
Context provisioner
2019-04-11 11:55:29 +02:00
Shintaro Kaneko e1164a6a56
Fix minor typo for GCP docs 2019-04-10 10:47:50 +09:00
Jakob 65afb675d1
Fix typo in openstack builder docs 2019-04-09 16:51:39 +02:00
Adrien Delorme 06941a86a3 make the file builder run provisioners for testing purposes 2019-04-08 20:09:21 +02:00
Megan Marsh efd568c10c fix docs 2019-04-08 09:30:23 -07:00
Calle Pettersson 1d16b4ec41 Add docs 2019-04-04 15:20:46 -07:00
Megan Marsh 196028a7ed
Merge pull request #7444 from hashicorp/docker_windows
Docker windows
2019-04-04 09:30:43 -07:00
Megan Marsh e4842b69b4
Merge pull request #7458 from hashicorp/update-vagrant-provider-doc
update vagrant provider documentation
2019-04-02 11:08:33 -07:00
Megan Marsh 17c14770a7
Merge pull request #7450 from AkshatM/rename_security_group_cidr_to_security_group_cidrs
Rename and change `temporary_security_group_source_cidr`  to accept a list of strings (for Amazon builders).
2019-04-02 10:54:31 -07:00
Alvaro Miranda Aguilera dbe3b361b5
update vagrant provider
add clarification on provider when source have more than 1 provider.
also add an example.
2019-04-02 19:20:10 +02:00
Adrien Delorme 225f4bab1f
Merge pull request #7446 from hashicorp/do_6928
remove default ssh_username from oracle classic builder, but add note…
2019-04-01 17:24:36 +02:00
Akshat Mahajan f07e4214cc Addresses issues #5384, #5494: Rename and change `temporary_security_group_source_cidr`
to accept a list of strings (for Amazon builders).

Per this change, `temporary_security_group_source_cidr` in the configuration:

1. Will be renamed to `temporary_security_group_source_cidrs`.
2. Will accept a list of CIDRs.
3. Will have its documentation updated to reflect this change.
4. Will have a fixer attached for newer templates to avail of.
2019-03-30 15:47:03 -07:00
Megan Marsh b3c6dd0baa fix tests 2019-03-29 15:52:41 -07:00
Megan Marsh bcacd331c3 change cpu to cpus and ram_size to memory in order to bring hyper v into line with other builder defaults 2019-03-29 15:12:51 -07:00
Megan Marsh a84fc6bde9 remove default ssh_username from oracle classic builder, but add note in docs. 2019-03-29 14:24:12 -07:00
Megan Marsh b079d7ba12 add windows container example 2019-03-29 13:39:40 -07:00
Megan Marsh a01091952d add documentation for windows_container flag 2019-03-28 16:26:38 -07:00
Megan Marsh e97f864016
Merge pull request #7395 from josepand/openstack_force_delete
Expose force_delete for openstack builder
2019-03-25 17:34:00 -06:00
Paul Meyer e4bea87a20
Merge pull request #7211 from riezebosch/master
arm-builder: specify zone resilient image from config
2019-03-19 08:59:29 -07:00
Esten Rye 19c72f7867 Add additional detalis for Hyper-V users 2019-03-15 20:51:40 -05:00
Esten Rye 8f10683a20 Update incorrect documentation on vagrant builder.
The packer option `vagrantfile_template` is not used.
This change corrects the documentation with the correct option name.

Closes #7414
2019-03-15 20:22:51 -05:00
Megan Marsh 24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
Add vagrant-cloud post-processor support for the vagrant builder
2019-03-15 16:00:05 -07:00
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
* removed packer.Cache and references since packer.Cache is never used except in the download step. The download step now uses the new func packer.CachePath(targetPath) for this, the behavior is the same.
* removed download code from packer that was reimplemented into the go-getter library: progress bar, http download restart, checksuming from file, skip already downloaded files, symlinking, make a download cancellable by context.
* on windows if packer is running without symlinking rights and we are getting a local file, the file will be copied instead to avoid errors.
* added unit tests for step_download that are now CI tested on windows, mac & linux.
* files are now downloaded under cache dir `sha1(filename + "?checksum=" + checksum) + file_extension`
* since the output dir is based on the source url and the checksum, when the checksum fails, the file is auto deleted.
* a download file is protected and locked by a file lock,
* updated docs
* updated go modules and vendors
2019-03-13 12:11:58 +01:00
Megan Marsh 0196d7f835
Merge pull request #7370 from sargun/allow-users-to-specify-custom-block-device-mapping
amazon-chroot: Allow users to specify custom block device mapping
2019-03-12 14:21:23 -07:00
Vadym Haidamaka 4855bc79c9 Add vagrant-cloud post-processor support for the vagrant builder 2019-03-12 05:33:46 +02:00
Vadym Haidamaka 535dfd9333 Fix typos in the vagrant builder doc 2019-03-12 05:07:55 +02:00
Sargun Dhillon 0e8eb61699 Add documentation around new behaviour of ami_block_device_mappings
Previously, if ami_block_device_mappings was set, and you were building
from an existing image, it would get silently ignored, and changing
root_device_name would be ignored. This changes that behaviour, so
if ami_block_device_mappings is specified, it's respected.
2019-03-11 11:40:49 -07:00
josepand f2b42f2b4b Expose force_delete for openstack builder
Very similar to how its exposed in terraform adds an optional force_delete config entry on the openstack builder.
2019-03-11 18:39:47 +00:00
Adrien Delorme c207a84cb8
Update website/source/docs/builders/vagrant.html.md
Co-Authored-By: davividal <davividal@gmail.com>
2019-03-07 16:19:29 +01:00
Davi Vidal 0fb89ff4c3 Fixes dead link 2019-03-07 15:09:30 +01:00
Anton Kvashenkin 5e3078b9e9
Fix typo in vagrant builder description
Fix typo in `add_insecure` option.
2019-03-06 08:46:49 +03:00
Megan Marsh 5aeab4ec06
Merge pull request #7300 from kmbulebu/openstack_app_creds
OpenStack: Support Application Credential Authentication
2019-03-05 13:11:51 -08:00
Megan Marsh 5aa55f194d add vagrant docs to website 2019-03-05 09:31:14 -08:00
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
virtualbox: create ephemeral SSH key pair for build process
2019-03-04 14:25:04 -08:00
Megan Marsh 3b6ff0fe3e
Merge pull request #7106 from hashicorp/revert_docker_changes
docker: user /bin/sh by default
2019-02-28 15:31:53 -08:00
Megan Marsh 424a6a3a7e
Merge pull request #6983 from hashicorp/revert-6979-revert-6925-organization_renaming
DONT MERGE YET: Revert "Revert "Rename attribute api_access_key to organization_id""
2019-02-28 15:30:25 -08:00
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
to retain current encryption settings

this changes the fields :
* ami_config.encrypt_boot
* block_device.encrypted

This also removes StepCreateEncryptedAMICopy as this step is now done in StepAMIRegionCopy
2019-02-27 11:17:56 +01:00
Megan Marsh 05897c8653
Merge pull request #7294 from hyperonecom/hyperone
Add HyperOne builder
2019-02-25 08:30:04 -08:00
Miłosz Smółka 94a7a07c87 Merge branch 'master' into hyperone 2019-02-24 15:16:21 +01:00
lrxcy ab939989ea fix some typos 2019-02-23 14:03:48 +08:00
lrxcy 3f04b8193f fix endpoints description 2019-02-20 14:38:54 +08:00
lrxcy 4fae17767d add Endpoints Description 2019-02-20 12:18:16 +08:00
Adrien Delorme 4f46bd74ab
Merge pull request #7313 from kristi/patch-1
add DescribeInstanceStatus to minimum permissions
2019-02-18 18:19:56 +01:00
Manuel Riezebosch f31031f6b1 feat(arm-builder): zone resilient from config 2019-02-15 19:27:32 +01:00
Megan Marsh 75f574bd4b
Merge pull request #7221 from hashicorp/vagrant_builder
Vagrant builder
2019-02-15 10:05:44 -08:00
Kristi 7e7e486901
add DescribeInstanceStatus to minimum permissions
Packer needs DescribeInstanceStatus or else it ends up waiting forever for the instance to become ready.
2019-02-14 11:53:53 -08:00
Megan Marsh f2439625bf
Merge pull request #7298 from hashicorp/fix_7256
Fix 7256
2019-02-11 14:24:01 -08:00
Megan Marsh 22e3f09db3
Merge pull request #7282 from hashicorp/do_6994
Allow amazon builders to read credentials from Vault.
2019-02-11 12:49:23 -08:00
Megan Marsh 51b46b851a formatted amazon docs 2019-02-11 11:40:56 -08:00
Yiorgos Adamopoulos 591533cee0
allow the basic example to pass packer validate
tested with Packer v1.3.4.  Without the builders section is complains for " Unknown root level key in template:  " for every key in the JSON.
2019-02-11 17:05:55 +02:00
Kevin Bulebush bd7aa3dab8 Updated OS docs for app creds 2019-02-09 23:06:59 -05:00
Megan Marsh e2d8c0bfd7 docs 2019-02-08 09:28:10 -08:00
Megan Marsh dc848ea5d7 just make vagrantfile instead of calling init 2019-02-07 12:39:56 -08:00
Miłosz Smółka 228829139b Merge branch 'master' into hyperone 2019-02-07 14:12:13 +01:00
Stephen Fox 0378f3ad35 Initial documentation for VirtualBox SSH key pair vars. 2019-02-06 16:03:40 -05:00
Megan Marsh 90baa006da add docs on all builders. 2019-02-05 14:19:24 -08:00
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate 2019-02-05 14:07:04 -08:00
Adrien Delorme e8c655bf15
Update website/source/docs/builders/vagrant.html.md
Co-Authored-By: SwampDragons <megan@hashicorp.com>
2019-02-05 09:31:38 -08:00
Megan Marsh 7a78b47e83 make vault engine stuff into a little struct for easier management 2019-02-04 15:29:45 -08:00
Megan Marsh 6b41a1663a updated the amazon ebs docs to include vault integration 2019-02-04 15:13:20 -08:00
Megan Marsh af7131b169 tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
Megan Marsh 52892699ca make it work with a local vagrant box 2019-02-04 14:08:43 -08:00
Megan Marsh ad21367b21 vagrant builder 2019-02-04 14:08:43 -08:00
Matthew Aynalem b404cfc365 add builder/tencentcloud-cvm to sidebar
post-processors/docker-import - move tags under optional
add missing data types to various attributes
2019-02-03 16:24:38 -08:00
Miłosz Smółka 5e8eade205 Add support for custom API url of compatible service
Closes #4
2019-02-02 14:05:06 +01:00
Miłosz Smółka 4704565869 Rename vm_flavour to vm_type 2019-02-01 18:57:43 +01:00
Megan Marsh 6ea64bc378
Merge pull request #7191 from arizvisa/GH-7190
Adds support to the vmware builders for specifying the number of cores per socket via the `cores` option.
2019-01-31 15:27:52 -08:00
Miłosz Smółka 4a863379fa Update docs 2019-01-28 13:00:30 +01:00
Miłosz Smółka bd4ce90728 Add chroot disk build 2019-01-28 12:33:25 +01:00
Miłosz Smółka aaee600be0 Update docs 2019-01-25 11:39:30 +01:00
Ali Rizvi-Santiago 3f559f8782 Updated the documentation with the vmx option that it uses. 2019-01-25 02:40:34 -06:00
Megan Marsh e4dca0016c
Merge pull request #7156 from vtolstov/qemu
qemu: Add configuration options to specify cpu count and memory size
2019-01-23 15:19:08 -08:00
Megan Marsh f031ab56de
Merge pull request #7216 from hashicorp/fix_7208
fix docker tmp dir for mac
2019-01-23 14:57:11 -08:00