1.5.4 (February 14, 2020)
no-change release to fix code-signing on OSX binaries. Since checksums for
these binaries has changed, we are releasing a second time to prevent
confusion.
1.5.3 (February 14, 2020)
IMPROVEMENTS:
* builder/vsphere: Add ability to define multiple NICs for vsphere-iso
[GH-8739]
* builder/vsphere: Add option to remove CD-ROM drives. [GH-8690]
* core: Add validation to catch when users accidentally add duplicate
fields to template [GH-8725]
Bug Fixes:
* core/hcl2: Fix template prepare/validation for HCL2 templates [GH-8742]
* core: Fix build template function interpolation [GH-8727]
1.5.2 (February 12, 2020)
New Builder The vsphere-iso builder, previously maintained by JetBrains,
has been merged with the Packer core. It will be officially supported by
the Packer team at HashiCorp moving forward. [GH-8480]
HCL2 variables & functions HCL2 configurations can now use variable,
variables, locals, and functions [GH-8588].
IMPROVEMENTS:
* builder/alicloud: Add AlicloudProfile option. [GH-8560]
* builder/amazon: Add max_retries option to aws builders [GH-8709]
* builder/amazon: Add source AMI owner ID/name to template engines
[GH-8550]
* builder/amazon: Update instance waiters to use global waiter settings set
by AWS_POLL_DELAY_SECONDS and AWS_TIMEOUT_SECONDS [GH-8699]
* builder/azure: Allow users to use custom key vault for storing Windows
certificates [GH-8704]
* builder/azure: Set expiry for image versions in SIG [GH-8561]
* builder/proxmox: Add option to upload the boot ISO rather than pointing
out a previously manually uploaded one. [GH-8624]
* builder/vagrant: Fix a crash in the Vagrant driver [GH-8607]
* builder/yandex: Add service account ID to config [GH-8717]
* communicator/winrm: Users can now override winrm_host with a static IP
even when using cloud builders. [GH-8675]
* core/hcl2: Fix bug preventing reading slices within other slices
[GH-8669]
* core: Interpolation within post-processors can now access build-specific
values like Host IP, communicator password, and more [GH-8632]
* core: Add PACKER_PLUGIN_PATH to list of supported paths for plugin
discovery [GH-8616]
* core: clean up messy log line in plugin execution. [GH-8542]
* core: Ensure PACKER_HTTP_ADDR is always set for any builder that provides
a HTTP server for file transfer [GH-8654]
* core: Fix loading external plugins defined in PACKER_CONFIG [GH-8582]
* core: Log name of postprocessor running to disambiguate long chains of
post- processors. [GH-8613]
* core: Packer can use isos in-place on Windows again, instead of copying
them into its cache. [GH-7627]
* core: step_download: return without error if Urls is empty [GH-8579]
* post-processor/vsphere-template] Simplify method to use
vm.MarkAsTemplate (optionally) [GH-8511]
* scripts: Fix some issues with mapstructure-to-hcl2 code
generator. [GH-8574]
* scripts: Update Vagrant bootstrapping scripts [GH-8604]
Bug Fixes:
* builder/alicloud: Fix "security group doesn't exist" error when there are
>10 security groups. [GH-8535]
* builder/amazon: Allow AWS builder pre-validation to pass when subnet
filters are present [GH-8622]
* builder/azure: Fix bug where deployments were not being cleaned up:
[GH-8496]
* builder/azure: Fix issue where WinRMPassword was being left unset
[GH-8670]
* builder/lxd: Fix file uploading issue when using the file provisioner
[GH-8636]
* builder/null: Fix crash when configuring builder using HCL2. [GH-8612]
* builder/osc: Fix ssh host detection in Public Cloud and Nets [GH-8414]
* builder/vagrant: Fix bug with reading key from a path with spaces
[GH-8605]
* builder/virtualbox-ovf: Remove config dependency from StepImport
[GH-8509]
* builder/virtualbox-vm: use config as a non pointer to avoid a panic
[GH-8576]
* core: Fix crash when build.sources is set to an invalid name [GH-8569]
* core: Fix error loading .packerconfig [GH-8623]
* core: Fix loading local ISO files when using iso_target_path [GH-8689]
* core: Fix loading of external plugins. GH-8543]
* post-processor/docker-tag: Fix regression if no tags were
specified. [GH-8593]
* post-processor/vagrant-cloud: Update error handling for Vagrant Cloud API
[GH-8594]
* post-processor/vagrant: correctly handle the diskSize property as a qemu
size string [GH-8567]
* provisioner/ansible: Fix password sanitization to account for empty
string values. [GH-8570]
* provisioner/shell: Fix bug with shell provisioner failing to clean up the
environment var file when env_var_file is true. [GH-8639]
1.5.1 (December 20, 2019)
This was a fast-follow release to fix a number of panics that we introduced
when making changes for HCL2.
IMPROVEMENTS:
* builder/alicloud: Add show_expired option for describing images [GH-8425]
Bug Fixes:
* builder/cloudstack: Fix panics associated with loading config [GH-8513]
* builder/hyperv/iso: Fix panics associated with loading config [GH-8513]
* builder/hyperv/vmcx: Fix panics associated with loading config [GH-8513]
* builder/jdcloud: Update jdcloud statebag to use pointers for config
[GH-8518]
* builder/linode: Fix panics associated with loading config [GH-8513]
* builder/lxc: Fix panics associated with loading config [GH-8513]
* builder/lxd: Fix panics associated with loading config [GH-8513]
* builder/oneandone: Fix panics associated with loading config [GH-8513]
* builder/oracle/classic: Fix panics associated with loading config
[GH-8513]
* builder/oracle/oci: Fix panics associated with loading config [GH-8513]
* builder/osc/bsuvolume: Fix panics associated with loading config
[GH-8513]
* builder/parallels/pvm: Fix panics associated with loading config
[GH-8513]
* builder/profitbricks: Fix panics associated with loading config [GH-8513]
* builder/scaleway: Fix panics associated with loading config [GH-8513]
* builder/vagrant: Fix panics associated with loading config [GH-8513]
* builder/virtualbox/ovf: Fix panics associated with loading config
[GH-8513]
* builder/virtualbox: Configure NAT interface before forwarded port mapping
#8514
* post-processor/vagrant-cloud: Configure NAT interface before forwarded
port mapping [GH-8514]