sangkyu.kim
cdcdf6a618
fix checking subnet type
2021-03-31 18:22:22 +09:00
sangkyu.kim
74434b3c3e
create temporary ACG for VPC
2021-03-31 15:15:57 +09:00
Sylvia Moss
349a300213
Add new disk to existingDevices list ( #10844 )
...
* add new disk to existingDevices list
* add tests
2021-03-30 14:48:06 -04:00
Megan Marsh
dfc5d76108
Merge pull request #10833 from harveylowndes/add-oci-flex-shape-support
...
Support OCI flexible shapes
2021-03-30 10:11:47 -07:00
sangkyu.kim
3a11352dfa
Fix ncloud builder unhandled buildvar type
2021-03-30 13:59:59 +09:00
sangkyu.kim
f044a64014
fix test code
2021-03-29 22:51:04 +09:00
sangkyu.kim
cd370aaaad
implement vpc environment
2021-03-29 22:51:04 +09:00
Harvey Lowndes
b9b1cdf75f
Address review comments
2021-03-29 12:57:10 +01:00
Harvey Lowndes
cb359e8064
Update OCI docs for flex shapes
...
Update the docs to reflect flex shape additions. Also makes a fix to the mapstructure.
2021-03-26 12:26:52 +00:00
Sylvia Moss
505cbd2591
Vendor amazon plugin ( #10800 )
...
* remove amazon from core
* vendor amazon plugin
* remove website content
* Add amazon to docs-remote-plugins
* update amazon reference links in the documentation
* update amazon docs version to latest
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2021-03-25 13:37:48 +01:00
Adrien Delorme
7732f7998c
Add http_content func to serve variables from HTTP @ preseed ( #10801 )
...
This imports hashicorp/packer-plugin-sdk#43
* code generate things
* update docs
* update guides
* update examples
We want to add a new guide.
2021-03-23 12:31:13 +01:00
Taylor Dolezal
1bb5c455aa
Update 'Hashicorp' to 'HashiCorp'
2021-03-22 11:05:42 -07:00
Marcus Weiner
4d9fb629c6
Allow using API tokens for Proxmox authentication ( #10797 )
2021-03-22 11:48:31 +01:00
outscale-mgo
1e312ebc21
Fix description that was ignored in Osc builder ( #10792 )
...
Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
2021-03-22 09:05:10 +01:00
Avi Miller
e6596a0a1d
[oracle-oci] Add support for E3/E4.Flex shapes
...
This addes an optional shape_config stanza which allows
you to specify how many ocpus and memory the Flex
instance should be allocated.
This required an upgrade of the OCI Go SDK version.
Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-03-21 12:46:21 +11:00
Andrew Pryde
a915ec8e05
Upgrade oci-go-sdk to latest
2021-03-20 02:16:17 +00:00
Brian Farrell
80f807de4d
Fix issue with test breaking default value when client_cert_token_timeout is missing ( #10783 )
2021-03-19 15:17:41 +01:00
jhawk28
9f647ba2bb
try to retype key if an error is received ( #10541 )
2021-03-19 13:27:05 +01:00
Adrien Delorme
d5ccf73e91
oci builder: Show key_file errors ( #10774 )
2021-03-19 11:59:10 +01:00
Ace Eldeib
3227d3da43
clean up azure temporary managed os disk ( #10713 )
...
* clean up temporary managed os disk
* improve message for skipping disk deletion
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
* re-arrange osdisk/additional disk cleanup
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
* remove additional disk cleanup
* add some validation on scenarios
* alway clean up resources inside template cleanup
* tidy to master
* clarify naming and comments
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
* test: add acceptance testing for azure cleanup
* revert template changes
* fix err check
* delete resources in parallel with retry to avoid serial deletion
* nit: improve log message for transient deletion errors
* fix: typo
* remove unused func to make lint happy
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-03-18 12:09:57 -04:00
Sylvia Moss
d0737dcd17
skip DownloadPathKey and ShouldUploadISO on mapstructure-to-hcl2 ( #10772 )
2021-03-17 14:26:38 +01:00
Kyle
33cf6bf454
Fix logic for checking for KMS keys ( #10754 )
2021-03-15 11:37:13 +01:00
Megan Marsh
44f0be2314
Merge pull request #10748 from hashicorp/fix_virtualbox_winrmhost
...
make Packer respect winrm_host flag in virtualbox connect func
2021-03-11 16:41:37 -08:00
Thomas Dreibholz
1a5678dd86
Added VirtualBox ISO builder option to create additional disks ( #10674 )
2021-03-11 16:09:30 +01:00
Megan Marsh
e8b3a0e3bf
make virtualbox, hyperv, openstack, and parallels builders respect winrm_host by correctly passing communicator config Host() func to commhost instead of just SSHHost
2021-03-10 15:36:19 -08:00
Megan Marsh
8bb3df7121
modify logging to make overrides clearer in face of vagrant always streaming to stdout. Add tests for config override. Make sure that user overrides of ssh_host and ssh_port are respected.
2021-03-09 16:40:49 -08:00
Megan Marsh
d2ec658e78
Merge pull request #10724 from jkl73/image-project-update
...
Update public GCP image project as gce-uefi-images is be deprecated
2021-03-09 14:42:03 -08:00
Wilken Rivera
3ac5046260
Merge pull request #10727 from tasha-marreiros/feature/gcp-windows-password-timeout-#10717
...
#10717 make googlecompute windows password timeout configurable
2021-03-09 09:40:51 -05:00
Tasha Marreiros
8c18f8fa6d
amend email
2021-03-09 09:01:07 +00:00
Thomas Dreibholz
4f2f9f8a1e
Formatting fix.
2021-03-08 12:37:00 +01:00
Thomas Dreibholz
68f810891f
Ran "make generate".
2021-03-08 12:29:00 +01:00
Thomas Dreibholz
be8b2968bd
Added options for VRAM size, 3D acceleration and EFI screen size.
2021-03-08 12:29:00 +01:00
Thomas Dreibholz
4c9f3eb9ca
Added options for nested virtualisation and RTC time base.
2021-03-08 12:29:00 +01:00
Megan Marsh
a5b0e37d7e
docker extraction POC
2021-03-05 15:33:34 -05:00
Forrest C. Shields II
9df637d1f3
Fix syntax in BlockDevice JSON example ( #10719 )
...
* Fix syntax in BlockDevice JSON example
Keys must be quoted in JSON.
* Update comment to match generated docs
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-03-04 10:33:42 -05:00
Jiankun Lu
22cb31cb7b
Update public GCP image project as gce-uefi-images is be deprecated
2021-03-03 16:12:25 -08:00
Wilken Rivera
10a5b0e7d8
Update HCL source example block ( #10720 )
2021-03-03 16:15:54 -05:00
Thomas Dreibholz
c5df930437
Added firmware option for QEMU builder ( #10683 )
2021-03-02 11:56:28 +01:00
Brian Farrell
273a720440
Add client_cert_token_timeout to address GH-9465 ( #10528 )
2021-03-02 11:51:18 +01:00
Megan Marsh
96b753f3b0
pin packer to golang 1.16 ( #10702 )
...
* pin packer to golang 1.16
* vet command/build_cancellation_test.go
2021-03-02 11:43:58 +01:00
Alvaro Miranda Aguilera
eea215adf9
Update VBoxManageConfig-not-required.mdx ( #10707 )
...
replace indentation with spaces
2021-03-01 11:06:18 +01:00
Megan Marsh
b4b0df44b4
Merge pull request #9591 from Timdawson264/ebs-volume-snapshot
...
ebsvolume snapshot
2021-02-23 15:47:27 -08:00
Megan Marsh
25920b2bd3
remove unused mock fields
2021-02-23 10:38:15 -08:00
Megan Marsh
74a6c1987c
change name of singular block device in loop to be less confusing; fix snapshot tests
2021-02-23 10:30:55 -08:00
Megan Marsh
160be7e773
refactor aws test tooling so we can apply common test function helpers to ebsvolume tests
2021-02-23 09:24:03 -08:00
Megan Marsh
d398487afd
Merge pull request #10671 from dreibh/dreibh/virtualbox-options
...
More options for the VirtualBox ISO builder
2021-02-22 14:45:19 -08:00
Megan Marsh
822dcf93af
Merge pull request #10543 from arizvisa/GH-10009
...
Added a fallback to both the player and workstation drivers from the vmware builder when trying to determine the network-mapping configuration
2021-02-22 09:34:39 -08:00
Rémy Léone
2967fccfd7
Fix
2021-02-22 14:10:31 +01:00
Rémy Léone
95e8263280
Fix
2021-02-22 12:18:43 +01:00
Rémy Léone
44d19f160a
fix
2021-02-22 12:18:43 +01:00
Rémy Léone
557bffc94a
scaleway: add support for timeout in shutdown step
2021-02-22 12:18:42 +01:00
Megan Marsh
9a11fd4136
Update amazon sdk ( #10668 )
2021-02-22 11:18:48 +01:00
Ali Rizvi-Santiago
c7545c37dd
Fixed an issue identified by @SwampDragons when checking if the networkmapper configuration file exists.
2021-02-21 05:32:30 -06:00
Thomas Dreibholz
2b35873dd9
Formatting fix.
2021-02-20 20:31:09 +01:00
Thomas Dreibholz
8226bc9d9f
Ran "make generate".
2021-02-20 20:23:47 +01:00
Thomas Dreibholz
ffa8b7de8a
Added option for the graphics controller.
2021-02-20 20:21:57 +01:00
Thomas Dreibholz
e9936cf0da
Added option for audio controller.
2021-02-20 20:09:16 +01:00
Thomas Dreibholz
eb4a6f30a0
Added option for NIC type.
2021-02-20 19:59:39 +01:00
Thomas Dreibholz
fa844543ec
Added options for chipset and firmware.
2021-02-20 19:59:06 +01:00
Thomas Dreibholz
7ad99c2c85
Added documentation comments.
2021-02-20 15:09:38 +01:00
Thomas Dreibholz
5385275836
Fixed formatting.
2021-02-20 15:09:38 +01:00
Thomas Dreibholz
591b1c2637
VirtualBox: added support for "virtio" ISO interface.
2021-02-20 15:09:38 +01:00
Thomas Dreibholz
f48d7e3990
VirtualBox: added support for "virtio" storage.
2021-02-20 15:09:38 +01:00
Megan Marsh
c9c65383e9
Merge pull request #10651 from sparshev/vmware_attach_snapshot
...
Added "attach_snapshot" parameter to vmware vmx builder
2021-02-19 15:14:35 -08:00
Taylor Chaparro
317e2da000
azure client sig fix: don't overwrite subscription id if unset ( #10659 )
2021-02-19 11:16:31 +01:00
Tim Dawson
aef74cd059
Fixed up after rebaseing
2021-02-19 14:09:23 +13:00
Sergei Parshev
b3b4559434
Added "attach_snapshot" parameter to vmware vmx builder
2021-02-18 15:16:28 -08:00
Tim Dawson
ac2ce0097c
Fixed formatting
2021-02-19 11:09:55 +13:00
Tim Dawson
ca0b11028e
Started instramenting some functions and building out unit tests for snapshot step.
...
Added some basic config tests.
2021-02-19 11:09:55 +13:00
Tim Dawson
b199ce9a22
Added snapshots to artifacts
...
Increased Snapshot wait timeout
2021-02-19 10:58:03 +13:00
Tim Dawson
3e754c9f3f
Using new Polling config for snapshot step
2021-02-19 10:58:03 +13:00
Tim Dawson
7f0b41bb0e
Refactored SnapshotConfig
...
Added Group and user permission to each snapshot
2021-02-19 10:58:03 +13:00
Tim Dawson
482a2c8232
Adding ebs-volume snapshot creation
2021-02-19 10:06:04 +13:00
Sylvia Moss
201869d627
Update HCL2 and JSON example for amazon builders ( #10645 )
...
* move hcl2 example up over json to amazon-ebs
* switch hcl and json templates for all amazon builders
* fix json format
2021-02-17 10:32:13 +01:00
Megan Marsh
10d32bda6d
Merge pull request #10591 from neumayer/retry
...
Add retry strategies to oci calls
2021-02-16 13:59:26 -08:00
Megan Marsh
80ed988ffe
Hcl2 upgrade fix ( #10625 )
...
* fix random nil pointer dereference I found while debugging hcl2_upgrade issues
* fix hcl2_upgrade command by creating passthroughs for all text template fields
2021-02-15 10:40:21 +01:00
Trond Isak
2c08479825
add AWS API call retries on AMIGetFilteredImage ( #10610 )
2021-02-11 11:58:56 +01:00
Robert Neumayer
50a6732859
Use http constants and use switch instead of if
2021-02-10 16:46:00 +01:00
Calle Pettersson
6c77d28537
proxmox: Fix additional_iso_files ( #10586 )
2021-02-10 10:59:44 +01:00
mflorin
9afaa5a21f
Profitbricks builder fixes ( #10549 )
2021-02-09 16:56:06 +01:00
Robert Neumayer
bcd60c3895
Improve retry policy
2021-02-09 16:16:10 +01:00
Jessi
88c516b2d5
Add IMDSv2 support for AWS EBS builder ( #10546 )
2021-02-09 11:47:54 +01:00
Robert Neumayer
6b947edd04
Add retry strategies to oci calls
...
The oci api returns 429, among others in case a per-user rate limit is
hit. Currently our only mechanism to deal with this is to wait 5s
between the requests that poll for image availability (and export).
With a custom retry strategy we can handle more error situations while
putting less load on the api.
2021-02-09 09:33:43 +01:00
Megan Marsh
ba1ad9ea15
Vsphere example update ( #10574 )
...
* fix ubuntu json template example
* add hcl template example
* add hcl alpine example
* add hcl versions of alpine and macos; update macos json
* add hcl version of windows template, call fix on windows json
2021-02-05 13:21:29 +01:00
Adrien Delorme
ed091163be
HCL2 Parse packer.required_plugins block + packer init ( #10304 )
...
This adds the new `required_plugins` block to be nested under the packer block.
Example:
```hcl
packer {
required_plugins {
aws = {
version = ">= 2.7.0"
source = "azr/aws"
}
azure = ">= 2.7.0"
}
}
```
For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"
+ docs
+ tests
2021-02-02 18:05:04 +01:00
Wilken Rivera
f36554fa0e
Update redirects and URLs to legacy JSON template docs ( #10530 )
2021-01-27 09:08:59 -05:00
Miguel Hernández
782cf058b5
Add 'skip_create_ami' option to the amazon-ebs builder ( #10531 )
2021-01-27 09:00:42 -05:00
Roman Mingazeev
e588029d6a
yandex: some fix ( #10522 )
2021-01-25 12:26:21 +01:00
Megan Marsh
c3266cc3b0
remove indexing from cdrom command and let qemu handle it ( #10519 )
2021-01-25 10:54:41 +01:00
Megan Marsh
37dcf6183c
skip credential validation if we are not exporting an image ( #10520 )
2021-01-25 10:53:51 +01:00
Megan Marsh
3242b7ee10
read iops and throughput as pointers so we can test for the nil case;… ( #10518 )
2021-01-25 10:49:37 +01:00
Megan Marsh
3aab42b770
remove confusing from_scratch reference which is not relevant in this config
2021-01-22 09:36:17 -08:00
Sylvia Moss
3c7944624a
(3) Add amazon-ami data source ( #10467 )
2021-01-20 11:05:03 +01:00
Megan Marsh
ab98409069
Merge pull request #10488 from Direnol/yandex/update-dump-method
...
yandex/update-dump-method
2021-01-19 11:10:33 -08:00
fr123k
056ac4a3ea
Add skip_create_image option to the openstack builder ( #10496 )
2021-01-19 10:43:18 +01:00
Felix Hillingshaeuser
490616a301
Improve cloud init logging for proxmox builder ( #10499 )
2021-01-19 10:28:01 +01:00
Megan Marsh
94e22e6664
Merge pull request #10490 from marinsalinas/master
...
fix: [bsusurrogate] override bsu when omi root device is set
2021-01-15 15:55:23 -08:00
Megan Marsh
a9c4c056c9
Merge pull request #10458 from seventieskid/gcp-on-gitlab-using-docker
...
GCP add timeout to GCP metadata server read
2021-01-15 14:51:28 -08:00
Megan Marsh
1cb9aea752
change markdown references to new pathing
2021-01-15 11:59:36 -08:00
Marin Salinas
170286a427
fix: [bsusurrogate] override bsu when omi root device is set
2021-01-15 09:36:56 -06:00