Packer v1.5.6 Release Notes
Release Date: 2020-05-01 // almost 4 years ago-
BACKWARDS INCOMPATIBILITIES:
- core/hcl2: HCL2 singular blocks: use key/value or name/value depending on how the service names things [GH-9078]
- core/hcl2: Maps are now treated as settable arguments as opposed to blocks.
For example
tags = {}
instead oftags {}
[GH-9035] - ๐
packer build
command: removed option to setparallel=false
, use-parallel-builds=1
for this.
๐ FEATURES:
๐ New Builder azure-dtl allows creation of devtestlabs images in Azure [GH-8987]
๐ New Core Feature provisioners now support a
max_retries
option that can be used for retrying a provisioner on error [GH-9061]๐ New Post-Processor:
yandex-export
Upload built image in Yandex Object Storage.
๐ IMPROVEMENTS:
- builder/azure-arm: Add
boot_diag_storage_account
option for enabling boot diagnostics on a virtual machine [GH-9053] - ๐ builder/azure-arm: Add support for setting custom resource names [GH-9028]
- ๐ builder/azure-arm: Data disk names are now randomly generated [GH-8986]
- ๐ builder/azure: Add shared image destination for azure-chroot [GH-9021]
- ๐ builder/azure: Add shared image source for chroot builder [GH-9070]
- ๐ builder/google: Add support for custom shielded images [GH-8970]
- builder/google: Allow
source_image_project_id
to be a list of several projects to search. [GH-8679] - ๐ builder/hyperv: Add
boot_order
option to override the default boot order [GH-9046] - ๐ builder/oracle-oci: Allow Instance Principal Auth for Oracle OCI builder [GH-8893]
- โก๏ธ builder/oracle-oci: Update Oracle SDK. [GH-9104]
- ๐ builder/proxmox: Add ability to add a cloud-init drive [GH-9045]
- ๐ builder/vsphere: Add
disable_shutdown
option to support manual vm shutdown over the default automatic shutdown step [GH-9095] - ๐ builder/vsphere: Add
vgpu_profile
option for specifying vGPU profiles [GH-8946] - ๐ builder/vsphere: Add support for EFI Secure Boot [GH-9018]
- ๐ builder/vsphere: Add support for specifying vGPU profiles [GH-8946]
- builder/yandex: Add
target_image_folder_id
option for changing the folder where a built image will be saved to [GH-9080] - ๐ core/hcl2: HCL mode builds now honor -only and -except options [GH-8947]
- ๐ core/hcl2: Set
packer_build_name
andpacker_builder_type
variables for builder provisioners and post-processors [GH-8956] - core/HCL: HCL mode now honors -only and -except options. [GH-8947]
- core: New template function: aws_secretsmanager [GH-9099]
- ๐ provisioner/ansible: Add
use_proxy
option to not use localhost proxy adapter. Removes need for ansible connection_plugin when using WinRM. [GH-8625] - provisioner/powershell: Add
debug_mode
option to help with debugging generated scripts [GH-8996] - ๐ provisioner/powershell: Add cleanup step to remove temporarily created
scripts; cleanup can be skipped by setting the
skip_clean
option [GH-8908]
๐ BUG FIXES:
- builder/amazon: Fix bug with
launch_block_device_mappings
in spot instances. [GH-8945] - ๐ builder/azure-arm: Fix issue where managed image builds were using a
different
location
then what was specified in the build configuration [GH-9068] - ๐ builder/azure: Allow Managed Data Disks to be used with Azure Shared Image Gallery [GH-8912]
- ๐ builder/azure: Fix SSH connection for temporary admin users specified in
ssh_username
[GH-9103] - ๐ builder/osc: Make compliant with oAPI spec for Outscale osc-bsu builder [GH-9093]
- ๐ builder/qemu: Remove
net_device
pre-validation [GH-8979] - โก๏ธ builder/tencentcloud: Update builder to handle the InstanceOperationInProgress error [GH-9069]
- ๐ builder/vsphere-iso: disk_size is no longer required if storage is defined [GH-8975]
- ๐ builder/vsphere: Add exported files to VSphere artifact [GH-9020]
- ๐ builder/vsphere: Fix issue where -force is not working with vsphere builders [GH-9039]
- core: Fix crash in wrapperreadline helper when calling
os.NewFile
on unknown file descriptor [GH-9037] - core: Make sure CLI variables supersede variables from var files [GH-8964]
- provisioner/powershell: Fix integer decoding issue in the execution policy parser [GH-8997]