1391 Commits

Author SHA1 Message Date
Adrien Delorme
2aac5c689e install packer-sdc at the version from deps 2021-11-11 10:57:02 +01:00
Wilken Rivera
db516d39e3 Managed by Terraform: Update config.yml github workflow 2021-11-10 19:01:23 -05:00
Wilken Rivera
e239770de9 Managed by Terraform: Add LICENSE issue template 2021-11-10 19:01:20 -05:00
dependabot[bot]
7d5a91f485 Bump github.com/hashicorp/hcl/v2 from 2.10.0 to 2.10.1
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/hcl/compare/v2.10.0...v2.10.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 12:28:46 +00:00
dependabot[bot]
f27d6ad287 Bump github.com/zclconf/go-cty from 1.8.3 to 1.9.1
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.8.3 to 1.9.1.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.8.3...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 12:28:35 +00:00
Kevin Puetz
81835e0f0d
Restore cleanup of temporary vmware-iso device for iso_path (#42)
This partially reverts commit 048e31aeb6d810f2683dd6a17ab867c3508a8982.

This code was not a mistaken attempt to clean up the device created
for `cd_{files,content}`, as I thought. It was cleaning up the device
(specific to  vmware-iso) on which the {{ .ISOPath }} is mounted.
2021-09-29 13:52:26 +02:00
Adrien Delorme
274f404915 remove dep to packer core 2021-09-02 10:44:47 +02:00
Adrien Delorme
2f27924321 go mod tidy -go=1.17 && go fmt ./... 2021-09-01 13:46:51 +02:00
Adrien Delorme
f5bab353fe update goreleaser path settings 2021-09-01 13:23:26 +02:00
Adrien Delorme
8f71240b27 consolidate version location 2021-08-31 16:02:39 +02:00
Wilken Rivera
1941e745d5 Managed by Terraform: Add LICENSE issue template 2021-08-27 09:00:51 -04:00
Kevin Puetz
048e31aeb6
Fix handling of temporary cdrom devices (#31)
* Track  cdrom in temporaryDevices for step_clean_vmx

There was a previous attempt to do this in step_configure_vmx,
but that only covers vmware-iso (missing potential cases when using
cd_files/cd_content in vmware-vmx) and it had the wrong device name
(would mark <type>0:<primary> as temporary when the device name used
for cd_path is actually <type>1:<primary>

* Fix overwriting an existing cdrom device

ParseVMX/EncodeVMX force the keys to lowercase, so inserting with a
mixed-case key fails to replace existing values, resulting in duplicate
lines and vmware potentially still using the previous filename

* Generalize SkipFloppy to SkipDevices

It's not just floppies, it doesn't make sense to create any new
temporaryDevices in between StepCleanFiles and StepCleanVMX.
2021-08-18 14:29:25 +02:00
Kevin Puetz
e38fb92220
Fix cd_content is ignored (#30)
* Fix cd_content is ignored

This implements support for cd_content
(https://www.packer.io/docs/builders/vmware/vmx#cd_content)
by adding an omitted struct member. Closes #29

* add cd_content test

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-08-09 08:17:11 +02:00
Wilken Rivera
7b40a76923 Managed by Terraform: Update dependabot.yml 2021-07-19 07:44:02 -04:00
Adrien Delorme
ddec809371 setup for next release 2021-06-15 13:12:51 +02:00
Adrien Delorme
941b02d660 Update example/build.pkr.hcl 2021-06-15 12:02:00 +02:00
Adrien Delorme
9c5b880fc5
Cut v1.0.0 (#27) 2021-06-15 11:58:41 +02:00
Adrien Delorme
fa96f1d6aa
go get github.com/hashicorp/packer-plugin-sdk@v0.2.3 && go mod tidy && make generate (#26) 2021-06-04 10:55:30 +02:00
Wilken Rivera
b261c53e74 Add .circleci/config.yml 2021-06-03 13:05:50 -04:00
Wilken Rivera
b8b7bc184f Managed by Terraform: Update config.yml github workflow 2021-06-01 15:50:10 -04:00
Wilken Rivera
143780b955 Managed by Terraform: Add CONTRIBUTING.md issue template 2021-06-01 15:48:56 -04:00
Wilken Rivera
b92c67f95f Delete .github/workflows/pull_request_check.yml 2021-06-01 15:47:15 -04:00
Wilken Rivera
b7a142675e
Merge pull request #23 from hashicorp/td-update-packer-sdk
Update to latest Packer Plugin SDK
2021-05-25 14:59:51 -04:00
Wilken Rivera
907f54f6e4 Update to latest Packer Plugin SDK
```
 go get github.com/hashicorp/packer-plugin-sdk
 go mod tidy
 ```
2021-05-25 11:48:34 -04:00
Sebastian Faul
ccc6c4ebc7
Add Feature: create initial snapshot of VM after clean-up (#21) 2021-05-17 11:01:56 +02:00
Wilken Rivera
2a741cf98f Managed by Terraform: Update release.yml github workflow 2021-05-14 13:51:54 -04:00
Sylvia Moss
fea55ff745
Make hpet default to true (#17)
* default hpet0 to true and add basic example

* update changelog

* goimports fix
2021-05-07 13:30:36 +02:00
Wilken Rivera
98068786a9 Managed by Terraform: Update CODEOWNERS 2021-04-27 09:35:10 -04:00
Megan Marsh
e2ecfd3327
Merge pull request #18 from hashicorp/move-gpg-import-ref
moved gpg reference to hashi fork
2021-04-23 13:03:50 -07:00
Morgan Drake
1a41cb49db moved gpg reference to hashi fork 2021-04-23 11:05:19 -07:00
Wilken Rivera
8434cbc72e Managed by Terraform: Update CODEOWNERS 2021-04-21 04:50:43 -04:00
Wilken Rivera
30e5cd4a0c Managed by Terraform: Add packer team as CODEOWNERS 2021-04-20 17:21:12 -04:00
sylviamoss
e006959f4e update changelog and put on v0.0.2-dev mode 2021-04-19 15:07:13 +02:00
sylviamoss
9bfde5bfaa fix acc tests 2021-04-19 12:06:00 +02:00
Sylvia Moss
b40713ab8e
fix lint issues (#2) 2021-04-16 17:42:44 +02:00
sylviamoss
592c063756 add scripts to fix floppy disk unit test 2021-04-16 17:07:24 +02:00
sylviamoss
7478a9044c Clean up and add multi-component configuration 2021-04-16 16:54:16 +02:00
sylviamoss
3f1a3f3c8e Merge branch 'main' of github.com:hashicorp/packer-plugin-vmware into main 2021-04-16 16:46:48 +02:00
sylviamoss
63252f3ec8 Consolidate docs 2021-04-16 16:44:23 +02:00
sylviamoss
62fff02abb Clean up plugin imports 2021-04-16 16:36:34 +02:00
Adrien Delorme
01d85cec93 Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
* start using `go:generate packer-sdc struct-markdown`

* Update Makefile

remove @go install ./cmd/struct-markdown

* run go generate for struct-markdown

* use //go:generate packer-sdc mapstructure-to-hcl2

* run go generate for mapstructure-to-hcl2

* remove struct-markdown and mapstructure-to-hcl2

* vendor vendors
2021-04-16 11:52:03 +02:00
dependabot[bot]
1e3a2fc924
Bump github.com/hashicorp/packer-plugin-sdk from 0.1.3 to 0.1.4 (#1)
Bumps [github.com/hashicorp/packer-plugin-sdk](https://github.com/hashicorp/packer-plugin-sdk) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/hashicorp/packer-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/packer-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/packer-plugin-sdk/compare/v0.1.3...v0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 10:41:25 +02:00
Megan Marsh
d5c52cf459 Merge pull request #10896 from hashicorp/extract_vsphere
Extract vSphere plugin
2021-04-15 16:30:27 -07:00
sylviamoss
d24c94c90c remove vsphere components and docs 2021-04-15 16:24:57 -07:00
Wilken Rivera
5b11c4ff90 Managed by Terraform: Add bug_report.md issue template 2021-04-14 12:44:49 -04:00
Wilken Rivera
298ba350c7 Managed by Terraform: Add README.md 2021-04-14 12:44:48 -04:00
Wilken Rivera
9cc98ea7ee Managed by Terraform: Add CONTRIBUTING.md issue template 2021-04-14 12:44:42 -04:00
Wilken Rivera
8392bfc9b0 Managed by Terraform: Add feature_requests.md issue template 2021-04-14 12:44:36 -04:00
Wilken Rivera
efad9edc20 Managed by Terraform: Add question.md issue template 2021-04-14 12:44:27 -04:00
Wilken Rivera
2d616fb2f2 Managed by Terraform: Add packer team as CODEOWNERS 2021-04-14 12:44:26 -04:00