All Versions
87
Latest Version
Avg Release Cycle
4348156 days
Latest Release
26 days ago

Changelog History
Page 1

  • v1.6.4

    September 30, 2020

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Fix authentication issue when using instance profiles or assumed roles for loading session-derived credentials. [GH-10007]
    • ๐Ÿท builder/azure: Fix crash when using azure_tag or azure_tags configuration options. [GH-10014]
    • builder/qemu: Ensure qemu_img_args are honored during the disk convert step. [GH-10001]

    ## 1.6.3 (September 25, 2020)

    ๐Ÿ‘Œ IMPROVEMENTS:

    • builder/amazon: Add pause_before_ssm option to pause for some time before establishing a Session Manager session; defaults to 10s. [GH-9988]
    • ๐Ÿ— builder/amazon: Implement assume_role option that matches Terraform behavior. [GH-9981]
    • ๐Ÿ— builder/azure: Support publishing to a Shared Image Gallery with a different subscription id [GH-9875]
    • builder/openstack: Add external_source_image_url and external_source_image_format to support building images from external source URLs. [GH-9992]
    • ๐Ÿ— builder/openstack: Include API requests and responses as part of the debug log output. [GH-9972]
    • builder/oracle-oci: Add create_vnic_details option for launch details. [GH-9856]
    • ๐Ÿ— builder/oracle-oci: Allow freeform and defined tags to be added to an instance. [GH-9802]
    • ๐Ÿ— builder/proxmox: Add io_thread option for supporting io threads when using a virtio-scsi-single controller with a scsi or virtio disk type. [GH-9969]
    • ๐Ÿ— builder/proxmox: Add ability to specify interfaces for http_directory and VM. [GH-9874]
    • ๐Ÿ— builder/proxmox: Allow the mounting of multiple ISOs via the cd_drive option. [GH-9653]
    • ๐Ÿ— builder/proxmox: Fix boot command special keys. [GH-9885]
    • builder/qemu: Add qemu_img_args option to set special cli flags for calls to qemu-img [GH-9956]
    • builder/qemu: Add skip_resize_disk option to skip the resizing of QCOW2 images. [GH-9896] [GH-9860]
    • ๐ŸŽ builder/qemu: Skip qemu-img convert on MacOS to prevent the creation of corrupt images QEMU #1776920 [GH-9949]
    • ๐Ÿ— builder/scaleway: Change default boottype to local. [GH-9853]
    • โšก๏ธ builder/scaleway: Update scaleway to use non-deprecated sdk. [GH-9902]
    • builder/vmware: Add vnc_over_websocket to allow the sending of a boot_command to hosts running ESXi 6.7 and above. [GH-9938]
    • ๐Ÿ— builder/vmware: Allow user to set vmware tools source path. [GH-9983]
    • ๐Ÿ— builder/vsphere-clone: Add ability to set mac_address [GH-9930]
    • builder/vsphere-clone: Add floppy_files, cd_files, and iso_paths options. [GH-9963]
    • ๐Ÿ— builder/vsphere-iso: Add NVMe controller support. [GH-9880]
    • ๐Ÿ— builder/vsphere: Look for a default resource pool when root resource pool is not found. [GH-9809]
    • ๐Ÿ‘ core: Add support for running cygwin/msys2 based cd/iso creation tool [GH-9954]
    • ๐Ÿ‘ core: New cd_files option to mount iso for modern OSes which don't support floppies. [GH-9796] [GH-9919] [GH-9928] [GH-9932] [GH-9941]
    • HCL2: When the type of a variable is not known evaluate setting as a literal string instead of a variable name. [GH-9863]
    • ๐Ÿ‘ post-processor/vagrant: Support the use of template variables within Vagrantfile templates. [GH-9923]
    • post-processor/yandex-import: Allow custom API endpoint. [GH-9850]
    • ๐Ÿ‘ provisioner/ansible: Add support for Ansible Galaxy Collections. [GH-9903]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon-ebs: Fix issue where retrying on invalid IAM instance profile error was creating multiple spot instances. [GH-9946]
    • ๐Ÿ— builder/amazon-ebssurrogate: Fix issue where builder defaults to AWS managed key even when custom kms_key_id is set. [GH-9959]
    • โšก๏ธ builder/amazon: Update ssm_driver log polling logic to prevent infinite loops when SSM driver is terminated outside of Packer. [GH-9991]
    • ๐Ÿ— builder/azure: Fix crash when using HCL2 configs. [GH-9984] [GH-9985]
    • ๐Ÿ— builder/qemu: Fix hardcoded lowerbound causing negative ports [GH-9905]
    • ๐Ÿ— builder/qemu: Skip compaction when backing file is used. [GH-9918]
    • ๐Ÿ— builder/scaleway: Add pre validate step to prevent the creation of multiple images with the same name. [GH-9840]
    • ๐Ÿ— builder/vmware-iso: Prevent the use of reserved SCSI ID 0:7 when attaching multiple disks. [GH-9940]
    • ๐Ÿ— builder/vsphere: Fix overly strict iso_path validation regex. [GH-9855]
    • command/console: Prevent failure when there are unknown vars. [GH-9864]
    • command/inspect: Allow unset variables in HCL2 and JSON. [GH-9832]
    • ๐Ÿ’ป core: Prevent the UI progressbar from hanging and crashing when there is no TTY available. [GH-9974]
    • ๐Ÿ core: Use $APPDATA over $HOME on Windows hosts when determining homedir. [GH-9830]
    • post-processor/digitalocean-import: Fix crash caused by empty artifact.Files slice. [GH-9857]
    • post-processor/yandex-export: Check for error after runner completes. [GH-9925]
    • ๐Ÿ“‡ post-processor/yandex-export: Set metadata key to expected value on error. [GH-9849]
    • post-processor/yandex-import: Fix S3 URL construct process. [GH-9931]
  • v1.6.3

    September 25, 2020

    ๐Ÿš€ release 1.6.3

  • v1.6.2

    August 27, 2020

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• New command hcl2_upgrade is a JSON to HCL2 transpiler that allows users to transform an existing JSON configuration template into its HCL2 template equivalent. Please see hcl2_upgrade command docs for more details. [GH-9659]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/amazon: Add all of the custom AWS template engines to build template function for use by provisioners. [GH-9751]
    • ๐Ÿ— builder/amazon: Add aws_polling config option to override env variables. [GH-9777]
    • ๐Ÿ— builder/azure: Add FreeBSD support to azure/chroot builder. [GH-9697]
    • ๐Ÿ— builder/vmware-esx: Add network_name option to vmware so that users can set a network without using vmx data. [GH-9718]
    • ๐Ÿ— builder/vmware-vmx: Add additional disk configuration option. Previously only implemented for vmware-iso builder [GH-9815]
    • builder/vmware: Add a remote_output_directory option so users can tell Packer where on a datastore to create a vm. [GH-9784]
    • ๐Ÿ— builder/vmware: Add option to export to ovf or ova from a local vmware build [GH-9825]
    • ๐Ÿ— builder/vmware: Add progress tracker to vmware-esx5 iso upload. [GH-9779]
    • ๐Ÿ— builder/vsphere-iso: Add support for building on a single ESXi host [GH-9793]
    • ๐Ÿ— builder/vsphere: Add new directory_permission config export option. [GH-9704]
    • ๐Ÿ— builder/vsphere: Add option to import OVF templates to the Content Library [GH-9755]
    • ๐Ÿ— builder/vsphere: Add step and options to customize cloned VMs. [GH-9665]
    • โšก๏ธ builder/vsphere: Update iso_paths to support reading ISOs from Content Library paths [GH-9801]
    • core/hcl: Add provisioner "override" option to HCL2 templates. [GH-9764]
    • core/hcl: Add vault integration as an HCL2 function function. [GH-9746]
    • ๐Ÿ— core: Add colored prefix to progress bar so it's clearer what build each progress bar belongs to. [GH-9780]
    • ๐Ÿ— core: Ui now pretty prints build durations. [GH-9749]
    • ๐Ÿ— core: When a build is cancelled, Packer will skip postprocessors gracefully rather than failing them. [GH-9720]
    • ๐Ÿ‘ integrations/secretsmanager: Add support for plaintext non-key/pair secrets. [GH-9773]
    • ๐Ÿ–จ post-processor/vsphere: Improve UI to catch bad credentials and print errors. [GH-9649]
    • provisioner/ansible-remote: Add ansible_ssh_extra_args so users can specify extra arguments to pass to ssh [GH-9821]
    • ๐Ÿ›  provisioner/file: Clean up, bugfix, and document previously-hidden sources option. [GH-9725] [GH-9735]
    • provisioner/salt-masterless: Add option to option to download community SaltStack formulas. [GH-9726]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— build: Fix bug in code generator that caused generation to fail in nested packer/packer dirs [GH-9728]
    • ๐Ÿ— build: Fix Makefile so that default target doesn't crash and creates dev binaries. [GH-9706]
    • ๐Ÿ’พ builder/amazon-ebssurrogate: Make skip_save_build_region option work in the ebssurrogate builder, not just the ebs builder. [GH-9666]
    • ๐Ÿ— builder/amazon: Add retry logic to the spot instance creation step to handle "Invalid IAM Instance Profile name" errors [GH-9810]
    • โšก๏ธ builder/amazon: Update the aws_secretsmanager function to read from the AWS credentials file for obtaining default region information; fixes the 'MissingRegion' error when AWS_REGION is not set [GH-9781]
    • ๐Ÿ— builder/file: Make sure that UploadDir receives the interpolated destination. [GH-9698]
    • ๐Ÿ— builder/googlecompute: Fix bug where startup script hang would cause export to hang. [GH-9708]
    • ๐Ÿ— builder/hyperv: Send boot command in small chunks to make it more stable. [GH-9765]
    • ๐Ÿ— builder/scaleway: Fix config issue that made scaleway builder fail when used with HCL2 config. [GH-9677]
    • ๐Ÿ— builder/vmware: Fully destroy vm if it was cancelled or errored. This will make orphaned vms easier to destroy through vCenter. [GH-9782]
    • ๐Ÿ— builder/vsphere: Fix alt, ctrl, and shift keypresses in the boot_command. [GH-9702] [GH-9739]
    • ๐Ÿ— builder/vsphere: Fix bug where Packer timed out if two interfaces were defined but only one had an available IP. [GH-9748]
    • ๐Ÿ— builder/vsphere: Fix the configuration_parameters option so that it is always applied, not just when the tool sync policy is set. [GH-9713]
    • communicator: Fix pause_before_connect option to force a reconnect after the pause. [GH-9772]
    • core: Make max_retries provisioner option a string to allow variable interpolation. [GH-9673]
    • 0๏ธโƒฃ post-processor/vsphere-template: Fix ReregisterVM to default to true instead of false. [GH-9736]
    • post-processor/yandex-export: Fix issue when validating region_name [GH-9814]
    • ๐Ÿ‘ provisioner/inspec: Fix the 'Unsupported argument; An argument named "command"' error when using the inspec provisioner in an HCL2 configuration [GH-9800]
  • v1.6.1

    July 30, 2020

    BACKWARDS INCOMPATABILITIES:

    • ๐Ÿ— HCL: builder/vsphere: Add option to add a xhci/usb3 controller; changes controller value to an array of strings. [GH-9574]
    • HCL: New HCL-only post-processors block to run chained post-processors after a build [GH-9638]. Before this, defining multiple post-processor blocks after provisioning steps would run them sequentially, now doing this makes them start from the build artifact. To queue post-processors you now have to define them in a post-processors block. [GH-9638]
    • ๐Ÿ›  post-processor/vSphere: We have fixed a bug in the ovftool URL encoding. This may mean that you have performed an encoding workaround that is no longer necessary. [GH-9589]

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• New post-processor Yandex Import [GH-9553]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/amazon-ebs: Wrap CreateImage call in a retry to account for eventual consistency [GH-9579]
    • ๐Ÿ— builder/azure: Disable SSH password authentication unless password is explicitly specified. [GH-9603]
    • ๐Ÿ— builder/docker: Add options for --cap-add, --cap-drop, --tmpfs, --device [GH-9565]
    • ๐Ÿ— builder/file: Create parent directories of target file, if they don't exist. [GH-9452]
    • builder/googlecompute: Add wrap_startup_script configuration option to allow the disabling of Packer's startup script wrapper [GH-9505]
    • builder/googlecompute: Add support for oslogin via the use_os_login configuration option [GH-9339]
    • ๐Ÿ— builder/googlecompute: Make IAP tunnel timeout configurable. [GH-9545]
    • ๐Ÿ— builder/googlecompute: Support using WinRM over an IAP tunnel [GH-9610]
    • ๐Ÿ— builder/hyper-v: Include secure boot template in box.xml [GH-9552]
    • ๐Ÿ— builder/hyperone: Add support for custom username in vm creation. [GH-9497]
    • ๐Ÿ— builder/hyperone: Skip chroot device discovery. [GH-9489]
    • ๐Ÿ— builder/openstack: Bump gophercloud to latest version [GH-9573]
    • ๐Ÿ— builder/proxmox: Add option to disable KVM hardware virtualization in Proxmox builder [GH-9587]
    • ๐Ÿ— builder/proxmox: Add support for multiple NIC packet queues [GH-9597]
    • ๐Ÿ— builder/proxmox: Enable Proxmox builder to toggle the firewall parameter for network interfaces. [GH-9487]
    • โšก๏ธ builder/proxmox: Update Proxmox storagePoolTypes [GH-9418]
    • ๐Ÿ— builder/qemu: Add 'cdrom_interface' option to QEMU builder [GH-9483]
    • builder/tencentcloud: Add source_image_name to support getting source image by name [GH-9619]
    • โšก๏ธ builder/tencentcloud: Update cvm root disk type to CLOUD_PREMIUM [GH-9663]
    • ๐Ÿ— builder/ucloud: New access config options and run config options. [GH-9466]
    • ๐Ÿ— builder/vsphere-clone: Add boot_command support to vsphere-clone builder, including support for starting an HTTP server
    • ๐Ÿ— builder/vsphere-clone: Add vapp configuration option [GH-9507]
    • ๐Ÿ— builder/vsphere: Add ability to define multiple disk controllers [GH-9519]
    • ๐Ÿ— builder/vsphere: Add boot_command support to vsphere-clone builder. [GH-9397]
    • builder/vsphere: Add content_library_destination to import VM template to a Content Library [GH-9551]
    • builder/vsphere: Add force_bios_setup configuration option [GH-9563]
    • ๐Ÿ— builder/vsphere: Add option to add a xhci/usb3 controller [GH-9574]
    • ๐Ÿ— builder/vsphere: Create vm output folders if they don't exist [GH-9402]
    • ๐Ÿ— builder/vsphere: Fix file size descriptor when exporting OFV [GH-9568]
    • ๐Ÿ— builder/vsphere: Look at all available IPs in the waiting for IP loop. [GH-9450]
    • ๐Ÿ— builder/vsphere: Match network to host when multiple networks are found [GH-9556]
    • โšก๏ธ builder/vsphere: Update vsphere boot_command to bring it in line with other builders' boot_command functionality. [GH-9406]
    • ๐Ÿ— builder/vsphere: Use datacenter inventory path for find folder [GH-9390]
    • builder/vsphere: Use value from "ip_wait_address" option to determine the default for the http server IP [GH-9441]
    • builder/yandex: Allow set min_disk_size for an image.
    • ๐Ÿ— builder/yandex: Support authentication by Service Account on instance [GH-9383]
    • builder/yandex: yandex: Add new property min_disk_size of built image [GH-9594]
    • ๐Ÿ‘ communicator/ssh: Add support for OpenSSH certificate signing [GH-9521]
    • communicator/ssh: Allow users to provide a list of ciphers that they want Packer to support. [GH-9453]
    • ๐Ÿ— core/hcl2: Add possibility to name singular build.source blocks to differentiate their output and to filter on them [GH-9490]
    • core/hcl2: Add the "inspect" command for hcl2 configs. [GH-9468]
    • ๐Ÿ— core/hcl2: HCL configs now respect only/except using build names instead of types. [GH-9454]
    • core/hcl: Allow use of keep_input_artifact in post processors. [GH-9477]
    • ๐Ÿ— core/hcl: Share build info with Provisioner and Post-Processor via HCL2 variables [GH-9444] [GH-9534] [GH-9622]
    • core: Add on-error flag option to run error-cleanup-provisioner [GH-9429]
    • core: communicator/ssh: Add new ssh_key_exchange_algorithms option to supply custom key exchange algorithms in SSH client [GH-9634]
    • โ™ป๏ธ core: refactor initialization out from Packer core to allow validate --syntax-only to no error when a variable is not set [GH-9627]
    • ๐Ÿ— hcl2: Handle uint64 buildvars [GH-9585]
    • post-processor/yandex-export: Allow users to utilize generated variables in templating. [GH-9555]
    • ๐Ÿ‘ post-processor/yandex-export: Support Authentication by Service Account Key file [GH-9379]
    • ๐Ÿ‘ post-processor/yandex-import: Support creating an Image based on another one [GH-9614]
    • ๐Ÿ‘ post-processor/yandex-import: Support using URL from yandex-export [GH-9601]
    • provisioner/ansible: Add template option for templating the inventory file lines [GH-9438]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Change "Resource" field in temporary_iam_instance_profile_policy_document to be an array of strings, not just a single string. [GH-9509]
    • builder/amazon: HCL2: Add singular run_volume_tag block to ebs & ebssurrogate builders. [GH-9457]
    • ๐Ÿ— builder/amazon: Retry fetching block device mappings if empty. [GH-9480]
    • ๐Ÿ— builder/azure: Fix data disks URI. [GH-9467]
    • ๐Ÿ— builder/googlecompute: Fix issue with use_iap globally changing a user's gcloud project configuration, by temporarily setting "project" via project flag and not via gcloud config [GH-9662]
    • ๐Ÿ— builder/googlecompute: Fix the "secure boot" validation for uefi_compatible images. [GH-9371]
    • ๐Ÿ— builder/qemu: Only set up localhost port forwarding if skipnatmapping is false. [GH-9479]
    • ๐Ÿ— builder/vagrant: Fix box file validation for remote box files specified using source_path [GH-9660]
    • ๐Ÿ— builder/vagrant: Improve validation and error handling around synced_folder. Make sure that synced folder can be defined relative to Packer run directory, not the Vagrant output directory. [GH-9577]
    • ๐Ÿ— builder/virtualbox-vm: Fix regression where builder would fail if the vm had no snapshots. [GH-9435]
    • ๐Ÿ— builder/vmware-iso: Try checksum remote file instead of local file. [GH-9584]
    • ๐Ÿ— builder/vmware: Fix a race that occurred when parsing the network config. [GH-9387]
    • โšก๏ธ builder/vmware: Update vendor library, enabling retries on 502 errors [GH-9391]
    • ๐Ÿ— builder/vsphere-clone: Fix SSH public key injection for cloned templates [GH-9507]
    • ๐Ÿ— builder/vsphere: Clean up folder path to remove leading slashes. [GH-9542]
    • ๐Ÿ— builder/vsphere: Deduplicate where Firmware is set in vsphere-iso builder [GH-9557]
    • โฌ†๏ธ builder/vsphere: Fix vsphere ToolsSyncTime and ToolsUpgradePolicy [GH-9515]
    • ๐Ÿ— builder/vsphere: vSphere driver context is no longer cancelled when Packer context is cancelled. [GH-9576]
    • communicator/winrm: Add the "no_proxy" environment variable option to have winrm bypass the proxy set by the http_proxy or https_proxy environment vars, when connecting to the remote instance. [GH-9267]
    • ๐Ÿ–จ core: Do not print download progress bar if a machine-readable UI is chosen. [GH-9448]
    • ๐Ÿ‘ post-processor/amazon-import: Add support for retrying RequestLimitExceeded errors when importing an image [GH-9537]
    • ๐Ÿณ post-processor/docker-import: Fix crash when using docker-import with HCL. [GH-9670]
    • post-processor/vsphere: Fix password encoding in vsphere post-processor ovftool call [GH-9589]
    • ๐Ÿ“„ post-processor/yandex-export: Fix error handling and docs. [GH-9554]
    • provisioner/ansible-local: Fix agent auth in SSH communicator [GH-9639]
    • provisioner/ansible: Correct check for whether PackerHttpAddr is implemented or not [GH-9498]
    • ๐Ÿ— provisioner/ansible: Quote extra-var packer_build_name to handle names with spaces [GH-9590]
  • v1.6.0

    June 09, 2020

    BACKWARDS INCOMPATIBILITIES:

    • ๐Ÿ— builder/vsphere-iso: The deprecated fields network, network_card, disk_size, disk_thin_provisioned, and disk_eagerly_scrub have been removed. Run packer fix template.json to migrate an existing template [GH-9149]

    • For all iso-based builders, the iso_checksum_type and iso_checksum_url fields have been removed in favor of simply setting the iso_checksum field. Use the packer fix command to update a config file. See the iso_checksum field docs to read more about this. [GH-8437]

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• New post-processor Yandex Export [GH-9124]
    • ๐Ÿ— builder/amazon: Add SSM Session Manager as a SSH interface connection [GH-9082]
    • ๐Ÿ— builder/google: Implement iap proxy for googlecompute [GH-9105]
    • ๐Ÿ‘ HCL2/core: Add command/console support for HCL2 config files [GH-9359]
    • ๐Ÿ‘ HCL2/core: Add command/validate support for HCL2 config files [GH-9346]
    • ๐Ÿ— HCL2/core: it is now possible to set source fields from the build block [GH-9291]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/amazon: Added new build template function field: SourceAMICreationDate [GH-9277]
    • ๐Ÿ— builder/azure-arm: Support User Assigned Managed Identity [GH-9293]
    • ๐Ÿ— builder/azure-chroot: Copy data disks between shared image galleries [GH-9323]
    • ๐Ÿ— builder/googlecompute: Changed default disk size. [GH-9071]
    • ๐Ÿ— builder/googlecompute: New option to specify storage location for GCP images [GH-9326]
    • ๐Ÿ— builder/qemu: Add support for using a network bridge [GH-9159]
    • builder/qemu: Added skip_nat_mapping option to skip the communicator (SSH or WinRM) automatic port forward and use the guest port directly. [GH-9307]
    • builder/qemu: Replace deprecated ssh_host_port_min and ssh_host_port_max by host_port_min and host_port_max. [GH-9307]
    • ๐Ÿ— builder/virtualbox: Add output_filename config option to allow user to set a custom filename instead of forcing it to be the same as vm_name. [GH-9174]
    • ๐Ÿ— builder/vsphere: Add floppy_label option. [GH-9187]
    • builder/vsphere: Add ip_wait_address to allow packer to wait for an ip address that fits within the range (cidr address). [GH-9358]
    • ๐Ÿ”€ builder/vsphere: Add tools_sync_time and tools_upgrade_policy options to set time synchronization and automatic VMware Tools upgrade. [GH-9366]
    • ๐Ÿ’ป core/hcl: Enable "force", "debug", and "on-error" command line flags for hcl2 builds. [GH-9234]
    • core/hcl: Enable only/except for provisioners and post-processors [GH-9357]
    • ๐Ÿ— core/hcl: Support named builds in HCL2 templates [GH-9245]
    • ๐Ÿ‘ core/interpolation: Add support for specifying a particular key to fetch from the AWS Secrets Manager [GH-9202] [GH-9286]
    • ๐Ÿ”Š core: HCL logs now display source type and source name (type.name) in logs to differentiate more easily who says what. [GH-9257]
    • โšก๏ธ core: update consul and vault dependencies [GH-9205]
    • โšก๏ธ core: Update vendored "go-getter" library with checksum fixes.
    • ๐Ÿ”ง core: Users can now configure the http bind address of the server launched to serve files from http_directory [GH-9313]
    • ๐Ÿ—„ core: When a template contains a deprecated option, Packer will now encourage the user to call packer fix. [GH-9325]
    • ๐Ÿณ post-processor/docker-push: Support pushing multiple tags [GH-9182]
    • ๐Ÿณ post-processor/docker-tag: Change field name of docker tag to "tags" instead of "tag" since it's a list. Keep "tag" for backwards compatibility. [GH-9183]
    • ๐Ÿ provisioner/windows-restart: Display full hostname, instead of just the NetBIOS name [GH-9335]

    ๐Ÿ› BUG FIXES:

    • buidler/vsphere-iso: Fix bug validating iso_urls [GH-9321]
    • โšก๏ธ builder/azure-arm: Update runtime constants with a valid DataDiskName [GH-9251]
    • ๐Ÿ— builder/digitalocean: Use correct image type for Droplet creates. [GH-9212]
    • ๐Ÿ“‡ builder/openstack: Don't error if metadata can't be set. Old versions of openstack don't support that API call. [GH-9198]
    • ๐Ÿ— builder/vagrant: Use absolute path for package_include files to prevent them from having to be relative to the output vagrant directory. [GH-9260]
    • ๐Ÿ— builder/virtualbox: Fix bug using checksum files. [GH-9101]
    • ๐Ÿ— builder/vmware: Fix ssh connection when the guest platform's dhcpcd switches the IP address in-between a build. [GH-9322]
    • ๐Ÿ— builder/vsphere-iso: Use the Datacenter's VmFolder call instead of manually generating folder path [GH-9342]
    • ๐Ÿ— builder/vsphere: Add option not to set host during datastore upload. [GH-9100
    • ๐Ÿ— builder/vsphere: Fix crash in the driver for an interface conversion of types.AnyType nil to types.ManagedObjectReference. [GH-9354]
    • ๐Ÿ— builder/vsphere: Fix iso config prepare being called incorrectly, which caused iso_url field to fail. [GH-9197]
    • ๐Ÿ— builder/yandex: Do not require 'gpu-standard-v1' platform_id for any GPU- based config. [GH-9356]
    • core: Ensure HTTP server information PackerHTTPIP, PackerHTTPPort, and PackerHTTPAddr are available via the build template engine for all supported builders [GH-9238]
    • ๐Ÿ core: Fix iso_url to accept SMB shared files UNC and windows network paths. [GH-8954]
    • core: Fix regression that broke use of pwd when retrieving the checksum from a file [GH-9129].
    • post-processor/vagrant: Add "provider_override" template option to allow artifacts from the Artifice post-processor [GH-9239]
    • ๐Ÿ— post-processor/vsphere-template: Add VSphere builder's artifact to vsphere- template's supported types [GH-9146]
    • โšก๏ธ postprocessor/artifice: Update various core post-processors to accept artifacts from the Artifice post-processor [GH-9239]
    • provisioner/ansible-remote: Fix the arg order to make sure that the playbook file is the last item in the call [GH-9279]
    • provisioner/ansible: Ansible provisioner doesn't force ssh key checking if user wants to use password to connect instead. [GH-9350]
    • ๐Ÿ— provisioner/inspec: Fix build variables interpolation [GH-9262]
    • provisioner/powershell: fix interpolation of execute_command in cleanup script call. [GH-9275]
    • provisioner/powershell: Fix long-wait retry loop caused by cleanup logic [GH-9226]
    • provisioner/salt-masterless: Ignore the CmdArgs field in hcl2 [GH-9290]
  • v1.5.6

    May 01, 2020

    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 of tags {} [GH-9035]
    • ๐Ÿ— packer build command: removed option to set parallel=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 and packer_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]
  • v1.5.5

    March 01, 252020

    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]
  • v1.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.

  • v1.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]
  • v1.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]