Commit Graph

14608 Commits

Author SHA1 Message Date
Adrien Delorme e195c627fb vendor vendors 2020-03-04 13:50:15 +01:00
Adrien Delorme f013164298 bup modules 2020-03-04 13:49:38 +01:00
Adrien Delorme e9d3826219 variables: use Range instead of Block
because a variable can be defined in the Locals block
2020-03-04 13:19:07 +01:00
Adrien Delorme 9b649594c6 update tests 2020-03-04 13:01:18 +01:00
Adrien Delorme 8482c6c2e6 evaluateLocalVariable: also pass the variable name 2020-03-04 13:01:04 +01:00
Adrien Delorme bd3112fa7c parseLocalVariables: simplify loop 2020-03-04 13:00:51 +01:00
Adrien Delorme 23b940dbd5 fix this ! 2020-03-04 12:42:56 +01:00
Adrien Delorme e851050774 don't force to set unused variables too 2020-03-04 12:32:29 +01:00
Adrien Delorme 382f209b07 Update types.packer_config.go 2020-03-04 12:30:05 +01:00
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730 2020-03-04 12:30:01 +01:00
Vitaly Polonetsky 25f59a1592 Add a simple test for the call to remove all floppy controllers 2020-03-03 20:58:09 -08:00
Noel Quiles 4ed896fc99
Update middleman-hashicorp to 0.3.44 (#8836) 2020-03-03 22:59:24 -05:00
Megan Marsh 5281740275
Merge pull request #8831 from rjhornsby/master
Clarify `expect_disconnect` behavior
2020-03-03 13:54:34 -08:00
rjhornsby b91c4d32cc
Additional clarity
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2020-03-03 15:19:13 -06:00
Megan Marsh e35a872414
Merge pull request #8830 from hashicorp/d-var-file-hcl2-not-yet
document that the `-var-file` option still expects JSON files for now
2020-03-03 13:13:05 -08:00
Megan Marsh fc110e747f
Merge pull request #8832 from alrs/post-processor-deprecated-session-new
post-processor/digitalocean-import/post-processor.go: Replace Deprecated session.New()
2020-03-03 13:11:54 -08:00
Lars Lehtonen db7a40d6ea
post-processor/digitalocean-import/post-processor.go: replace deprecated session.New() with session.NewSession() 2020-03-03 11:53:40 -08:00
Rick Hornsby 0a2fb8c383 Clarify `expect_disconnect` behavior 2020-03-03 12:44:58 -06:00
Adrien Delorme d2964d59e9 document that the `-var-file` option still expects JSON files for now 2020-03-03 17:19:51 +01:00
Sylvia Moss ce674ff272
Add exclude mapstructure tag to exclude from hcl2spec struct (#8785) 2020-03-03 17:13:39 +01:00
Megan Marsh 6dbe86fcf4
only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
Adrien Delorme 50896d4ddf WIP 2020-03-03 11:15:56 +01:00
Vitaly Polonetsky 67c9c2a59a Remove all floppy controllers before adding a new one 2020-03-02 21:56:20 -08:00
Megan Marsh 6540891ca2
Merge pull request #8825 from alrs/fix-powershell-err
common/powershell: Fix Dropped Error
2020-03-02 16:32:43 -08:00
Megan Marsh d422d81dec
Merge pull request #8823 from hashicorp/d-provisioners-update-index
docs/provisioners/index: Add link to Template Provisioners section
2020-03-02 15:00:43 -08:00
Lars Lehtonen f808d1d968
common/powershell: fix dropped error 2020-03-02 14:45:22 -08:00
Wilken Rivera b8408c1c1a
Merge pull request #8824 from hashicorp/d-hcl2-guides-issues-note
guides/hcl: Add link to HCL2 issues tracked on the Packer repo
2020-03-02 17:41:10 -05:00
Wilken Rivera 5dfeddc3a4 guides/hcl: Add link to HCL2 issues tracked on the Packer repo
This change adds a partial that contains a link to the HCL2 issues currently being tracked on GitHub. The partial has been added to the majority of the HCL2 guide documents as a way to help users learn about any open or recently resolved issues pertaining to the HCL2 support in Packer.
2020-03-02 17:13:35 -05:00
Megan Marsh 0f9c3e2cb4
Merge pull request #8784 from kirannhegde/bugfix-4295
Citrix XenServer packer plugin-#4295
2020-03-02 12:53:11 -08:00
Megan Marsh 9c9826ee4b
Merge pull request #8714 from williamb1024/hyperv-gen1-boot-order
WIP: Add Hyper-V builder `first_boot_device` setting to allow the selection of the initial device or device class used for booting the VM.
2020-03-02 12:27:25 -08:00
Wilken Rivera 433c9e8276 docs/provisioners/index: Add link to Template Provisioners section 2020-03-02 15:05:00 -05:00
Megan Marsh 5eead20ae4
Merge pull request #8811 from benjamb/size-check
Fix Hyper-V compacted disk size comparison
2020-03-02 10:44:35 -08:00
Ben Brown 0936f8bc03 Fix Hyper-V compacted disk size comparison
Prior to this the code compares the length of the path, which of course
doesn't change.
2020-03-02 09:55:13 +00:00
Megan Marsh 0cfcbd66ca
execute_command in powershell wasn't interpolating build vars properly (#8771) 2020-03-02 04:20:32 -05:00
Larry Eichenbaum b45ed4c4f1
Update build-image-in-cicd.html.md (#8813)
typo
2020-03-02 04:10:51 -05:00
Megan Marsh 60d952033e
Merge pull request #8798 from EnMod/nq.add-x-frame-options-header
[Website] Set security-focused page headers
2020-02-28 11:42:24 -08:00
Megan Marsh 7d065d9030
Merge pull request #8793 from hashicorp/dependabot/bundler/website/nokogiri-1.10.8
Bump nokogiri from 1.10.4 to 1.10.8 in /website
2020-02-28 11:41:10 -08:00
Megan Marsh 66f01b6033
Merge pull request #8801 from andretorres-codurance/patch-1
Update ansible.html.md.erb
2020-02-28 11:20:13 -08:00
Megan Marsh 6d59cbd4b5
Merge pull request #8799 from carlpett/proxmox/validate-template-name
proxmox: template_name cannot contain spaces
2020-02-28 11:19:18 -08:00
Megan Marsh 36d574c9ec
Merge pull request #8800 from carlpett/proxmox/bump-api-dep
Bump proxmox-api-go
2020-02-28 10:19:16 -08:00
Megan Marsh f25dc1cf74
Merge pull request #8815 from hashicorp/generate_boot_commanmd
regenerate boot command code
2020-02-28 10:15:26 -08:00
Megan Marsh 66a1cdb8d2 regenerate boot command code 2020-02-28 09:50:50 -08:00
andretorres-codurance 5d4e9af9cd
Update ansible.html.md.erb 2020-02-26 10:38:40 +00:00
Calle Pettersson 81a65dac4f Bump proxmox-api-go 2020-02-26 08:47:44 +01:00
Calle Pettersson 17fa6a3e95 proxmox: template_name cannot contain spaces 2020-02-26 08:44:27 +01:00
Noel Quiles 806e799945
[Website] Set security-focused page headers
- Sets X-Frame-Options to SAMEORIGIN
- Sets Strict-Transport-Security to:
  max-age=31536000; includeSubDomains; preload
2020-02-25 19:11:47 -05:00
dependabot[bot] dbb884deb3
Bump nokogiri from 1.10.4 to 1.10.8 in /website
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.4 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.4...v1.10.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-25 08:03:20 +00:00
William Brooks 8e0ed66318 Fix raw string breaks escaping 2020-02-22 02:40:41 -06:00
William Brooks efa9d94d8e use raw string around regex to make go lint happy 2020-02-22 02:22:59 -06:00
William d246d0c82a
More testing (#4)
Additional testing for SetFirstBootDevice and checking configuration in config.Prepare()
2020-02-22 02:03:42 -06:00