Adrien Delorme
125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. ( #9622 )
...
* core: Decode when in HCL2 decoding mode; reset the whole struct before preparing it.
* HCL2: add path variables + docs & tests
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-07-23 09:25:07 +02:00
Megan Marsh
ec5a2b87af
Merge pull request #9619 from piggona/master
...
builder/tencent: add key source_image_name to get source image by name when creating image.#9548
2020-07-22 10:29:30 -07:00
Chris Chilvers
67494ff45b
update IAP docs to include WinRM
2020-07-22 17:34:45 +01:00
Megan Marsh
6e7618ca1a
Merge pull request #9608 from hashicorp/amazon-inline-docs-hcl
...
add tabs to generated docs from access_config and run_config structs
2020-07-21 16:34:49 -07:00
Megan Marsh
eb27023e4c
add HCL and artifice examples to vagrant postprocessor docs ( #9606 )
2020-07-21 11:30:11 +02:00
Megan Marsh
91775b8875
update docstring ( #9617 )
2020-07-21 11:28:01 +02:00
piggona
485b2b3bd5
run make generate
2020-07-21 11:03:50 +08:00
Megan Marsh
6077a9174a
Merge pull request #9607 from hashicorp/amazon_hcl_docs
...
Amazon hcl docs
2020-07-20 18:11:51 -07:00
Megan Marsh
3897865f3f
Update website/pages/docs/builders/amazon/ebs.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 18:02:31 -07:00
Megan Marsh
6bb23eeb0e
Update website/pages/docs/builders/amazon/index.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:59:22 -07:00
Megan Marsh
f389f1eebc
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:58:05 -07:00
Megan Marsh
faa7bc0dc1
Update website/pages/docs/builders/amazon/ebs.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:57:52 -07:00
Megan Marsh
4a8f6c118e
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:57:11 -07:00
Megan Marsh
e811967a72
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:56:41 -07:00
Megan Marsh
36da3374f3
Docs: Add HCL examples to docker-import postprocessor docs ( #9604 )
...
* add hcl to docker-import postprocessor docs
* Update website/pages/docs/post-processors/docker-import.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 16:57:48 +02:00
Megan Marsh
6439ebff22
docs: Add HCL2 code examples to shell-local provisioner and post-processor. ( #9602 )
...
* get start on shell-local postprocessor
* HCL2 tabs for shell-local pp
* shell local provisoner hcl examples
2020-07-20 16:55:56 +02:00
Adrien Delorme
810f161d22
builder/amazon/common/block_device.go: replace tabs with words
2020-07-20 16:34:13 +02:00
Adrien Delorme
966b17d2b5
builder/amazon/common/access_config.go: replace tabs with words
2020-07-20 16:31:23 +02:00
Adrien Delorme
5c4901c2c2
builder/amazon/common/run_config.go: replace tabs with words
2020-07-20 16:28:14 +02:00
Adrien Delorme
1455a29f2b
remove tabs for security_group_filter too
2020-07-20 16:24:47 +02:00
Adrien Delorme
191094edcc
better `disable_stop_instance` docs
2020-07-20 16:21:43 +02:00
Adrien Delorme
fd6be7f279
better/simpler `pause_before_connecting` example
2020-07-20 16:03:40 +02:00
Megan Marsh
530f5e3f63
more additions to partials
2020-07-17 15:52:11 -07:00
Megan Marsh
f245ff4e34
add hcl example for session manager
2020-07-17 15:28:33 -07:00
Megan Marsh
a1651977b3
add tabs to generated docs from access_config and run_config structs
2020-07-17 15:10:55 -07:00
Megan Marsh
19089bd074
upate standalone docs examples in amazon index file
2020-07-17 13:59:51 -07:00
Megan Marsh
51bc7da964
add hcl examples to all standalone code examples in the amazon-chroot page
2020-07-17 13:32:09 -07:00
Megan Marsh
0bb4bf92da
validate and hcl examples to all standalone examples in the EBS docs
2020-07-17 12:59:27 -07:00
Megan Marsh
0883e185a2
Merge pull request #9594 from GennadySpb/yndx-image-min-disk-size
...
yandex: Add new property 'min_disk_size' of built image
2020-07-17 09:31:48 -07:00
Megan Marsh
e6130afce6
Merge pull request #9601 from GennadySpb/yndx-import-pp-url-input
...
yandex-import: support work with URL from yandex-export pp
2020-07-17 09:11:25 -07:00
Megan Marsh
9f34241b5c
Merge pull request #9597 from romantomjak/multiqueue-net-option
...
builder/proxmox: add support for multiple NIC packet queues
2020-07-17 09:07:04 -07:00
Gennady Lipenkov
29a6687475
Separate workflow for file on disk and prepared URL
2020-07-17 01:09:49 +03:00
Gennady Lipenkov
5c8186d08c
Tiny update yandex-export PP doc
2020-07-17 00:58:19 +03:00
Roman Tomjak
b0d8f69bda
tweak docs
2020-07-16 18:03:46 +01:00
Roman Tomjak
adf1e29459
update docs
2020-07-16 17:36:18 +01:00
Gennady Lipenkov
03a0bf26f2
Rename config key name
2020-07-16 17:29:45 +03:00
Gennady Lipenkov
9c565a97c0
Add new property 'min_disk_size' of built image
2020-07-16 17:10:22 +03:00
Megan Marsh
c0270c9f19
Merge pull request #9587 from romantomjak/disable-kvm-flag
...
Add option to disable KVM hardware virtualization in proxmox builder
2020-07-15 15:23:09 -07:00
Roman Tomjak
ebdf1c3d53
update proxmox docs to include disable_kvm flag
2020-07-15 18:51:36 +01:00
Megan Marsh
8bb2cb44c0
rename launch timeout to launch wait
2020-07-15 10:24:55 -07:00
Megan Marsh
6e9eaa1edd
generate code
2020-07-15 10:20:50 -07:00
Megan Marsh
cf5537d5d2
Merge pull request #9565 from mk0x9/docker/builder-add-runner-params
...
builder/docker: runner support for --cap-add, --cap-drop, --tmpfs, --device
2020-07-15 10:16:13 -07:00
Megan Marsh
cf0646b2ab
Merge pull request #9586 from jl2501/patch-1
...
Update fix.mdx
2020-07-15 09:59:05 -07:00
jl2501
5c3b747fea
Update fix.mdx
...
trivially minor typo: omission of "out" when referring to "standard out"
2020-07-15 12:39:43 -04:00
Michael Kuryshev
37d0f48599
builder/docker: reference to docker docs regarding capabilities
2020-07-15 03:04:13 +02:00
Megan Marsh
a414e7cdb9
convert relative to absolute path in prepare
2020-07-14 15:59:53 -07:00
Michael Kuryshev
6e77d9d3a9
builder/docker: runner support for --device
2020-07-14 10:37:44 -07:00
Michael Kuryshev
791a86c45e
builder/docker: runner support for --cap-add, --cap-drop, --tmpfs
2020-07-14 10:34:10 -07:00
Megan Marsh
aa4933c28a
Merge pull request #9574 from jhawk28/vsphere_usb_controllers
...
(vsphere) add ability to add a xhci/usb3 controller
2020-07-14 10:09:33 -07:00
Sylvia Moss
3a0dfa1259
add option to destroy vm after deploy to content library ( #9569 )
2020-07-14 10:07:20 +02:00
Joshua Foster
b0fa05704a
change usb controllers to a list. add ability to set as a usb3
...
Closes #8874
2020-07-13 20:54:46 -04:00
Jonathan Neal
d8b67f8520
📌 Hard Pin Website Dependencies ( #9543 )
...
* Update and pin dependencies
* Update NextJS Scripts
* npm run lint
* npm run format
* docs generator: indent docs by two and make spacing better
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-13 12:33:16 +02:00
Roger Hu
28f8241a05
update generated files
2020-07-10 16:58:06 -07:00
Moss
921078ccc0
add force_bios_setup configuration option
2020-07-10 12:30:22 +02:00
jhawk28
ae5156a70d
add ability to define multiple disk controllers ( #9519 )
2020-07-10 12:25:46 +02:00
Sylvia Moss
9c1409dbba
Add content_library_destination to import VM template to a Content Library ( #9551 )
2020-07-10 11:01:10 +02:00
Megan Marsh
e1e37ad025
Merge pull request #9555 from yandex-cloud/yandex-export-templating
...
yandex-export: templating
2020-07-09 15:50:04 -07:00
Megan Marsh
c5d34f3f7b
add note about versioning to vsphere builder docs
2020-07-09 14:46:35 -07:00
Gennady Lipenkov
d83d2b0273
Update documentation
2020-07-09 17:43:11 +03:00
GennadySpb
22af3f2fd0
Update website/pages/docs/post-processors/yandex-export.mdx
...
Update doc example
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
b02401c41b
Update doc and example.
2020-07-09 16:21:21 +03:00
GennadySpb
919b54f4f4
yandex-export: tiny improvements ( #9554 )
2020-07-09 10:46:51 +02:00
Megan Marsh
d5c40fb0a2
Merge pull request #9550 from hashicorp/unmaintained-plugins-note
...
Add note for unmaintained community-supported plugins
2020-07-08 16:46:36 -07:00
Gennady Lipenkov
e5a4155378
Update doc
2020-07-09 00:24:53 +03:00
Gennady Lipenkov
5b8911ee7d
remove angle brackets
...
fix documentation build process
2020-07-08 23:13:14 +03:00
Gennady Lipenkov
64cda51bff
Image name not required attr
2020-07-08 23:01:25 +03:00
Gennady Lipenkov
32b77f3b80
Update doc pages
2020-07-08 22:54:20 +03:00
Gennady Lipenkov
cc1605fe94
Add init doc
2020-07-08 22:01:52 +03:00
Wilken Rivera
652d2a4e9e
Add note for unmaintained community-supported plugins
...
This change borrowed from Terraform's [archived provider
documentation](https://www.terraform.io/docs/internals/archiving.html )
adds a documentation partial that can be applied to any provisioner
plugin that is not actively maintained by Packer or the community. A
call to action for anyone interested in supporting the plugin has been
added to the Packer README until a better location is made available.
* Mark the salt-masterless plugin as unmaintained
2020-07-08 07:24:03 -04:00
Wei Cheng
e5606d483d
builder/googlecompute: add support for oslogin ( #9339 )
...
* feat: add support for oslogin
Signed-off-by: Wei Cheng <calvinpohwc@gmail.com>
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-08 06:30:25 -04:00
Sylvia Moss
268e95364f
Adds vApp properties config and save public ssh key to a vApp property ( #9507 )
2020-07-08 10:33:45 +02:00
Megan Marsh
673858a63c
Merge pull request #9513 from hashicorp/undocument_ssh_temp_key
...
Undocument ssh options not used by all builders
2020-07-07 14:26:21 -07:00
Wilken Rivera
892413b7ea
docs/builder/vsphere-iso: Add documentation for BootConfig ( #9538 )
...
* docs/builder/vsphere-iso: Add documentation for BootConfig
* Add documenation for http_ip
* Remove duplicate build configuration section
2020-07-07 13:57:51 -04:00
Wilken Rivera
eeb6f017bd
Merge pull request #9505 from hashicorp/f-googlecompute-wrap_startup_script-option
...
builder/googlecompute: Add WrapStartupScriptFile configuration option
2020-07-07 13:17:02 -04:00
Lyle Franklin
a4d1afb83a
Add 'cdrom_interface' option to QEMU builder ( #9483 )
...
- This option allows the user to select the interface type for the CDROM
drive, e.g. `virtio-scsi`, rather than the default `virtio`
- Background: Installation of Ubuntu 20.04 on ARM64 fails as it can't mount the
installation CDROM. While the default `virtio` CDROM fails, setting
`cdrom_interface: virtio-scsi` with this PR succeeds. Some links:
- ISO link: http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-arm64.iso
- https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1605407
- https://superuser.com/a/1376628/230508
2020-07-07 16:22:30 +02:00
Wilken Rivera
4462c0b5ab
builder/googlecompute: Add WrapStartupScriptFile configuration option
...
By default the Google builder will wrap any provided startup script file
in order to track its execution via custom metadata. The wrapper script
can add a bit of complexity to the start script file so a new option is
being added `wrap_startup_script`. This option allows a user to disable
the script wrapping and just let GCE do its own thing when executing a
startup script.
2020-07-07 07:08:09 -04:00
Megan Marsh
93cd7e40bc
add note about ansibles configuration powershell script in our docs ( #9526 )
...
* add note about ansibles configuration powershell script in our docs
* Update website/pages/docs/provisioners/ansible.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-06 15:23:29 -04:00
Megan Marsh
6095fb2a62
Merge pull request #9515 from jhawk28/vsphere_tools_fix
...
fix vsphere ToolsSyncTime and ToolsUpgradePolicy
2020-07-02 14:19:41 -07:00
Jonathan Neal
4a669e829c
Update package-lock.json
2020-07-02 14:25:09 -04:00
Jonathan Neal
01f93d8adb
Bump internal hashicorp dependencies
2020-07-02 14:25:09 -04:00
Moss
d060cc9ef2
create partials for each ssh key pair related config
2020-07-02 15:18:08 +02:00
Moss
8ea64c5b35
undocument ssh_keypair_name and ssh_agent_auth
2020-07-02 14:55:58 +02:00
Adrien Delorme
3d371a2d5d
Add complete HCL2 examples + allow to name a singular build.source blocks ( #9490 )
...
* in the examples/hcl folder
* add possibility to name singular build.source blocks to differentiate their output and to filter on them
2020-07-02 11:07:59 +02:00
Megan Marsh
445cf12b65
Merge pull request #9489 from ad-m/hyperone-freebsd
...
builder/hyperone: Allow skip chroot device discovery
2020-07-01 15:48:03 -07:00
Joshua Foster
63f9282f5c
fix vshere ToolsSyncTime and ToolsUpgradePolicy
2020-07-01 13:58:50 -04:00
Moss
41edd09d3c
undocument temporary_key_pair_name and ssh_private_key_file
2020-07-01 16:33:18 +02:00
Roman Tomjak
212200c88f
Proxmox NIC firewall flag ( #9487 )
...
* add test for firewall toggle
* generate hcl config
* send firewall toggle to proxmox
* update docs
* drop the pointer to bool
* use setDeviceParamIfDefined
2020-06-30 11:04:19 +02:00
Kevin Pruett
4f59693be8
Add Algolia indexing to CI
2020-06-29 15:43:35 -04:00
Sylvia Moss
99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables ( #9444 )
2020-06-29 13:44:57 +02:00
Neil Kidd
c9d546a7ea
Fix broken external link ( #9496 )
2020-06-29 11:02:37 +02:00
Adam Dobrawy
4692cdd55c
builder/hyperone: Allow skip chroot device discovery
2020-06-26 15:04:08 +02:00
Adrien Delorme
c2975140cf
HCL2: allow to use keep_input_artifact in post processors ( #9477 )
...
* HCL2: allow to use keep_input_artifact in post processors
* add basic test
* add docs
2020-06-25 09:36:48 +02:00
mingsheng.su
8a8abdf615
update ucloud-uhost builder ( #9466 )
...
* update ucloud-uhost builder, docs and deps
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-06-24 14:31:05 +02:00
Ivo van Geel
e54ad3f1fb
Add boot_command support to vsphere-clone builder, including support … ( #9397 )
2020-06-24 11:14:30 +02:00
Megan Marsh
3476637262
remove old line about windows docker support
2020-06-23 09:54:17 -07:00
Wilken Rivera
a8dfb66d6c
docs/builder/amazon: Add WinRM unsupported note to Session Manager docs
...
Closes #9451
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-06-23 07:41:21 -04:00
Adrien Delorme
fb337f8867
hcl work on only/except ( #9454 )
...
* HCL2: allow to skip a named build block too
* test that excepting a build block works
* test only on a named build block
* add/update docs
2020-06-23 10:53:16 +02:00
Adrien Delorme
b2320ca911
HCL2: add singular run_volume_tag block to ebs & ebssurrogate builders ( #9457 )
...
close #9280
related to #8889
2020-06-23 10:49:50 +02:00
Megan Marsh
a96194081a
Merge pull request #9453 from hashicorp/fix_ssh
...
Allow users to provide a list of ciphers that they want Packer to support.
2020-06-18 11:58:53 -07:00
Wilken Rivera
aa91ef7edf
Merge pull request #9455 from hashicorp/fix_9393
...
docs/builder/google: Add note about boolean values for compute instance metadata
2020-06-18 13:05:30 -04:00