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
2a01e69e95
Merge pull request #9560 from hashicorp/document_vsphere_support_versions
...
add note about versioning to vsphere builder docs
2020-07-09 15:46:46 -07:00
Megan Marsh
b7f1aedf96
Merge pull request #9556 from hashicorp/fix_9107
...
Match network to host when multiple networks are found
2020-07-09 14:52:32 -07:00
Megan Marsh
f240d2a62c
Merge pull request #9557 from jhawk28/bug_9547
...
unset HardwareConfig.Firmware for vsphere-iso
2020-07-09 14:49:38 -07:00
Megan Marsh
c5d34f3f7b
add note about versioning to vsphere builder docs
2020-07-09 14:46:35 -07:00
Megan Marsh
c768c9bde5
Merge pull request #9552 from sw-fastec/hyper-v-secure-boot-template
...
Include Hyper-V secure boot template in box.xml
2020-07-09 14:02:06 -07:00
Gennady Lipenkov
d83d2b0273
Update documentation
2020-07-09 17:43:11 +03:00
Joshua Foster
765d96e8eb
unset HardwareConfig.Firmware since CreateConfig.Firmware configures the firmware in StepCreateVM
2020-07-09 10:34:48 -04:00
Moss
b74e28a479
match network to host when multiple networks are found
2020-07-09 15:59:15 +02: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
GennadySpb
446d259459
Update post-processor/yandex-export/post-processor.go
...
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
Gennady Lipenkov
5762367de1
Provide 'GeneratedData' value for step 'StepCreateInstance'
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
099dd3e7b3
Validate and render 'paths' config value
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
378c9746fa
Fill up build variables (aka `generated_data`)
...
See description at https://packer.io/docs/extending/custom-builders#build-variables
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
4cd1950cd0
fix typo
2020-07-09 16:21:21 +03:00
Wilken Rivera
1739491791
Update README
...
* Fix typos in unmaintained plugins section
2020-07-09 06:39:29 -04: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
Megan Marsh
e08c1a461a
Merge pull request #9553 from GennadySpb/yandex-import-post-processor
...
[WIP] Yandex Import post-processor
2020-07-08 16:25:08 -07:00
Gennady Lipenkov
e5a4155378
Update doc
2020-07-09 00:24:53 +03:00
Gennady Lipenkov
dd1ffe831a
Add changelog record
2020-07-08 23:57:12 +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
Megan Marsh
4d3b2cea96
Merge pull request #9480 from adongy/master
...
aws: retry fetching blockdevicemapping if empty
2020-07-08 12:32:12 -07:00
Gennady Lipenkov
409534738a
Add error check
2020-07-08 22:22:55 +03:00
Gennady Lipenkov
8c1edc2846
Add record to CODEOWNERS
2020-07-08 22:01:52 +03:00
Gennady Lipenkov
553d203e68
Add yandex-import post-processor
2020-07-08 22:01:52 +03:00
Gennady Lipenkov
cc1605fe94
Add init doc
2020-07-08 22:01:52 +03:00
Gennady Lipenkov
420beb333b
make inner image accessible from other packages
2020-07-08 22:01:52 +03:00
Megan Marsh
a885e620ee
don't error for no mappings if no mappings were set.
2020-07-08 11:55:56 -07:00
Stephan Wild
de53439fcf
Merge remote-tracking branch 'upstream/master' into hyper-v-secure-boot-template
2020-07-08 19:16:33 +02:00
Wilken Rivera
d581c82748
Update copy for folks interested in maintaining a plugin
2020-07-08 12:25:25 -04:00
Stephan Wild
061dbecd61
Include Hyper-V secure boot template in box.xml
2020-07-08 18:23:19 +02:00
Wilken Rivera
371be8775d
update CHANGELOG
...
* Adds backwards incompatibility note to 1.5.5 for variable interpolation fix of undefined variables.
2020-07-08 08:03:19 -04:00
Wilken Rivera
29ce804392
update CHANGELOG
2020-07-08 08:00:24 -04: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
Megan Marsh
d4a7dd24d9
fix link in deprecation warning ( #9544 )
2020-07-08 11:59:39 +02: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
Joshua Foster
a6170b0c35
clean up folder path so that it is what vsphere expects
2020-07-07 12:25:14 -04:00
Adrien Delorme
03d29386dd
fix error message typo ( #9541 )
2020-07-07 16:50:15 +02: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
Adrien Delorme
741a6e4182
HCL2 only: Make provisioners and post-processors reprepare themselves with build data ( #9534 )
...
#9444 allows to share builder infos with provisioners and post-processor by re-starting new provisioners and post-processors once the build has started; #9490 allows to 'excpect/only' on a full build blocks (after naming a block), merged together, the tests of #9490 fail. This means we would have to reimplement the only/except logic. While this could have worked, re-using the already started provisioners and post-processor for HCL2 is better/simpler IMO as we won't have to maintain a feature parity.
Also with HCL2 and go-cty all struct ( here provisioner/post-processor) fields are set at the moment of configuring so we should not get weird 'default value' behaviour issue.
This PR reverts some parts of #9444 and implement #9444 in a different manner: I created specific HCL2Provisioner and HCL2PostProcessor structs that both re-prepare themselves right before provisioning. I think this makes the code a little simpler and lays a nice ground for improvement.
2020-07-07 12:10:02 +02:00
Adrien Delorme
b0238e6f4a
Update build_windows_test.go
2020-07-07 12:00:36 +02:00