Packer v1.4.4 Release Notes

Release Date: 2019-10-01 // 5 months ago
  • 👌 IMPROVEMENTS:

    ** 🆕 new core feature** Error cleanup provisioner [GH-8155]

    • builder/amazon: Add ability to set run_volume_tags [GH-8051]
    • 🏗 builder/amazon: Add AWS API call reties on AMI prevalidation [GH-8034]
    • ♻️ builder/azure: Refactor client config [GH-8121]
    • 🏗 builder/cloudstack: New step to detach iso. [GH-8106]
    • 🏗 builder/googlecompute: Fail fast when image name is invalid. [GH-8112]
    • 🏗 builder/googlecompute: Users can now query Vault for an Oauth token rather than setting an account file [GH-8143]
    • 🏗 builder/hcloud: Allow selecting image based on filters [GH-7945]
    • 🏗 builder/hyper-v: Decrease the delay between Hyper-V VM startup and hyper-v builder's ability to send keystrokes to the target VM. [GH-7970]
    • 🏗 builder/openstack: Store WinRM password for provisioners to use [GH-7940]
    • builder/proxmox: Shorten default boot_key_interval to 5ms from 100ms [GH-8088]
    • 🏗 builder/proxmox: Allow running the template VM in a Proxmox resource pool [GH-7862]
    • 🏗 builder/ucloud: Make ucloud builder's base url configurable [GH-8095]
    • 🏗 builder/virtualbox-vm: Make target snapshot optional [GH-8011] [GH-8004]
    • 🏗 builder/vmware: Allow user to attach floppy files to remote vmx builds [GH-8132]
    • 🏗 builder/yandex: Add ability to retry API requests [GH-8142]
    • 🏗 builder/yandex: Support GPU instances and set source image by name [GH-8091]
    • 👍 communicator/ssh: Support for SSH port tunneling [GH-7918]
    • core: Add a new floppy_label option [GH-8099]
    • core: Added version compatibility to console command [GH-8080]
    • post-processor/vagrant-cloud: Allow blank access_token for private vagrant box hosting [GH-8097]
    • post-processor/vagrant-cloud: Allow use of the Artifice post-processor with the Vagrant Cloud post-processor [GH-8018] [GH-8027]
    • 🏗 post-processor/vsphere: Removed redundant whitelist check for builders, allowing users to use post-processor withough the VMWare builder [GH-8064]

    🐛 BUG FIXES:

    • 🏗 builder/amazon: Fix FleetID crash. [GH-8013]
    • 🏗 builder/amazon: Gracefully handle rate limiting when retrieving winrm password. [GH-8087]
    • 🏗 builder/amazon: Fix race condition in spot instance launching [GH-8165]
    • 🏗 builder/amazon: Amazon builders now respect ssh_host option [GH-8162]
    • ⚡️ builder/amazon: Update the AWS sdk to resolve some credential handling issues [GH-8131]
    • 🏗 builder/azure: Avoid a panic in getObjectIdFromToken [GH-8047]
    • 🏗 builder/googlecompute: Fix crash caused by nil account file. [GH-8102]
    • 🏗 builder/hyper-v: Fix when management interface is not part of virtual switch [GH-8017]
    • 🏗 builder/openstack: Fix dropped error when creating image client. [GH-8110]
    • 📇 builder/openstack: Fix race condition created when adding metadata [GH-8016]
    • 🏗 builder/outscale: Get SSH Host from VM.Nics instead of VM Root [GH-8077]
    • 🏗 builder/proxmox: Bump proxmox api dep, fixing bug with checking http status during boot command [GH-8083]
    • 🏗 builder/proxmox: Check that disk format is set when pool type requires it [GH-8084]
    • 🏗 builder/proxmox: Fix panic caused by cancelling build [GH-8067] [GH-8072]
    • 🏗 builder/qemu: Fix dropped error when retrieving version [GH-8050]
    • 🏗 builder/vagrant: Fix dropped errors in code and tests. [GH-8118]
    • 🏗 builder/vagrant: Fix provisioning boxes, define source and output boxes [GH-7957]
    • 🏗 builder/vagrant: Fix ssh and package steps to use source syntax. [GH-8125]
    • 🏗 builder/vagrant: Use GlobalID when provided [GH-8092]
    • 🏁 builder/virtualbox: Fix windows pathing problem for guest additions checksum download. [GH-7996]
    • 🏗 builder/virtualbox: LoadSnapshots succeeds even if machine has no snapshots [GH-8096]
    • 🏗 builder/vmware: fix dropped test errors [GH-8170]
    • core: Fix bug where sensitive variables contianing commas were not being properly sanitized in UI calls. [GH-7997]
    • core: Fix handling of booleans where "unset" is a value distinct from "false". [GH-8021]
    • ✅ core: Fix tests that swallowed errors in goroutines [GH-8094]
    • core: Fix bug where Packer could no longer run as background process [GH-8101]
    • core: Fix zsh auto-completion [GH-8160]
    • ⚠ communicator/ssh: Friendlier message warning user that their creds may be wrong [GH-8167]
    • 0️⃣ post-processor/amazon-import: Fix non-default encryption. [GH-8113]
    • post-processor/vagrant-cloud: Fix dropped errors [GH-8156]
    • provisioner/ansible: Fix provisioner dropped errors [GH-8045]

    BACKWARDS INCOMPATIBILITIES:

    • 🗄 core: "sed" template function has been deprecated in favor of "replace" and "replace_all" functins [GH-8119]