Artis3n
39183d1b76
Updated documentation with `make generate`
2020-09-05 18:29:52 -04:00
Megan Marsh
94a9beaac6
fix up documentation for virtualbox key pair ssh options
2020-09-04 16:55:58 -07:00
Megan Marsh
61af278b79
document previously undocumented ssh options for tencent cloud
2020-09-04 16:50:45 -07:00
Megan Marsh
bd2aa40d2c
document previously undocumented ssh options for scaleway
2020-09-04 16:50:31 -07:00
Megan Marsh
c7356fb776
document previously undocumented ssh options for outscale
2020-09-04 16:49:48 -07:00
Megan Marsh
850fda6aa1
document previously undocumented ssh options for oracle classic
2020-09-04 16:49:31 -07:00
Megan Marsh
f3633da200
document previously undocumented ssh options for jdcloud
2020-09-04 16:49:12 -07:00
Megan Marsh
00c6efd5cf
document previously undocumented ssh options for cloudstack
2020-09-04 16:48:47 -07:00
Megan Marsh
bca4439149
add undocumented ssh options to alicloud builder docs
2020-09-04 16:48:05 -07:00
Megan Marsh
d2dd158fe2
Implement cd_files option. The Addfile code is modified from the floppy_files
...
tooling. Tested on OSX, `Windows, and Linux. Documented command line dependencies.
Added acceptance tests (behind testacc flag, since there are dependencies).
This option is only implemented for the vmware and hyperv iso builders. It will be
implemented for others in later PRs in order to make review easier.
2020-09-04 12:20:19 -07:00
Kevin Pruett
bce6fdf03a
Merge pull request #9870 from hashicorp/pruett.integrate-search
...
Integrate @hashicorp/react-search into layout
2020-09-04 10:52:20 -04:00
Wilken Rivera
7813ad5ef4
communicator/ssh: Add note for builder specific SSH supported options
2020-09-03 13:31:47 -04:00
Sylvia Moss
ba74602d63
Allows publishing to a Shared Image Gallery with a different subscription id ( #9875 )
2020-09-03 17:13:32 +02:00
Kevin Pruett
6c4e9e9e68
Integrate @hashicorp/react-search into layout
2020-09-03 11:08:09 -04:00
Sylvia Moss
62e1663846
update build command with bigger max_old_space_size ( #9882 )
2020-09-03 11:48:54 +02:00
Troy Lindsay
d1a61cac33
Add NVMe controller support to vsphere-iso builder ( #9880 )
2020-09-03 11:14:58 +02:00
Adrien Delorme
a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. ( #9863 )
...
* tests
* docs
2020-09-02 16:26:50 +02:00
Megan Marsh
e96cc07a1a
Merge pull request #9853 from remyleone/boottype_local
...
change default scaleway boottype to local
2020-09-01 10:44:42 -07:00
Wilken Rivera
79bc643c17
post-processor/digitalocean-import: Update documentation ( #9865 )
...
* Add a note to use the DigitialOcean Builder when working directly on Digital Ocean
* Add HCL2 example to the documentation
2020-09-01 11:08:06 -04:00
Sylvia Moss
9eaa2e17f7
add netlify node option to increase old space size ( #9859 )
2020-09-01 11:24:30 +02:00
Rémy Léone
05aecc56ea
Fix
2020-09-01 09:14:07 +02:00
Sylvia Moss
58a0bdd780
Look for a default resource pool when root resource pool is not found ( #9809 )
2020-08-31 16:26:48 +02:00
GennadySpb
804fefef17
yandex-import: allow set custom API endpoint ( #9850 )
...
* Separate Access Config from yandex builder Config
* make use of Access Config explicit
* Move `MaxRetries` into AccessConfig
* NewDriverYC use AccessConfig instead Config
* yandex-import PP use common Access Config
Now support set custom API Endpoint
* yandex-export PP use common Access Config
Now support set custom API Endpoint too (as yandex-import)
* fix test
* Tiny doc updates.
2020-08-31 15:29:20 +02:00
OblateSpheroid
0ad26cce01
Feat (oracle-oci): allow freeform and defined tags to be added instance ( #9802 )
...
* feat (oracle-oci): allow freeform and defined tags to be added to instance (#6313 )
* docs (oracle-oci): add descriptions for instance_tags and instance_defined_tags (#6313 )
* fix: fmt
* fix: generate hcl2spec
2020-08-31 14:36:09 +02:00
Andreas Botzner
e4f975fae1
Allows for the mounting of ISOs when a Proxmox VM s created. Same as … ( #9653 )
...
Allows the mounting of additional ISOs when the VM is created. The config option was taken from PR #9055 and slightly changed. Users can specify an array of bus names, bus numbers and filenames.
"cd_drive":[
{
"bus": "ide",
"bus_number": 3,
"filename": "isos:iso/virtio-win-0.1.187.iso"
},
{
"bus": "sata",
"bus_number": 3,
"filename": "isos:iso/someother.iso"
}
]
Closes : #7950
Co-authored-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-08-31 10:48:24 +02:00
packer-ci
576e227e60
cut version 1.6.2
2020-08-28 15:06:26 +00:00
Wilken Rivera
bd0cb85bb6
Reset change entries made by the packer-ci release bot
...
This reverts commit c35837ee49
.
2020-08-28 10:55:55 -04:00
packer-ci
10f34a3b12
cut version 1.6.2
2020-08-27 20:58:07 +00:00
Jason Azze
9156563314
Update HardwareConfig-not-required.mdx
...
I've tested the behavior of CPUs and cpu_cores against both vSphere 5.5 and 6.7. In both cases, CPUs gives you virtual cores, not sockets.
For example, I want 6 cores per socket across 2 sockets for 12 total cores. Based on the wording of this doc, I set CPUs to 2 and cpu_cores to 6. The documentation implies that will give me 2 sockets with 6 cores each. The actual behavior is you get 2 cores, and when you crack open the VMs configuration, you see that cores per socket is set to 6 -- which is meaningless.
Setting CPUs to 12 and cpu_cores to 6 gives me what I wanted. So the wording I propose is
```
- `CPUs` (int32) - Number of CPU cores.
```
2020-08-27 15:10:33 -04:00
Megan Marsh
cf1a39a4e8
add variable gotcha to the variables docs not just the from-json hcl guides.
2020-08-26 10:54:39 -07:00
Megan Marsh
df4ce6fd34
Merge pull request #9821 from homedepot/ansible_ssh_extra_args
...
Ansible ssh extra args
2020-08-26 10:44:51 -07:00
Megan Marsh
60d124dcaf
Merge pull request #9825 from hashicorp/do_7165
...
Allow "export" to ovf/ova for local vmware builds in addition to esx …
2020-08-26 10:43:49 -07:00
Megan Marsh
b6e277fb05
Merge pull request #9828 from hashicorp/d-salt-masterless-HCL2-examples
...
provisioner/salt-masterless: Add HCL2 example to docs
2020-08-26 10:43:22 -07:00
Wilken Rivera
7e81e3fbda
provisioner/salt-masterless: Add HCL2 example to docs
2020-08-26 13:17:59 -04:00
Megan Marsh
a6d5106cd7
Allow "export" to ovf/ova for local vmware builds in addition to esx ones.
...
Refactor step_export and the driver interface to move the ovftool call
into the vmware driver. This refactor allows us to add meaningful tests
to step_export, which I have also added here.
2020-08-26 09:45:12 -07:00
Megan Marsh
e9b526ee2d
Move step_create_disk into common folder, and add to vmx builder ( #9815 )
...
Pull additional disk related config options into their own file.
2020-08-26 10:13:11 +02:00
Megan Marsh
b90957d11c
Merge pull request #9824 from hashicorp/d-windows-restart-hcl2-example
...
provisioner/windows-restart: Add HCL2 example to documentation
2020-08-25 16:35:36 -07:00
Wilken Rivera
4dff73cec2
provisioner/windows-shell: Add HCL2 example to documentation
2020-08-25 17:03:15 -04:00
Wilken Rivera
0e388db795
provisioner/windows-restart: Add HCL2 example to documentation
2020-08-25 17:01:05 -04:00
Upo
3506b8876f
Update the GCE Builder Documentation ( #9820 )
...
* update documentation
* add HCL2 examples
2020-08-25 11:33:02 -04:00
Larry
33f391ae37
Update Config-not-required.mdx
2020-08-25 10:05:29 -05:00
Adrien Delorme
0d0bd9ce75
name fields of PolicyDocument correctly in HCL ( #9812 )
...
withouth this fix we would have had to do
```hcl
temporary_iam_instance_profile_policy_document {
statement {
action = ["*"]
effect = "Allow"
resource = ["*"]
}
version = "2012-10-17"
}
```
instead of the same document but with capitalised fields
2020-08-25 10:53:56 +02:00
Adrien Delorme
5ba134ac5b
JSON to HCL2 (minimal best-effort) transpiler ( #9659 )
...
hcl2_upgrade transforms a JSON build-file in a HCL2 build-file.
This starts a validated Packer core and from that core we generate an HCL 'block' per plugin/configuration. So for a builder, a provisioner, a post-processor or a variable. The contents of each block is just transformed as is and basically all fields are HCL2-ified.
A generated field can be valid in JSON but invalid on HCL2; for example JSON templating (in mapstructure) allows to set arrays of strings - like `x = ["a", "b"]` - with single strings - like `x="a"` -, HCL does not allow this.
Since JSON does not make the distinction between variables and locals, everything will be a variable. So variables that use other variables will not work.
hcl2_upgrade tries to transform go templating interpolation calls to HCL2 calls when possible, leaving the go templating calls like they are in case it cannot.
Work:
* transpiler
* tests
* update hcl v2 library so that output looks great.
* update docs
2020-08-25 10:51:43 +02:00
Wilken Rivera
1252658848
Merge pull request #9813 from raygervais/documentation/inspec
...
adds: note in documentation of inspec on host machine required
2020-08-24 16:38:39 -04:00
raygervais
759ae006df
adds: note in documentation of inspec on host machine required
2020-08-24 12:39:57 -04:00
Sylvia Moss
2152fa3313
Accept content library path in iso_paths ( #9801 )
2020-08-24 16:54:30 +02:00
Adrien Delorme
7de6c21a8a
HCL: document contextual source variable usage ( #9799 )
...
It is possible to use ${source.name} and ${source.type}, this was not documented before
2020-08-21 13:37:08 +02:00
Sylvia Moss
99800619b7
Add HCL2 examples to the virtualbox builders ( #9788 )
2020-08-20 15:43:38 +02:00
Sylvia Moss
a1524bf96a
Add option to also import OVF templates to the Content Library ( #9755 )
2020-08-19 13:20:25 +02:00
Megan Marsh
6307710485
document workaround for upstream bug
2020-08-18 14:12:14 -07:00
Megan Marsh
3b2bedf794
implement a remote_output_directory option, and heavily comment output code
2020-08-18 12:50:00 -07:00
Megan Marsh
d74b47b734
Merge pull request #9777 from hashicorp/fix_9756
...
Add aws_polling config option to override env variables
2020-08-17 10:49:38 -07:00
sylviamoss
1a0d5a93ee
fix max_attempts typo
2020-08-17 17:58:22 +02:00
sylviamoss
788dc32598
add aws_polling config option to override env variables
2020-08-17 17:15:32 +02:00
Wilken Rivera
56f6a976de
integrations/secretsmanager: Add support for plaintext, non key/pair, secrets ( #9773 )
2020-08-17 13:41:21 +02:00
Megan Marsh
d486459a00
Merge pull request #9764 from hashicorp/hcl2_provisioner_override
...
Add override provisioner's option for HCL2
2020-08-14 09:49:34 -07:00
Wilken Rivera
89d57b8635
post-processor/googlecompute-import: Update documentation ( #9767 )
2020-08-14 12:04:44 +02:00
Megan Marsh
086141f9a9
add an hcl example to the docs pipeline ( #9763 )
2020-08-14 11:42:06 +02:00
Megan Marsh
8b4993e44c
fix docs for kms key ids ( #9766 )
2020-08-14 11:35:35 +02:00
sylviamoss
39a8dee4ea
add tests and update override example
2020-08-14 11:22:51 +02:00
sylviamoss
62c3743890
implemet override provisioner's option for hcl2
2020-08-13 19:27:04 +02:00
Megan Marsh
acba3ea3e7
Document network path ( #9762 )
2020-08-13 11:26:40 -04:00
Sylvia Moss
a2277e312f
add inspec provisioner hcl2 examples ( #9761 )
2020-08-13 11:23:56 -04:00
Megan Marsh
29b08e54bc
Merge pull request #9760 from hashicorp/pipeline_with_hcl_docs
...
add hcl docs to pipeline build docs
2020-08-13 07:19:14 -07:00
Megan Marsh
321aa090df
Merge pull request #9746 from jsmcnair/f-vault-function
...
Add vault function for HCL2 and documentation
2020-08-13 07:18:28 -07:00
Megan Marsh
2a80bff8c2
Update website/pages/guides/packer-on-cicd/pipelineing-builds.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-08-13 07:05:26 -07:00
Megan Marsh
b5b28c55fb
update powershell provisioner docs to include HCL examples ( #9759 )
2020-08-13 13:45:30 +02:00
Megan Marsh
87b290ae67
add hcl docs to pipeline build docs
2020-08-12 15:24:47 -07:00
jsmcnair
78c280b1b7
Use common funcs / fix panic / clarify docs
2020-08-12 22:34:13 +01:00
Megan Marsh
54469c4728
Add all of the custom AWS template engines to GeneratedData for use b… ( #9751 )
2020-08-12 10:43:15 +02:00
Wilken Rivera
9d453624ff
Merge pull request #9752 from hashicorp/ansible_local_docs
...
ansible-local hcl docs
2020-08-11 21:11:05 -04:00
Wilken Rivera
956651e711
Merge pull request #9753 from hashicorp/breakpoint_hcl_docs
...
hcl example for breakpoint provisioner
2020-08-11 21:07:38 -04:00
Jean-Francois Panisset
6f8a909cef
Remove more examples of deprecated iso_checksum_type in docs
...
Follow up to remove_iso_checksum_type
Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
2020-08-11 17:29:21 -07:00
Megan Marsh
0aa4d7117d
hcl example for breakpoint provisioner
2020-08-11 16:28:02 -07:00
Megan Marsh
0a3ff3b190
ansible-local hcl docs
2020-08-11 16:20:56 -07:00
Javier Ruiz Jiménez
13d1b50d8a
Remove double-quoted in variable type ( #9747 )
...
The type parameter in a variable definition can't be double-quoted as it is a primitive type keyword or a complex type constructor
2020-08-11 16:33:02 +02:00
Megan Marsh
2ffbe8240f
document that interactive login is not an option for gov clouds ( #9744 )
2020-08-11 15:55:24 +02:00
jsmcnair
8666ebceca
Fix broken header
2020-08-11 09:48:00 +01:00
jsmcnair
33e3f62ff7
Add vault function for HCL2 and document
2020-08-11 09:18:15 +01:00
Megan Marsh
027eb40a97
soften the declaration that vmware and virtualbox require bare metal. ( #9745 )
2020-08-10 20:09:57 -04:00
Megan Marsh
676c3a21bf
Merge pull request #9743 from hashicorp/document_9168
...
add docs note about quoting string variables on the command line
2020-08-10 14:51:56 -07:00
Megan Marsh
4c3912bfdc
add docs note about quoting string variables on the command line
2020-08-10 14:07:20 -07:00
Megan Marsh
c3ba818893
Merge pull request #9741 from hashicorp/on_error_docs
...
add docs to make it explicit that on-error=abort etc are only relevan…
2020-08-10 13:57:34 -07:00
Megan Marsh
5f119a5464
document vsphere role permissions needed to run post-processors.
2020-08-10 11:48:18 -07:00
Megan Marsh
0f399ace57
add docs to make it explicit that on-error=abort etc are only relevant to provisioners, not post-processors
2020-08-10 11:10:37 -07:00
Megan Marsh
c0757a1bba
Merge pull request #9738 from hashicorp/community_pp
...
Add community supported post-processors
2020-08-10 09:24:04 -07:00
Megan Marsh
d3f48622a3
Merge pull request #9726 from acornies/feature/salt-masterless-formulas
...
Feature: salt-masterless formulas
2020-08-10 09:19:49 -07:00
sylviamoss
a447d151bb
add community supported post-processor
2020-08-10 14:09:58 +02:00
Megan Marsh
d826711e7a
File provisioner docs ( #9735 )
2020-08-10 13:15:27 +02:00
Andrew Cornies
a704e1b6b1
Updated formula regexp to support ?ref= syntax.
...
Added formulas docs for salt-masterless provisioner
Signed-off-by: Andrew Cornies <acornies@gmail.com>
2020-08-07 18:38:41 -04:00
Megan Marsh
b72a75278a
Merge pull request #9737 from hashicorp/document_5049
...
add microsoft daemon docs to hyperv docs
2020-08-07 15:08:03 -07:00
Wilken Rivera
ae23f891e1
post-processor/googlecompute-export: Update documentation ( #9727 )
...
* Add markdown generator to post-processor config
* Add HCL2 example
2020-08-07 16:34:38 -04:00
Megan Marsh
69d951d34f
add microsoft daemon docs to hyperv docs
2020-08-07 12:41:59 -07:00
Megan Marsh
fc8346bd27
Merge pull request #9731 from hashicorp/manifast_doc_note
...
Add keep_input_artifact note to the manifest post-processor
2020-08-07 09:12:41 -07:00
sylviamoss
ddd85da1a6
add keep_input_artifact note
2020-08-07 09:00:34 +02:00
Megan Marsh
961d9b4f08
document issue with ansible macros
2020-08-06 14:00:26 -07:00
Megan Marsh
04d7a10aa0
Merge pull request #9714 from hashicorp/fix_9688
...
provide more helpful error message than the one returned by the clien…
2020-08-06 10:54:21 -07:00
Sylvia Moss
78ce1dbde9
Add manifest hcl2 examples ( #9721 )
2020-08-06 13:43:35 -04:00
Megan Marsh
4964c54f60
update docs to state resource id must be fully qualified
2020-08-06 10:41:18 -07:00
Megan Marsh
25f2ec48d3
add network_name option to vmware builder to make it match the network option on the vsphere builder, so vmware users needn't update vmx data just for the network name ( #9718 )
2020-08-06 13:19:55 +02:00