All Versions
88
Latest Version
Avg Release Cycle
4348157 days
Latest Release
1245 days ago
Changelog History
Page 2
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
andAWS_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]
- builder/amazon: Add ability to set
-
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
totemporary_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-import
Add digitalocean-import post- processor. [GH-7060] - ๐ new provisioner
inspec
Added inspec.io provisioner [GH-7180] - ๐ง communicator: Add configurable pause after communicator can connect but before it performs provisioning tasks [GH-7317] [GH-7351]