All Versions
88
Latest Version
Avg Release Cycle
4348157 days
Latest Release
1246 days ago

Changelog History
Page 2

  • v1.5.2 Changes

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

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

    December 18, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/amazon: Add no_ephemeral template option to remove ephemeral drives from launch mappings. [GH-8393]
    • builder/amazon: Add validation for "subnet_id" when specifying "vpc_id" [GH-8360] [GH-8387] [GH-8391]
    • ๐Ÿ— builder/amazon: allow enabling ena/sr-iov on ebssurrogate spot instances [GH-8397]
    • ๐Ÿ— builder/amazon: Retry runinstances aws api call to mitigate throttling [GH-8342]
    • โšก๏ธ builder/hyperone: Update builder schema and tags [GH-8444]
    • ๐Ÿ— builder/qemu: Add display template option for qemu. [GH-7676]
    • ๐Ÿ— builder/qemu: Disk Size is now read as a string to support units. [GH-8320] [GH-7546]
    • ๐Ÿ— builder/qemu: Add fixer to convert disk size from int to string [GH-8390]
    • ๐Ÿ— builder/qemu: Disk Size is now read as a string to support units. [GH-8320] [GH-7546]
    • ๐Ÿ— builder/qemu: When a user adds a new drive in qemuargs, process it to make sure that necessary settings are applied to that drive. [GH-8380]
    • ๐Ÿ— builder/vmware: Fix error message when ovftool is missing [GH-8371]
    • ๐Ÿ”Œ core: Cleanup logging for external plugins [GH-8471]
    • ๐Ÿ‘ core: HCL2 template support is now in beta. [GH-8423]
    • ๐Ÿ— core: Interpolation within provisioners can now access build-specific values like Host IP, communicator password, and more. [GH-7866]
    • ๐Ÿ›  core: Various fixes to error handling. [GH-8343] [GH-8333] [GH-8316] [GH-8354] [GH-8361] [GH-8363] [GH-8370]
    • ๐Ÿณ post-processor/docker-tag: Add support for multiple tags. [GH-8392]
    • post-processor/shell-local: Add "valid_exit_codes" option to shell-local. [GH-8401]
    • provisioner/chef-client: Add version selection option. [GH-8468]
    • provisioner/shell-local: Add "valid_exit_codes" option to shell-local. [GH-8401]
    • provisioner/shell: Add support for the "env_var_format" parameter [GH-8319]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Fix request retry mechanism to launch aws instance [GH-8430]
    • ๐Ÿ— builder/azure: Fix PollDuration option which was overridden in some clients. [GH-8490]
    • ๐Ÿ— builder/hyperv: Fix bug in checking VM name that could cause flakiness if many VMs are defined. [GH-8357]
    • ๐Ÿ— builder/vagrant: Use absolute path for Vagrantfile [GH-8321]
    • ๐Ÿ— builder/virtualbox: Fix panic in snapshot builder. [GH-8336] [GH-8329]
    • communicator/winrm: Resolve ntlm nil pointer bug by bumping go-ntlmssp dependency [GH-8369]
    • communicator: Fix proxy connection settings to use "SSHProxyUsername" and "SSHProxyPassword" where relevant instead of bastion username and password. [GH-8375]
    • ๐ŸŒฒ core: Fix bug where Packer froze if asked to log an extremely long line [GH-8356]
    • core: Fix iso_target_path option; don't cache when target path is non-nil [GH-8394]
    • ๐Ÿ— core: Return exit code 1 when builder type is not found [GH-8474]
    • ๐Ÿ— core: Return exit code 1 when builder type is not found [GH-8475]
    • โšก๏ธ core: Update to newest version of go-tty to re-enable CTRL-S and CTRL-Q usage [GH-8364]

    BACKWARDS INCOMPATIBILITIES:

    • builder/amazon: Complete deprecation of clean_ami_name template func [GH-8320] [GH-8193]
    • core: Changes have been made to both the Prepare() method signature on the builder interface and on the Provision() method signature on the provisioner interface. [GH-7866]
    • provisioner/ansible-local: The "galaxycommand" option has been renamed to "galaxy_command". A fixer has been written for this, which can be invoked with packer fix. [GH-8411]
  • v1.4.5 Changes

    November 04, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • โž• added ucloud-import post-processsor to import custom image for UCloud UHost instance [GH-8261]
    • ๐Ÿ— builder/amazon: New option to specify IAM policy for a temporary instance profile [GH-8247]
    • builder/amazon: improved validation around encrypt_boot and kms_key_id for a better experience [GH-8288]
    • ๐Ÿ— builder/azure-arm: Allow specification of polling duration [GH-8226]
    • ๐Ÿ”จ builder/azure-chroot: Add Azure chroot builder [GH-8185] & refactored some common code together after it [GH-8269]
    • ๐Ÿš€ builder/azure: Deploy NSG if list of IP addresses is provided in config [GH-8203]
    • ๐Ÿ— builder/azure: Set correct user agent for Azure client set [GH-8259]
    • builder/cloudstack: Add instance_display_name for cloudstack builder [GH-8280]
    • builder/hyperv: Add the additional_disk_size option tho the hyperv vmcx builder. [GH-8246]
    • ๐Ÿ— builder/openstack: Add option to discover provisioning network [GH-8279]
    • ๐Ÿ— builder/oracle-oci: Support defined tags for oci builder [GH-8172]
    • ๐Ÿ— builder/proxmox: Add ability to select CPU type [GH-8201]
    • ๐Ÿ— builder/proxmox: Add support for SCSI controller selection [GH-8199]
    • ๐Ÿ— builder/proxmoz: Bump Proxmox dependency: [GH-8241]
    • ๐Ÿ— builder/tencent: Add retry on remote api call [GH-8250]
    • ๐Ÿ— builder/vagrant: Pass through logs from vagrant in real time rather than buffering until command is complete [GH-8274]
    • ๐Ÿ— builder/vagrant: add insert_key option for toggling whether to add Vagrant's insecure key [GH-8274]
    • ๐Ÿ— builder/virtualbox: enabled pcie disks usage, but this feature is in beta and won't work out of the box yet [GH-8305]
    • communicator/winrm: Prevent busy loop while waiting for WinRM connection [GH-8213]
    • core: Add strftime function in templates [GH-8208]
    • core: Improve error message when comment is bad [GH-8267]
    • post-processor/amazon-import: delete intermediary snapshots [GH-8307]
    • ๐Ÿ›  Fix various dropped errors an removed unused code: [GH-8230] [GH-8265] [GH-8276] [GH-8281] [GH-8309] [GH-8311] [GH-8304] [GH-8303] [GH-8293]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Fix region copy for non-ebs amazon builders [GH-8212]
    • ๐Ÿ— builder/amazon: Fix spot instance bug where builder would fail if one availability zone could not support the requested spot instance type, even if another AZ could do so. [GH-8184]
    • ๐Ÿ— builder/azure: Fix build failure after a retry config generation error. [GH-8209]
    • ๐Ÿ— builder/docker: Use a unique temp dir for each build to prevent concurrent builds from stomping on each other [GH-8192]
    • ๐Ÿ— builder/hyperv: Improve filter for determining which files to compact [GH-8248]
    • ๐Ÿ— builder/hyperv: Use first adapter, rather than failing, when multiple adapters are attached to host OS's VM switch [GH-8234]
    • builder/openstack: Fix setting openstack metadata for use_blockstorage_volume [GH-8186]
    • ๐Ÿ— builder/openstack: Warn instead of failing on terminate if instance is already shut down [GH-8176]
    • post-processor/digitalocean-import: Fix panic when 'image_regions' not set [GH-8179]
    • ๐Ÿ— provisioner/powershell: Fix powershell syntax error causing failed builds [GH-8195]
  • v1.4.4 Changes

    October 01, 2019

    ๐Ÿ‘Œ 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]
  • v1.4.3 Changes

    August 14, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ†• new builder UCloud builder [GH-7775]
    • ๐Ÿ†• new builder Outscale [GH-7459]
    • ๐Ÿ†• new builder VirtualBox Snapshot [GH-7780]
    • ๐Ÿ†• new builder JDCloud [GH-7962]
    • ๐Ÿ†• new post-processor Exoscale Import post-processor [GH-7822] [GH-7946]
    • ๐Ÿ— build: Change Makefile to behave differently inside and outside the gopath when generating code. [GH-7827]
    • ๐Ÿ— builder/amazon: Don't calculate spot bids; Amazon has changed spot pricing to no longer require this. [GH-7813]
    • ๐Ÿ— builder/google: Add suse-byos-cloud to list of public GCP cloud image projects [GH-7935]
    • builder/openstack: New image_min_disk option [GH-7290]
    • builder/openstack: New option use_blockstorage_volume to set openstack image metadata [GH-7792]
    • ๐Ÿ— builder/openstack: Select instance network on which to assign floating ip [GH-7884]
    • ๐Ÿ— builder/qemu: Implement VNC password functionality [GH-7836]
    • ๐Ÿ— builder/scaleway: Allow removing volume after image creation for Scaleway builder [GH-7887]
    • ๐Ÿ— builder/tencent: Add run_tags to option to tag instance. [GH-7810]
    • ๐Ÿ— builder/tencent: Remove unnecessary image name validation check. [GH-7786]
    • ๐Ÿ— builder/tencent: Support data disks for tencentcloud builder [GH-7815]
    • ๐Ÿ— builder/vmware: Fix intense CPU usage because of poorly handled errors. [GH-7877]
    • communicator: Use context for timeouts, interruption in ssh and winrm communicators [GH-7868]
    • core: Change how on-error=abort is handled to prevent EOF errors that mask real issues [GH-7913]
    • ๐Ÿ’ป core: Clean up logging vs ui call in step download [GH-7936]
    • core: New environment var option to allow user to set location of config directory [GH-7912]
    • ๐Ÿšš core: Remove obsolete Cancel functions from builtin provisioners [GH-7917]
    • post-processor/vagrant: Add option to allow box Vagrantfiles to be generated during the build [GH-7951]
    • ๐Ÿ‘ provisioner/ansible: Add support for installing roles with ansible-galaxy [GH-7916
    • provisioner/salt-masterless: Modify file upload to handle non-root case. [GH-7833]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Add error to warn users of spot_tags regression. [GH-7989]
    • ๐Ÿ— builder/amazon: Allow EC2 Spot Fleet packer instances to run in parallel [GH-7818]
    • ๐Ÿ— builder/amazon: Fix failures and duplication in Amazon region copy and encryption step. [GH-7870] [GH-7923]
    • ๐Ÿ— builder/amazon: No longer store names of volumes which get deleted on termination inside ebssurrogate artifact. [GH-7829]
    • โšก๏ธ builder/amazon: Update aws-sdk-go to v1.22.2, resolving some AssumeRole issues [GH-7967]
    • ๐Ÿ— builder/azure: Create configurable polling duration and set higher default for image copies to prevent timeouts on successful copies [GH-7920]
    • ๐Ÿ— builder/digitalocean: increase timeout for Digital Ocean snapshot creation. [GH-7841]
    • ๐Ÿ— builder/docker: Check container os, not host os, when creating container dir default [GH-7939]
    • builder/docker: Fix bug where PACKER_TMP_DIR was created with root perms on linux [GH-7905]
    • ๐Ÿ— builder/docker: Fix file download hang caused by blocking ReadAll call [GH-7814]
    • ๐Ÿ— builder/google: Fix outdated oauth URL. [GH-7835] [GH-7927]
    • ๐Ÿ— builder/hyperv: Improve code for detecting IP address [GH-7880]
    • โšก๏ธ builder/ucloud: Update the api about stop instance to fix the read-only image build by ucloud-uhost [GH-7914]
    • builder/vagrant: Fix bug where source_path was being used instead of box_name when generating the Vagrantfile. [GH-7859]
    • ๐Ÿ— builder/virtualbox: Honor value of 'Comment' field in ssh keypair generation. [GH-7922]
    • ๐Ÿ— builder/vmware: Fix validation regression that occurred when user provided a checksum file [GH-7804]
    • ๐Ÿ— buildere/azure: Fix crash with managed images not published to shared image gallery. [GH-7837]
    • ๐Ÿ— communicator/ssh: Move ssh_interface back into individual builders from ssh communicator to prevent validation issues where it isn't implemented. [GH-7831]
    • console: Fix console help text [GH-7960]
    • ๐Ÿ“œ core: Fix bug in template parsing where function errors were getting swallowed. [GH-7854]
    • core: Fix regression where a local filepath containing // was no longer properly resolving to /. [GH-7888]
    • core: Fix regression where we could no longer access isos on SMB shares. [GH-7800]
    • ๐Ÿ— core: Make ssh_host template option always override all builders' IP discovery. [GH-7832]
    • core: Regenerate boot_command PEG code [GH-7977]
    • ๐Ÿ›  fix: clean up help text and fixer order to make sure all fixers are called [GH-7903]
    • ๐Ÿ—„ provisioner/inspec: Use --input-file instead of --attrs to avoid deprecation warning [GH-7893]
    • provisioner/salt-masterless: Make salt-masterless provisioner respect disable_sudo directive for all commands [GH-7774]
  • v1.4.2 Changes

    June 26, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ†• new feature: Packer console [GH-7726]
    • ๐Ÿ— builder/alicloud: cleanup image and snapshot if target image is still not available after timeout [GH-7744]
    • โšก๏ธ builder/alicloud: let product API determine the default value of io_optimized [GH-7747]
    • ๐Ÿ’พ builder/amazon: Add new skip_save_build_region option to fix naming conflicts when building in a region you don't want the final image saved in. [GH-7759]
    • ๐Ÿ— builder/amazon: Add retry for temp key-pair generation in amazon-ebs [GH-7731]
    • ๐Ÿ— builder/amazon: Enable encrypted AMI sharing across accounts [GH-7707]
    • ๐Ÿ— builder/amazon: New SpotInstanceTypes feature for spot instance users. [GH-7682]
    • ๐Ÿ— builder/azure: Allow users to publish Managed Images to Azure Shared Image Gallery (same Subscription) [GH-7778]
    • โšก๏ธ builder/azure: Update Azure SDK for Go to v30.0.0 [GH-7706]
    • ๐Ÿ— builder/cloudstack: Add tags to instance upon creation [GH-7526]
    • ๐Ÿ builder/docker: Better windows defaults [GH-7678]
    • ๐Ÿ— builder/google: Add feature to import user-data from a file [GH-7720]
    • ๐Ÿ— builder/hyperv: Abort build if there's a name collision [GH-7746]
    • ๐Ÿ— builder/hyperv: Clarify pathing requirements for hyperv-vmcx [GH-7790]
    • ๐Ÿ builder/hyperv: Increase MaxRamSize to match modern Windows [GH-7785]
    • ๐Ÿ— builder/openstack: Add image filtering on properties. [GH-7597]
    • ๐Ÿ— builder/qemu: Add additional disk support [GH-7791]
    • ๐Ÿ— builder/vagrant: Allow user to override vagrant ssh-config details [GH-7782]
    • ๐Ÿ“‡ builder/yandex: Gracefully shutdown instance, allow metadata from file, and create preemptible instance type [GH-7734]
    • ๐Ÿ”Š core: scrub out sensitive variables in scrub out sensitive variables logs [GH-7743]

    ๐Ÿ› BUG FIXES:

    • builder/alicloud: Fix describing snapshots issue when image_ignore_data_disks is provided [GH-7736]
    • ๐Ÿ— builder/amazon: Fix bug in region copy which produced badly-named AMIs in the build region. [GH-7691]
    • ๐Ÿท builder/amazon: Fix failure that happened when spot_tags was set but ami_tags wasn't [GH-7712]
    • โšก๏ธ builder/cloudstack: Update go-cloudstack sdk, fixing compatability with CloudStack v 4.12 [GH-7694]
    • โšก๏ธ builder/proxmox: Update proxmox-api-go dependency, fixing issue calculating VMIDs. [GH-7755]
    • ๐Ÿ— builder/tencent: Correctly remove tencentcloud temporary keypair. [GH-7787]
    • ๐Ÿ’ป core: Allow timestamped AND colorless ui messages [GH-7769]
    • ๐Ÿ”Š core: Apply logSecretFilter to output from ui.Say [GH-7739]
    • 0๏ธโƒฃ core: Fix "make bin" command to use reasonbale defaults. [GH-7752]
    • core: Fix user var interpolation for variables set via -var-file and from command line [GH-7733]
    • ๐Ÿ”Š core: machine-readable UI now writes UI calls to logs. [GH-7745]
    • core: Switch makefile to use "GO111MODULE=auto" to allow for modern gomodule usage. [GH-7753]
    • provisioner/ansible: prevent nil pointer dereference after a language change [GH-7738]
    • โœ… provisioner/chef: Accept chef license by default to prevent hangs in latest Chef [GH-7653]
    • provisioner/powershell: Fix crash caused by error in retry logic check in powershell provisioner [GH-7657]
    • provisioner/powershell: Fix null file descriptor error that occurred when remote_path provided is a directory and not a file. [GH-7705]
  • v1.4.1 Changes

    May 15, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ†• new builder: new proxmox builder implemented [GH-7490]
    • ๐Ÿ†• new builder: new yandex cloud builder implemented [GH-7484]
    • ๐Ÿ†• new builder: new linode builder implemented [GH-7508]
    • ๐Ÿ— build: Circle CI now generates test binaries for all pull requests [GH-7624] [GH-7625] [GH-7630]
    • ๐Ÿ— builder/alicloud: Support encryption with default service key [GH-7574]
    • ๐Ÿ— builder/amazon: Users of chroot and ebssurrogate builders may now choose between "x86_64" and "arm64" architectures when registering their AMIs. [GH-7620]
    • ๐Ÿ— builder/amazon: Users of the ebssurrogage builder may now choose to omit certain launch_block_devices from the final AMI mapping by using the omit_from_artifact feature. [GH-7612]
    • โšก๏ธ builder/azure: Update Azure SDK [GH-7563]
    • ๐Ÿ— builder/docker: Better error messaging with container downloads. [GH-7513]
    • ๐Ÿ— builder/google: add image encryption support [GH-7551]
    • ๐Ÿ— builder/hyperv: Add keep_registered option to hyperv [GH-7498]
    • ๐Ÿ— builder/qemu: Replace dot-based parsing with hashicorp/go-version [GH-7614]
    • ๐Ÿ— builder/vmware: Add 30 minute timeout for destroying a VM [GH-7553]
    • core: Cleanup cache of used port after closing [GH-7613]
    • ๐Ÿ— core: New option to set number of builds running in parallel & test BuildCommand more [GH-7501]
    • packer compiles on s390x [GH-7567]
    • โš  provisioner/file: Added warnings about writeable locations [GH-7494]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Fix bug that always encrypted build region with default key. [GH-7507]
    • ๐Ÿ— builder/amazon: Fix bug that wasn't deleting unencrypted temporary snapshots [GH-7521]
    • ๐Ÿ— builder/amazon: Fix EBSsurrogate copy, encryption, and deletion of temporary unencrypted amis. [GH-7598]
    • ๐Ÿ— builder/hyperv: Fixes IP detection error if more than one VMNetworkAdapter is found [GH-7480]
    • ๐Ÿ— builder/qemu: Fix mistake switching ssh port mix/max for vnc port min/max [GH-7615]
    • ๐Ÿ— builder/vagrant: Fix bug with builder and vagrant-libvirt plugin [GH-7633]
    • ๐Ÿ— builder/virtualbox: Don't fail download when checksum is not set. [GH-7512]
    • ๐Ÿ— builder/virtualbox: Fix ovf download failures by using local ovf files in place instead of symlinking [GH-7497]
    • ๐Ÿ— builder/vmware: Fix panic configuring VNC for remote builds [GH-7509]
    • ๐Ÿ— core/build: Allow building Packer on solaris by removing progress bar and tty imports on solaris [GH-7618]
    • core: Fix race condition causing hang [GH-7579]
    • core: Fix tty related panics [GH-7517]
    • ๐Ÿ core: Step download: Always copy local files on windows rather than symlinking them [GH-7575]
    • packer compiles on Solaris again [GH-7589] [GH-7618]
    • post-processor/vagrant: Fix bug in retry logic that caused failed upload to report success. [GH-7554]
  • v1.4.0 Changes

    April 11, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ— builder/alicloud: Improve error message for conflicting images name [GH-7415]
    • ๐Ÿ— builder/amazon-chroot: Allow users to specify custom block device mapping [GH-7370]
    • ๐Ÿ“š builder/ansible: Documentation fix explaining how to use ansible 2.7 + winrm [GH-7461]
    • ๐Ÿ— builder/azure-arm: specify zone resilient image from config [GH-7211]
    • ๐Ÿ builder/docker: Add support for windows containers [GH-7444]
    • ๐Ÿ— builder/openstack: Allow both ports and networks in openstack builder [GH-7451]
    • ๐Ÿ— builder/openstack: Expose force_delete for openstack builder [GH-7395]
    • ๐Ÿ— builder/OpenStack: Support Application Credential Authentication [GH-7300]
    • ๐Ÿ— builder/virtualbox: Add validation for 'none' communicator. [GH-7419]
    • ๐Ÿ— builder/virtualbox: create ephemeral SSH key pair for build process [GH-7287]
    • core: Add functionality to marshal a Template to valid Packer JSON [GH-7339]
    • core: Allow user variables to be interpreted within the variables section [GH-7390]
    • core: Incorporate the go-getter to handle downloads [GH-6999]
    • ๐Ÿ”’ core: Lock Packer VNC ports using a lock file to prevent collisions [GH-7422]
    • ๐Ÿ–จ core: Print VerifyChecksum log for the download as ui.Message output [GH-7387]
    • core: Users can now set provisioner timeouts [GH-7466]
    • core: Switch to using go mod for managing dependencies [GH-7270]
    • core: Select a new VNC port if initial port is busy [GH-7423]
    • ๐Ÿ— post-processor/googlecompute-export: Set network project id to builder [GH-7359]
    • ๐Ÿ— post-processor/vagrant-cloud: support for the vagrant builder [GH-7397]
    • post-processor/Vagrant: Option to ignore SSL verification when using on- premise vagrant cloud [GH-7377]
    • ๐Ÿ‘ postprocessor/amazon-import: Support S3 and AMI encryption. [GH-7396]
    • ๐Ÿ provisioner/shell provisioner/windows-shell: allow to specify valid exit codes [GH-7385]
    • ๐Ÿ”Š core: Filter sensitive variables out of the ui as well as the logs [GH-7462]

    ๐Ÿ› BUG FIXES:

    • โšก๏ธ builder/alibaba: Update to latest Alibaba Cloud official image to fix acceptance tests [GH-7375]
    • ๐Ÿ— builder/amazon-chroot: Fix building PV images and where mount_partition is set [GH-7337]
    • ๐Ÿ— builder/amazon: Fix http_proxy env var regression [GH-7361]
    • ๐Ÿ builder/azure: Fix: Power off before taking snapshot (windows) [GH-7464]
    • ๐Ÿ— builder/hcloud: Fix usage of freebsd64 rescue image [GH-7381]
    • ๐Ÿ builder/vagrant: windows : fix docs and usage [GH-7416] [GH-7417]
    • ๐Ÿ— builder/vmware-esxi: properly copy .vmxf files in remote vmx builds [GH-7357]
    • ๐Ÿง core: fix bug where Packer didn't pause in debug on certain linux platforms. [GH-7352]
    • ๐Ÿ— builder/amazon: Fix bug copying encrypted images between regions [GH-7342]

    BACKWARDS INCOMPATIBILITIES:

    • ๐Ÿ”’ builder/amazon: Change temporary_security_group_source_cidr to temporary_security_group_source_cidrs and allow it to accept a list of strings. [GH-7450]
    • ๐Ÿ— builder/amazon: If users do not pass any encrypt setting, retain any initial encryption setting of the AMI. [GH-6787]
    • โšก๏ธ builder/docker: Update docker's default config to use /bin/sh instead of /bin/bash [GH-7106]
    • ๐Ÿ— builder/hyperv: Change option names cpu->cpus and ram_size->memory to bring naming in line with vmware and virtualbox builders [GH-7447]
    • ๐Ÿ— builder/oracle-classic: Remove default ssh_username from oracle classic builder, but add note to docs with oracle's default user. [GH-7446]
    • builder/scaleway: Renamed attribute api_access_key to organization_id. [GH-6983]
    • Change clean_image name and clean_ami_name to a more general clean_resource name for Googlecompute, Azure, and AWS builders. [GH-7456]
    • core/post-processors: Change interface for post-processors to allow an overridable default for keeping input artifacts. [GH-7463]
  • v1.3.5 Changes

    February 28, 2019

    ๐Ÿ‘Œ IMPROVEMENTS:

    • โšก๏ธ builder/alicloud: Update aliyun sdk to support eu-west-1 region [GH-7338]
    • ๐Ÿ— builder/amazon: AWS users can now use the Vault AWS engine to generate temporary credentials. [GH-7282]
    • ๐Ÿ— builder/azure: IMDS to get subscription for Azure MSI [GH-7332]
    • ๐Ÿ— builder/openstack: Replaced deprecated compute/ api with imageservice/ [GH-7038]
    • โž• builder/virtualbox: New "guest_additions_interface" option to enable attaching via a SATA interface. [GH-7298]
    • ๐Ÿ— builder/vmware: Add cores option for specifying the number of cores per socket. [GH-7191]
    • ๐Ÿ—„ bulder/openstac: Deprecated compute/v2/images API [GH-7268]
    • core: Add validation check to help folks who swap their iso_path and checksum_path [GH-7311]
    • ๐Ÿ›  fixer/amazon: Make the amazon-private-ip fixer errors more visible [GH-7336]
    • post-processor/googlecompute-export: Extend auth for the GCE-post-processors to act like the GCE builder. [GH-7222]
    • post-processor/googlecompute-import: Extend auth for the GCE-post-processors to act like the GCE builder. [GH-7222]
    • post-processor/manifest: Add "custom_data" key to packer manifest post- processor [GH-7248]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ— builder/amazon: Fix support for aws-us-gov [GH-7347]
    • ๐Ÿ— builder/amazon: Move snapshot deletion to cleanup phase. [GH-7343]
    • ๐Ÿ— builder/azure: Fixed Azure interactive authentication [GH-7276]
    • โšก๏ธ builder/cloudstack: Updated sdk version; can now use ostype name in template_os option. [GH-7264]
    • ๐Ÿ“‡ builder/google: Change metadata url to use a FQDN fixing bug stemming from differing DNS/search domains. [GH-7260]
    • ๐Ÿ— builder/hyper-v: Fix integer overflows in 32-bit builds [GH-7251]
    • ๐Ÿ— builder/hyper-v: Fix regression where we improperly handled spaces in switch names [GH-7266]
    • ๐Ÿ— builder/openstack: Pass context So we know to cancel during WaitForImage [GH-7341]
    • ๐Ÿ— builder/vmware-esxi: Strip \r\n whitespace from end of names of files stored on esxi. [GH-7310]
    • ๐Ÿ— builder/vmware: Add "--noSSLVerify" to args in ovftool Validation [GH-7314]
    • core: clean up Makefile [GH-7254][GH-7265]
    • ๐Ÿ›  core: Fixes mismatches in checksums for dependencies for Go 1.11.4+ [GH-7261]
    • core: make sure 'only' option is completely ignored by post-processors [GH-7262]
    • core: name a post-processor to its type when it is not named [GH-7330]
    • provisioner/salt: Force powershell to overwrite duplicate files [GH-7281]

    ๐Ÿ”‹ Features:

    • ๐Ÿ†• new builder vagrant allows users to call vagrant to provision starting from vagrant boxes and save them as new vagrant boxes. [GH-7221]
    • ๐Ÿ†• new builder: hyperone for building new images on HyperOne Platform on top of existing image or from the scratch with the use of chroot. [GH-7294]
    • ๐Ÿ†• new post-processor digitalocean-importAdd digitalocean-import post- processor. [GH-7060]
    • ๐Ÿ†• new provisionerinspec Added inspec.io provisioner [GH-7180]
    • ๐Ÿ”ง communicator: Add configurable pause after communicator can connect but before it performs provisioning tasks [GH-7317] [GH-7351]