Commit Graph

16631 Commits

Author SHA1 Message Date
jhawk28 89199a4c57
WaitForIP should not return an error if an IP is not found (#10321) 2020-12-02 10:30:42 +01:00
Megan Marsh fab442eb52
Merge pull request #10289 from hashicorp/extract_ui
Untangle packer/packer
2020-12-01 11:27:21 -08:00
Megan Marsh f8bc406306 update changelog 2020-12-01 11:27:03 -08:00
Megan Marsh edbd483917 fix go-getter imports 2020-12-01 10:59:08 -08:00
Megan Marsh 19bdc8b49e fix conflicts 2020-11-30 14:34:20 -08:00
Megan Marsh 0eff73293a fix imports, vendoring, and linting 2020-11-30 14:30:30 -08:00
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK 2020-11-30 14:30:30 -08:00
Megan Marsh f81ed344a2 regenerate code 2020-11-30 14:30:30 -08:00
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk 2020-11-30 14:30:30 -08:00
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk 2020-11-30 14:30:30 -08:00
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk 2020-11-30 14:29:52 -08:00
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk 2020-11-30 14:29:06 -08:00
Megan Marsh 001886670d move Ui definition into the packer plugin sdk. 2020-11-30 14:26:54 -08:00
Megan Marsh 47f623a3a5
Merge pull request #10297 from Direnol/yandex/prepare-user-data
support merge cloud user-data
2020-11-30 14:09:23 -08:00
Megan Marsh a56477c2e4
Merge branch 'master' into yandex/prepare-user-data 2020-11-30 13:57:35 -08:00
Megan Marsh ab8d034818
Merge pull request #10292 from adeniyistephen/newfeature
Fix SSH-Private-Key-File to the vsphere-iso mdx file
2020-11-30 13:41:10 -08:00
adeniyistephen1 5ff59be242 Fix SSH-Private-Key-File to the vsphere-iso mdx file 2020-11-30 13:28:10 -08:00
Megan Marsh 862700b1a5
Merge pull request #10306 from bugfood/fix-attach
allow attaching guest additions without a communicator
2020-11-30 10:58:23 -08:00
Megan Marsh c30a80e63d
Merge pull request #10308 from hashicorp/vsphere_clone_docs_10288
Improve vsphere-clone customization example
2020-11-30 10:36:37 -08:00
Megan Marsh 3bda89467d
Merge pull request #10303 from GennadySpb/yndx-export-wait-and-retries
yandex-export: Add retries and wait after disk attach operation
2020-11-30 10:14:25 -08:00
Megan Marsh f40eab4733
Merge pull request #10305 from Direnol/yandex/fix-verify-service-account-id-in-export
added check of service account id in export
2020-11-30 09:39:33 -08:00
Wilken Rivera d82b9d2072
builder/qemu: Add ok check for state values (#10249)
This changes fixes two crashes in `step_run` that expects certain
information to be in state from prior steps. This change requires
testing to ensure the bugs have been fixed.

I believe there may be more state values that need to be checked as they
may not be put into state if a build configuration has attributes that
would skip or otherwise not put data into the statebag.
2020-11-30 10:40:03 -05:00
Gennady Lipenkov 4c3e310f57 manually trigger udev 2020-11-26 17:29:33 +03:00
Gennady Lipenkov ef67fb1cc8 Some wait before check 2020-11-25 15:45:49 +03:00
sylviamoss 6c410e4d13 improve customization example 2020-11-25 10:50:09 +01:00
Corey Hickey fdb36e329d allow attaching guest additions without a communicator
This avoids the error:
* guest_additions_mode has to be 'disable' when communicator = 'none'.

...when the following are set:
"communicator": "none",
"guest_additions_mode": "attach",

This particular combination of parameters is valid; for example, in my
case, a kickstart post-install script mounts the CD image from /dev/sr1
and runs the installer, without needing any intervention from packer
itself.

From my reading of the documentation, it appears that the "upload" mode
would indeed require a communicator, so I change the logic to check for
that specifically.
2020-11-24 15:46:14 -08:00
Roman Mingazeev 677c48d294 add record to changelog 2020-11-24 20:07:52 +03:00
Roman Mingazeev a509781a03 added check of service account id in export 2020-11-24 20:04:37 +03:00
Gennady Lipenkov 138e3a081b Add retries and wait after disk attach operation 2020-11-24 19:15:46 +03:00
Adrien Delorme 73b7499811
HCL2: version block: test validation & document version/availability (#10298)
* HCL2: Test that the packer block passes in packer validate

* HCL2: Test invalid packer blocks are invalid

* docs: state from which version the packer block is available
2020-11-23 10:27:26 -05:00
Roman Mingazeev 937e3425e5 add changelog record 2020-11-23 17:46:18 +03:00
Roman Mingazeev 2b8fcead23 support shellscript 2020-11-23 17:15:12 +03:00
Roman Mingazeev 0101eb1bb1 support merge cloud user-data 2020-11-23 13:19:50 +03:00
Adrien Delorme c5da8c5c37
Fix salt-masterless provisioner after merge conflict compilation error (#10296)
This is most likely due to the merge between #10291 and #10257 ( that moves WindowsOSType into guestexec.

This fixes #10291
2020-11-23 10:29:12 +01:00
Megan Marsh b50fe930e5
fix retries (#10290) 2020-11-23 09:39:17 +01:00
Megan Marsh 5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
Feat (builder/oracle-oci): support image launch mode
2020-11-20 15:53:18 -08:00
Megan Marsh 7141dcfecb
Merge pull request #10201 from davewoodward/feature/windows-package-manager
Add calls to winrepo.update_git_repos and pkg.refresh_db
2020-11-20 15:48:42 -08:00
Megan Marsh f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
amazon-ebs: log state details on change
2020-11-20 15:31:40 -08:00
Megan Marsh 10c1b638b6 fix spaces vs tabs in formatting from github commit resolution 2020-11-20 15:24:43 -08:00
Megan Marsh 392cdc5fe4
Merge pull request #10199 from aleksandrserbin/feature/aws-ebs-io-validation
amazon-ebs: validate IOPS ratio
2020-11-20 15:23:59 -08:00
Megan Marsh ba1e60ff35
Update builder/amazon/common/block_device_test.go 2020-11-20 15:15:39 -08:00
Megan Marsh b3401b4f4d
Merge branch 'master' into feature/aws-ebs-io-validation 2020-11-20 15:09:22 -08:00
Megan Marsh 6bf4e89615
Merge pull request #10181 from remyleone/profile
scaleway: use the SDK functions to load profile from file and env
2020-11-20 15:06:50 -08:00
Megan Marsh 01f6763db0 fix generation 2020-11-20 14:53:08 -08:00
Megan Marsh e34248a45d
Merge pull request #10172 from anish/gcpshieldedvms
Add support for creating shielded VMs to GCP
2020-11-20 14:46:51 -08:00
Megan Marsh 8ec7ee0ab7
Merge pull request #10093 from ufukty/digitalocean-connect-with-private-ip
Adds the capability of provisioning with private ip for digitalocean
2020-11-20 14:33:03 -08:00
Megan Marsh 60e62bbb51
Merge pull request #10287 from hashicorp/implement_9990
Add configuration options to add additional storage to a cloned vm
2020-11-20 13:34:56 -08:00
Megan Marsh 030f40a7b6
Merge pull request #10286 from hashicorp/hcl2template_extraction
move hcl2template kv types into the config/custom_types
2020-11-20 12:48:26 -08:00
Megan Marsh 779661bee6
Merge pull request #10285 from hashicorp/fix_generate_errors
Fix generate errors
2020-11-20 10:36:22 -08:00
sylviamoss 99e7ac5f42 fix test and generated code 2020-11-20 17:15:47 +01:00