Packer v1.5.5 Release Notes
Release Date: 252020-03-01 // almost 249997 years ago-
BACKWARDS INCOMPATIBILITIES:
- core: Interpolation of undefined variables will now error as expected, in previous versions variables were allowed to be set as a command line argument but that was because the validation was being ignored
๐ IMPROVEMENTS:
- ๐ builder/azure: Add support for configurable KeyVault SKU [GH-8879]
- builder/hyperv: Add
first_boot_device
setting to allow the selection of the initial device or device class used for booting the VM. [GH-8714] - ๐ builder/hyperv: Fix Hyper-V compacted disk size comparison [GH-8811]
- builder/openstack: Add new
image_auto_accept_members
option [GH-8931] - ๐ builder/proxmox: Add ability to specify vga adapter [GH-8892]
- ๐ builder/proxmox: Add onboot directive support [GH-8935]
- ๐ builder/tencentcloud: Show tencentcloud image id after copy to destination region. [GH-8763]
- builder/vmware-iso: Add
cleanup_remote_cache
config option to [GH-8917] - ๐ builder/vmware-iso: Do not perform dial test of NIC when ssh bastion is required [GH-8877]
- ๐ builder/vsphere-clone: Add ability to export VM to OVF file [GH-8764]
- ๐ builder/vsphere-iso: Add ability to define multiple disks. [GH-8787]
- ๐ builder/vsphere-iso: Add ability to export VM to OVF file [GH-8764]
- ๐ builder/vsphere-iso: Add support for eagerly zeroed / scrubbed disks. [GH-8756]
- ๐ builder/vsphere-iso: Add the remote iso first so that it is first in boot order, and clarify boot behavior. [GH-8732]
- ๐ communicator/ssh: Add flag to enable support for keyboard-interactive auth to connect bastion [GH-8847]
- ๐ core/hcl2: Add support for singular blocks [GH-8889]
- ๐ core/hcl2: Add support in HCL2 configs for dynamic blocks, document for loops and splat expressions [GH-8720]
- core/hcl2: Fix HCL2 local variables decoding to allow local usage within another local in the same locals block [GH-8755]
- core/hcl2: Import new replace and regex_replace funcs from go-cty + documentation [GH-8863]
- core: Enable hcl files as var files in HCL mode [GH-8882]
- ๐ core: Make "build" engine template variables SSHPublicKey and SSHPrivateKey strings [GH-8829]
๐ Bug Fixes:
- ๐ builder/azure: Fix
winrm_password
attribution and allow users to setwinrm_username
[GH-8928] - ๐ builder/azure: Fix azure key vault cleanup failure [GH-8905]
- ๐ builder/azure: Fix HCL2 bug that prevented Azure and other builders from loading properly. [GH-8785]
- ๐ builder/googlecompute: Fix WinRMPassword template engine. [GH-8890]
- ๐ builder/googlecompute: Replace deprecated "sshKeys" metadata with "ssh-keys" to fix SSH authentication issue [GH-8942]
- ๐ builder/proxmox: Add new validation to catch that template_name cannot contain spaces. [GH-8799]
- ๐ builder/proxmox: Bump proxmox-api-go to fix upstream bug where users hit open file limit. [GH-8800]
- ๐ builder/vagrant: Fix path validation in ssh config step. [GH-8826]
- ๐ builder/virtualbox-vm: Fix crash when VM has no snapshots. [GH-8906]
- ๐ builder/virtualbox: Remove all floppy controllers before adding a new one. [GH-8828]
- ๐ builder/vsphere-clone: Fix issue preventing the cloning of VMs with the same name in different folders [GH-8938]
- ๐ builder/vsphere-iso: Fix issue preventing the creation of VMs with the same name in different folders [GH-8938]
- ๐ builder/vsphere: Fix network object interface panic. [GH-8753]
- core/hcl2: Fix crash when an unset variable is used [GH-8837]
- ๐ core/hcl2: Fix logic for parsing literal value variables [GH-8834]
- core/hcl2: Make sure locals are evaluated only after variables are. [GH-8918]
- ๐ core: Fix "build" template engine interpolation for certain fields in certain provisioners. [GH-8771]
- core: Fix bug where user var recursion could fail intermittently when used with env vars [GH-8875]
- core: Interpolation of undefined variables will now error as expected
- ๐ plugins: Make plugin discovery stricter with respect to periods so that users can disable plugins by renaming the extension [GH-8735]
- provisioner/salt: Fix
no_exit_on_failure
config to work correctly as expected. [GH-9119] - provisioner/shell: "inline" config option is now a template engine. [GH-8883]