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
Adrien Delorme
3fb7ddf509
Update provisioner.go
2020-07-07 11:52:08 +02:00
Adrien Delorme
12c9959db2
Revert "null builder: say that we are returnin the ID value"
...
This reverts commit 8e923977f0
.
2020-07-07 11:46:43 +02:00
Adrien Delorme
d84d956e36
add language coment !
2020-07-07 11:43:13 +02:00
Adrien Delorme
a15ad19411
test builds can be 'excepted'
2020-07-07 11:41:24 +02:00
Adrien Delorme
c1c8b8d22a
complete -> recipes
2020-07-07 11:31:19 +02:00
Adrien Delorme
34ff3d0c8f
hcl2 GetBuilds: use packer.BuilderDataCommonKeys to avoid forcing all builders to return exactly what they will return
...
It would have been a bit nicer if all builder were more specific in order for hcl to tell wether a value will be set during the first prepare time but that also totally works !
2020-07-07 11:29:27 +02:00
Adrien Delorme
ab54f48247
add BuilderDataCommonKeys var to see what common keys a builder can return
2020-07-07 11:28:07 +02: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
Wilken Rivera
b02a2b1c27
Merge pull request #9537 from geofftrojans/import-image-retry
...
Adding retry for ImportImage call in amazon-import post-processor.
2020-07-06 15:18:40 -04:00
Adrien Delorme
10e5d952ac
unquote 'cooking...'
2020-07-06 18:08:51 +02:00
Adrien Delorme
0475b0529d
tests: fix line endings in windows
2020-07-06 17:58:22 +02:00
Adrien Delorme
0deaa5d2a5
add a complete tests for builder variables + only/except
2020-07-06 17:01:55 +02:00
Adrien Delorme
8e923977f0
null builder: say that we are returnin the ID value
2020-07-06 16:53:06 +02:00
Geoff Schultz
8010a23b34
Adding retry for ImportImage call in amazon-import post-processor.
2020-07-06 09:41:13 -05:00
Adrien Delorme
0293f69fa1
default build values to be unknown
2020-07-06 16:07:46 +02:00