Packer v1.5.5 Release Notes

Release Date: 252020-03-01 // almost 249996 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 set winrm_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]