All Versions
88
Latest Version
Avg Release Cycle
4348157 days
Latest Release
1124 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v0.12.3 Changes
March 01, 2017BACKWARDS INCOMPATIBILITIES:
- 0๏ธโฃ provisioner/ansible: by default, the staging dir will be randomized. [GH-4472]
๐ FEATURES:
- ๐ New builder:
ebs-surrogate
for building AMIs from EBS volumes. [GH-4351]
๐ IMPROVEMENTS:
- ๐ builder/amazon-chroot: support encrypted boot volume. [GH-4584]
- ๐ builder/amazon: Add BuildRegion and SourceAMI template variables. [GH-4399]
- ๐ builder/amazon: Change EC2 Windows password timeout to 20 minutes. [GH-4590]
- ๐ builder/amazon: enable ena when
enhanced_networking
is set. [GH-4578] - builder/azure:: add two new config variables for temp_compute_name and temp_resource_group_name. [GH-4468]
- ๐ builder/docker: create export dir if needed. [GH-4439]
- builder/googlecompute: Add
on_host_maintenance
option. [GH-4544] - ๐ builder/openstack: add reuse_ips option to try to re-use existing IPs. [GH-4564]
- ๐ builder/vmware-esxi: try for longer to connect to vnc port. [GH-4480] [GH-4610]
- ๐ builder/vmware: allow extra options for ovftool. [GH-4536]
- ๐ builder/vmware: don't cache ip address so we know if it changes. [GH-4532]
- ๐ณ communicator/docker: preserve file mode. [GH-4443]
- communicator/ssh: Use SSH agent when enabled for bastion step. [GH-4598]
- ๐ communicator/winrm: support ProxyFromEnvironment. [GH-4463]
- ๐ป core: don't show ui color if we're not colorized. [GH-4525]
- core: make VNC links clickable in terminal. [GH-4497] [GH-4498]
- ๐ docs: add community page. [GH-4550]
- ๐ post-processor/amazon-import: support AMI attributes on import [GH-4216]
- ๐ณ post-processor/docker-import: print stderr on docker import failure. [GH-4529]
๐ BUG FIXES:
- ๐ builder/amazon-ebsvolume: Fix interpolation of block_device. [GH-4464]
- ๐ builder/amazon: Fix ssh agent authentication. [GH-4597]
- ๐ builder/docker: Don't force tag if using a docker version that doesn't support it. [GH-4560]
- ๐ builder/googlecompute: fix bug when creating image from custom image_family. [GH-4518]
- ๐ builder/virtualbox: remove guest additions before saving image. [GH-4496]
- core: always check for an error first when walking a path. [GH-4467]
- โก๏ธ core: update crypto/ssh lib to fix large file uploads. [GH-4546]
- provisioner/chef-client: only upload knife config if we're cleaning. [GH-4534]
-
v0.12.2 Changes
January 20, 2017๐ FEATURES:
- ๐ New builder:
triton
for building images for Joyent Triton. [GH-4325] - ๐ New provisioner:
converge
for provisioning with converge.sh. [GH-4326]
๐ IMPROVEMENTS:
- builder/hyperv-iso: add
iso_target_extension
option. [GH-4294] - ๐ builder/openstack: Add support for instance metadata. [GH-4361]
- ๐ builder/openstack: Attempt to use existing floating IPs before allocating a new one. [GH-4357]
- builder/parallels-iso: add
iso_target_extension
option. [GH-4294] - builder/qemu: add
iso_target_extension
option. [GH-4294] - 0๏ธโฃ builder/qemu: add
use_default_display
option for osx compatibility. [GH-4293] - ๐ builder/qemu: Detect input disk image format during copy/convert. [GH-4343]
- builder/virtualbox-iso: add
iso_target_extension
option. [GH-4294] - ๐ builder/virtualbox: add
skip_export
option to skip exporting the VM after build completes. [GH-4339] - ๐ builder/vmware & builder/qemu: Allow configurable delay between keystrokes when typing boot command. [GH-4403]
- builder/vmware-iso: add
iso_target_extension
option. [GH-4294] - ๐ builder/vmware-iso: add
skip_export
option to skip exporting the VM after build completes. [GH-4378] - ๐ builder/vmware: Try to use
ip address
to find host IP. [GH-4411] - common/step_http_server: set
PACKER_HTTP_ADDR
env var for accessing http server from inside builder. [GH-4409] - provisioner/powershell: Allow equals sign in value of environment variables. [GH-4328]
- 0๏ธโฃ provisioner/puppet-server: Add default facts. [GH-4286]
๐ BUG FIXES:
- ๐ builder/amazon-chroot: Panic in AMI region copy step. [GH-4341]
- ๐ builder/amazon: Crashes when new EBS vols are used. [GH-4308]
- ๐ builder/amazon: Fix crash in amazon-instance. [GH-4372]
- ๐ builder/amazon: fix run volume tagging [GH-4420]
- builder/amazon: fix when using non-existent security_group_id. [GH-4425]
- ๐ builder/amazon: Properly error if we don't have the ec2:DescribeSecurityGroups permission. [GH-4304]
- ๐ builder/amazon: Properly wait for security group to exist. [GH-4369]
- ๐ builder/docker: Fix crash when performing log in to ECR with an invalid URL. [GH-4385]
- ๐ builder/openstack: fix for finding resource by ID. [GH-4301]
- ๐ builder/qemu: Explicitly set WinRMPort for StepConnect. [GH-4321]
- ๐ builder/virtualbox: Explicitly set WinRMPort for StepConnect. [GH-4321]
- ๐ builder/virtualbox: Pause between each boot command element in -debug. [GH-4346]
- ๐ builder/vmware builder/parallels: Fix hang when shutting down windows in certain cases. [GH-4436]
- command/push: Don't interpolate variables when pushing. [GH-4389]
- common/step_http_server: make port range inclusive. [GH-4398]
- โก๏ธ communicator/winrm: update winrm client, resolving
MaxMemoryPerShellMB
errors and properly error logging instead of panicking. [GH-4412] [GH-4424] - ๐ provider/windows-shell: Allows equals sign in env var value. [GH-4423]
- ๐ New builder:
-
v0.12.1 Changes
December 15, 2016BACKWARDS INCOMPATIBILITIES:
ssh_username
is now required if using communicator ssh. [GH-4172]- builder/amazon: Change
shutdown_behaviour
toshutdown_behavior
. Run "packer fix template.json" to migrate a template. [GH-4285] - ๐ builder/openstack: No long supports the
api_key
option for rackspace. [GH-4283] - post-processor/manifest: Changed
filename
field to beoutput
, to be more consistent with other post-processors.packer fix
will fix this for you. [GH-4192] - ๐ post-processor/shell-local: Now runs per-builder instead of per-file. The filename is no longer passed in as an argument to the script, but instead needs to be gleaned from the manifest post-processor. [GH-4189]
๐ FEATURES:
- ๐ New builder: "Hyper-V" Added new builder for Hyper-V on Windows. [GH-2576]
- ๐ New builder: "1&1" Added new builder for 1&1. [GH-4163]
๐ IMPROVEMENTS:
- ๐ builder/amazon-ebs: Support specifying KMS key for encryption. [GH-4023]
- ๐ builder/amazon-ebsvolume: Add artifact output. [GH-4141]
- ๐ builder/amazon: Add
snapshot_tag
overrides. [GH-4015] - ๐ builder/amazon: Added new region London - eu-west-2. [GH-4284]
- ๐ builder/amazon: Added ca-central-1 to list of known aws regions. [GH-4274]
- โ builder/amazon: Adds
force_delete_snapshot
flag to also cleanup snapshots if we're removing a preexisting image, as withforce_deregister_image
. [GH-4223] - ๐ builder/amazon: Support
snapshot_users
andsnapshot_groups
for sharing ebs snapshots. [GH-4243] - ๐ builder/cloudstack: Support reusing an already associated public IP. [GH-4149]
- ๐ builder/docker: Introduce docker commit changes, author, and message. [GH-4202]
- builder/googlecompute: Support
source_image_family
. [GH-4162] - ๐ builder/googlecompute: enable support for Google Compute XPN. [GH-4288]
- ๐ builder/openstack: Added
image_members
to add new members to image after it's created. [GH-4283] - ๐ builder/openstack: Added
image_visibility
field to specify visibility of created image. [GH-4283] - ๐ builder/openstack: Automatically reauth as needed. [GH-4262]
- ๐ builder/virtualbox-ovf: Can now give a URL to an ova file. [GH-3982]
- communicator/ssh: adds ability to download download directories and wildcards, fix destination file mode (not hardcoded anymore). [GH-4210]
- ๐ post-processor/shell-local: support spaces in script path. [GH-4144]
- provisioner/ansible: Allow
winrm
communicator. [GH-4209] - provisioner/salt: Bootstrap fallback on wget if curl failed. [GH-4244]
๐ BUG FIXES:
- builder/amazon: Correctly assign key from
ssh_keypair_name
to source instance. [GH-4222] - builder/amazon: Fix
source_ami_filter
ignoresowners
. [GH-4235] - ๐ builder/amazon: Fix launching spot instances in EC2 Classic [GH-4204]
- ๐ builder/qemu: Fix issue where multiple commands on a single line in boot_command wouldn't be parsed correctly. [GH-4269]
- core: Unbreak glob patterns in
floppy_files
. [GH-3890] - post-processor/checksum: cleanup, and fix output to specified file with more than one artifacts. [GH-4210]
- post-processor/checksum: reset hash after each artifact file. [GH-4210]
- provisioner/file: fix for directory download. [GH-4210]
- provisioner/file: fix issue uploading multiple files to a directory, mentioned in [GH-4049]. [GH-4210]
- provisioner/shell: Treat disconnects as retryable when running cleanup. If you have a reboot in your script, we'll now wait until the host is available before attempting to cleanup the script. [GH-4197]
-
v0.12.0 Changes
November 15, 2016๐ FEATURES:
- ๐ New builder: "cloudstack" Can create new templates for use with CloudStack taking either an ISO or existing template as input. [GH-3909]
- ๐ New builder: "profitbricks" Builder for creating images in the ProfitBricks cloud. [GH-3660]
- ๐ New builder: "amazon-ebsvolume" Can create Amazon EBS volumes which are preinitialized with a filesystem and data. [GH-4088]
๐ IMPROVEMENTS:
- ๐ builder/amazon: Allow polling delay override with
AWS_POLL_DELAY_SECONDS
. [GH-4083] - ๐ builder/amazon: Allow use of local SSH Agent. [GH-4050]
- ๐ builder/amazon: Dynamic source AMI [GH-3817]
- builder/amazon: Show AMI ID found when using
source_ami_filter
. [GH-4096] - builder/googlecompute: Support
ssh_private_key_file
in communicator. [GH-4101] - ๐ builder/googlecompute: Support custom scopes. [GH-4043]
- command/push: Fix variable pushes to Atlas. Still needs Atlas server to be updated before the issue will be fixed completely. [GH-4089]
- ๐ communicator/ssh: Improved SSH upload performance. [GH-3940]
- ๐ contrib/azure-setup.sh: Support for azure-cli 0.10.7. [GH-4133]
- ๐ docs: Fix command line variable docs. [GH-4143]
- ๐ post-processor/vagrant: Fixed inconsistency between vagrant-libvirt driver and packer QEMU accelerator. [GH-4104]
- ๐ provisioner/ansible: Move info messages to log [GH-4123]
- provisioner/puppet: Add
puppet_bin_dir
option. [GH-4014] - provisioner/salt: Add
salt_call_args
option. [GH-4158]
๐ BUG FIXES:
- ๐ builder/amazon: Fixed an error where we wouldn't fail the build even if we timed out waiting for the temporary security group to become available. [GH-4099]
- ๐ builder/amazon: Properly cleanup temporary key pairs. [GH-4080]
- ๐ builder/google: Fix issue where we'd hang waiting for a startup script which doesn't exist. [GH-4102]
- ๐ builder/qemu: Fix keycodes for ctrl, shift and alt keys. [GH-4115]
- ๐ builder/vmware: Fix keycodes for ctrl, shift and alt keys. [GH-4115]
- ๐ builder/vmware: Fixed build error when shutting down. [GH-4041]
- common/step_create_floppy: Fixed support for 1.44MB floppies on Windows. [GH-4135]
- ๐ post-processor/googlecompute-export: Fixes scopes. [GH-4147]
- โช provisioner/powershell: Reverted [GH-3371] fixes quoting issue. [GH-4069]
- ๐ scripts: Fix build under Windows for go 1.5. [GH-4142]
-
v0.11.0 Changes
October 21, 2016BACKWARDS INCOMPATIBILITIES:
- ๐ง VNC and VRDP-like features in VirtualBox, VMware, and QEMU now configurable but bind to 127.0.0.1 by default to improve security. See the relevant builder docs for more info.
- ๐ Docker builder requires Docker > 1.3
- 0๏ธโฃ provisioner/chef-solo: default staging directory renamed to
packer-chef-solo
. [GH-3971]
๐ FEATURES:
- ๐ New Checksum post-processor: Create a checksum file from your build artifacts as part of your build. [GH-3492] [GH-3790]
- ๐ New build flag
-on-error
to allow inspection and keeping artifacts on builder errors. [GH-3885] - ๐ New Google Compute Export post-processor: exports an image from a Packer googlecompute builder run and uploads it to Google Cloud Storage. [GH-3760]
- ๐ New Manifest post-processor: writes metadata about packer's output artifacts data to a JSON file. [GH-3651]
๐ IMPROVEMENTS:
- builder/amazon: Added
disable_stop_instance
option to prevent automatic shutdown when the build is complete. [GH-3352] - ๐ builder/amazon: Added
shutdown_behavior
option to supportstop
orterminate
at the end of the build. [GH-3556] - builder/amazon: Added
skip_region_validation
option to allow newer or custom AWS regions. [GH-3598] - ๐ builder/amazon: Added
us-east-2
andap-south-1
regions. [GH-4021] [GH-3663] - ๐ builder/amazon: Support building from scratch with amazon-chroot builder. [GH-3855] [GH-3895]
- ๐ builder/amazon: Support create an AMI with an
encrypt_boot
volume. [GH-3382] - builder/azure: Add
os_disk_size_gb
. [GH-3995] - ๐ builder/azure: Add location to setup script. [GH-3803]
- ๐ builder/azure: Allow user to set custom data. [GH-3996]
- ๐ builder/azure: Made
tenant_id
optional. [GH-3643] - builder/azure: Now pre-validates
capture_container_name
andcapture_name_prefix
[GH-3537] - ๐ builder/azure: Removed superfluous polling code for deployments. [GH-3638]
- ๐ builder/azure: Support for a user defined VNET. [GH-3683]
- ๐ builder/azure: Support for custom images. [GH-3575]
- ๐ builder/azure: tag all resources. [GH-3764]
- builder/digitalocean: Added
user_data_file
support. [GH-3933] - ๐ builder/digitalocean: Fixes timeout waiting for snapshot. [GH-3868]
- ๐ builder/digitalocean: Use
state_timeout
for unlock and off transitions. [GH-3444] - ๐ builder/docker: Improved support for Docker pull from Amazon ECR. [GH-3856]
- ๐ builder/google: Add
-force
option to delete old image before creating new one. [GH-3918] - ๐ builder/google: Add image license metadata. [GH-3873]
- ๐ builder/google: Added support for
image_family
[GH-3531] - ๐ builder/google: Added support for startup scripts. [GH-3639]
- ๐ builder/google: Create passwords for Windows instances. [GH-3932]
- ๐ builder/google: Enable to select NVMe images. [GH-3338]
- ๐ builder/google: Signal that startup script fished via metadata. [GH-3873]
- ๐ builder/google: Use gcloud application default credentials. [GH-3655]
- ๐ builder/google: provision VM without external IP address. [GH-3774]
- ๐ builder/null: Can now be used with WinRM. [GH-2525]
- ๐ builder/openstack: Added support for
ssh_password
instead of generating ssh keys. [GH-3976] - ๐ builder/parallels: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - ๐ builder/parallels: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/parallels: Now pauses between
boot_command
entries when running with-debug
[GH-3547] - ๐ builder/parallels: Support future versions of Parallels by using the latest driver. [GH-3673]
- ๐ builder/qemu: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/qemu: Added
vnc_bind_address
option. [GH-3574] - ๐ builder/qemu: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/qemu: Now pauses between
boot_command
entries when running with-debug
[GH-3547] - ๐ builder/qemu: Specify disk format when starting qemu. [GH-3888]
- builder/virtualbox-iso: Added
hard_drive_nonrotational
andhard_drive_discard
options to enable trim/discard. [GH-4013] - ๐ builder/virtualbox-iso: Added
keep_registered
option to skip cleaning up the image. [GH-3954] - ๐ builder/virtualbox: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/virtualbox: Added
post_shutdown_delay
option to wait after shutting down to prevent issues removing floppy drive. [GH-3952] - builder/virtualbox: Added
vrdp_bind_address
option. [GH-3566] - ๐ builder/virtualbox: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/virtualbox: Now pauses between
boot_command
entries when running with-debug
[GH-3542] - builder/vmware-vmx: Added
tools_upload_flavor
andtools_upload_path
to docs. - ๐ builder/vmware: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/vmware: Added
vnc_bind_address
option. [GH-3565] - ๐ builder/vmware: Adds passwords for VNC. [GH-2325]
- ๐ builder/vmware: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/vmware: Handle connection to VM with more than one NIC on ESXi [GH-3347]
- ๐ builder/vmware: Now paused between
boot_command
entries when running with-debug
[GH-3542] - ๐ core: Supress plugin discovery from plugins. [GH-4002]
- โ core: Test floppy disk files actually exist. [GH-3756]
- ๐ฒ core: setting
PACKER_LOG=0
now disables logging. [GH-3964] - ๐ post-processor/amazon-import: Support
ami_name
for naming imported AMI. [GH-3941] - ๐ post-processor/compress: Added support for bgzf compression. [GH-3501]
- ๐ณ post-processor/docker: Improved support for Docker push to Amazon ECR. [GH-3856]
- ๐ณ post-processor/docker: Preserve tags when running docker push. [GH-3631]
- ๐ post-processor/vagrant: Added vsphere-esx hosts to supported machine types. [GH-3967]
- ๐ provisioner/ansible-local: Support for ansible-galaxy. [GH-3350] [GH-3836]
- ๐ฒ provisioner/ansible: Improved logging and error handling. [GH-3477]
- ๐ provisioner/ansible: Support scp. [GH-3861]
- 0๏ธโฃ provisioner/chef: Added
knife_command
option and added a correct default value for Windows. [GH-3622] - ๐ provisioner/chef: Installs 64bit chef on Windows if available. [GH-3848]
- provisioner/file: Now makes destination directory. [GH-3692]
- provisioner/puppet: Added
execute_command
option. [GH-3614] - provisioner/salt: Added
custom_state
to specify state to run instead ofhighstate
. [GH-3776] - provisioner/shell: Added
expect_disconnect
flag to fail if remote unexpectedly disconnects. [GH-4034] - scripts: Added
help
target to Makefile. [GH-3290] - ๐ vendor: Moving from Godep to govendor. See
CONTRIBUTING.md
for details. [GH-3956] - website: code examples now use inconsolata. Improve code font rendering on linux.
๐ BUG FIXES:
- ๐ builder/amazon: Add 0.5 cents to discovered spot price. [GH-3662]
- builder/amazon: Allow using
ssh_private_key_file
andssh_password
. [GH-3953] - ๐ builder/amazon: Fix packer crash when waiting for SSH. [GH-3865]
- builder/amazon: Honor ssh_private_ip flag in EC2-Classic. [GH-3752]
- ๐ builder/amazon: Properly clean up EBS volumes on failure. [GH-3789]
- builder/amazon: Use
temporary_key_pair_name
when specified. [GH-3739] - ๐ builder/amazon: retry creating tags on images since the images might take some time to become available. [GH-3938]
- ๐ builder/azure: Fix authorization setup script failing to creating service principal. [GH-3812]
- ๐ builder/azure: check for empty resource group. [GH-3606]
- ๐ builder/azure: fix token validity test. [GH-3609]
- ๐ builder/docker: Fix file provisioner dotfile matching. [GH-3800]
- ๐ builder/docker: fix docker builder with ansible provisioner. [GH-3476]
- ๐ builder/qemu: Don't fail on communicator set to
none
. [GH-3681] - builder/qemu: Make
ssh_host_port_max
an inclusive bound. [GH-2784] - builder/virtualbox: Make
ssh_host_port_max
an inclusive bound. [GH-2784] - ๐ builder/virtualbox: Respect
ssh_host
[GH-3617] - ๐ builder/vmware: Do not add remotedisplay.vnc.ip to VMX data on ESXi [GH-3740]
- ๐ builder/vmware: Don't check for poweron errors on ESXi. [GH-3195]
- ๐ builder/vmware: Re-introduce case sensitive VMX keys. [GH-2707]
- builder/vmware: Respect
ssh_host
/winrm_host
on ESXi. [GH-3738] - command/push: Allows dot (
.
) in image names. [GH-3937] - common/iso_config: fix potential panic when iso checksum url was given but not the iso url. [GH-4004]
- ๐ communicator/ssh: fixed possible panic when reconnecting fails. [GH-4008]
- communicator/ssh: handle error case where server closes the connection but doesn't give us an error code. [GH-3966]
- post-processor/shell-local: Do not set execute bit on artifact file. [GH-3505]
- post-processor/vsphere: Fix upload failures with vsphere. [GH-3321]
- provisioner/ansible: Properly set host key checking even when a custom ENV is specified. [GH-3568]
- provisioner/file: Fix directory download. [GH-3899]
- ๐ provisioner/powershell: fixed issue with setting environment variables. [GH-2785]
- website: improved rendering on iPad. [GH-3780]
-
v0.10.2 Changes
September 20, 2016๐ BUG FIXES:
- Rebuilding with OS X Sierra and go 1.7.1 to fix bug in Sierra
-
v0.10.1 Changes
May 07, 2016๐ FEATURES:
- ๐
azure-arm
builder: Can now build Windows images, and supports additional configuration. Please refer to the documentation for details.
๐ IMPROVEMENTS:
- core: Added support for
ATLAS_CAFILE
andATLAS_CAPATH
[GH-3494] - ๐ builder/azure: Improved build cancellation and cleanup of partially- provisioned resources. [GH-3461]
- ๐ builder/azure: Improved logging. [GH-3461]
- ๐ builder/azure: Added support for US Government and China clouds. [GH-3461]
- ๐ builder/azure: Users may now specify an image version. [GH-3461]
- ๐ builder/azure: Added device login. [GH-3461]
- ๐ builder/docker: Added
privileged
build option. [GH-3475] - ๐ builder/google: Packer now identifies its version to the service. [GH-3465]
- provisioner/shell: Added
remote_folder
andremote_file
options [GH-3462] - ๐ post-processor/compress: Added support for
bgzf
format and addedformat
option. [GH-3501]
๐ BUG FIXES:
- core: Fix hang after pressing enter key in
-debug
mode. [GH-3346] - provisioner/chef: Use custom values for remote validation key path [GH-3468]
- ๐
-
v0.10.0 Changes
March 14, 2016BACKWARDS INCOMPATIBILITIES:
- ๐ Building Packer now requires go >= 1.5 (>= 1.6 is recommended). If you want
to continue building with go 1.4 you can remove the
azurearmbuilder
line fromcommand/plugin.go
.
๐ FEATURES:
- ๐ New
azure-arm
builder: Build virtual machines in Azure Resource Manager
๐ IMPROVEMENTS:
- ๐ builder/google: Added support for
disk_type
[GH-2830] - ๐ builder/openstack: Added support for retrieving the Administrator password
when using WinRM if no
winrm_password
is set. [GH-3209] - provisioner/ansible: Added the
empty_groups
parameter. [GH-3232] - provisioner/ansible: Added the
user
parameter. [GH-3276] - ๐ provisioner/ansible: Don't use deprecated ssh option with Ansible 2.0 [GH-3291]
- provisioner/puppet-masterless: Add
ignore_exit_codes
parameter. [GH-3349]
๐ BUG FIXES:
- ๐ builders/parallels: Handle
output_directory
containing.
and..
[GH-3239] - provisioner/ansible: os.Environ() should always be passed to the ansible command. [GH-3274]
- ๐ Building Packer now requires go >= 1.5 (>= 1.6 is recommended). If you want
to continue building with go 1.4 you can remove the
-
v0.9.0 Changes
February 19, 2016BACKWARDS INCOMPATIBILITIES:
- ๐ Packer now ships as a single binary, including plugins. If you install packer 0.9.0 over a previous packer installation, you must delete all of the packer-* plugin files or packer will load out-of-date plugins from disk.
- ๐ Release binaries are now provided via https://releases.hashicorp.com.
- Packer 0.9.0 is now built with Go 1.6.
- ๐ core: Plugins that implement the Communicator interface must now implement a DownloadDir method. [GH-2618]
- ๐ builder/amazon: Inline
user_data
for EC2 is now base64 encoded automatically. [GH-2539] - builder/parallels:
parallels_tools_host_path
andguest_os_distribution
have been replaced byguest_os_type
; usepacker fix
to update your templates. [GH-2751]
๐ FEATURES:
- ๐ Chef on Windows: The chef provisioner now has native support for Windows using Powershell and WinRM. [GH-1215]
- ๐ New
vmware-esxi
feature: Packer can now export images from vCloud or vSphere during the build. [GH-1921] - ๐ New Ansible Provisioner:
ansible
provisioner supports remote provisioning to keep your build image cleaner. [GH-1969] - ๐ New Amazon Import post-processor:
amazon-import
allows you to upload an OVA-based VM to Amazon EC2. [GH-2962] - Shell Local post-processor:
shell-local
allows you to run shell commands on the host after a build has completed for custom packaging or publishing of your artifacts. [GH-2706] - Artifice post-processor: Override packer artifacts during post- processing. This allows you to extract artifacts from a packer builder and use them with other post-processors like compress, docker, and Atlas.
๐ IMPROVEMENTS:
- ๐ core: Packer plugins are now compiled into the main binary, reducing file size and build times, and making packer easier to install. The overall plugin architecture has not changed and third-party plugins can still be loaded from disk. Please make sure your plugins are up-to-date! [GH-2854]
- ๐ core: Packer now indicates line numbers for template parse errors. [GH-2742]
- core: Scripts are executed via
/usr/bin/env bash
instead of/bin/bash
for broader compatibility. [GH-2913] - ๐ core:
target_path
for builder downloads can now be specified. [GH-2600] - ๐ core: WinRM communicator now supports HTTPS protocol. [GH-3061]
- core: Template syntax errors now show line, column, offset. [GH-3180]
- ๐ core: SSH communicator now supports downloading directories. [GH-2618]
- โก๏ธ builder/amazon: Add support for
ebs_optimized
[GH-2806] - ๐ builder/amazon: You can now specify
0
forspot_price
to switch to on demand instances. [GH-2845] - ๐ builder/amazon: Added
ap-northeast-2
(Seoul) [GH-3056] - ๐ builder/amazon: packer will try to derive the AZ if only a subnet is specified. [GH-3037]
- ๐ builder/digitalocean: doubled instance wait timeouts to power off or shutdown (now 4 minutes) and to complete a snapshot (now 20 minutes) [GH-2939]
- ๐ builder/google:
account_file
can now be provided as a JSON string [GH-2811] - ๐ builder/google: added support for
preemptible
instances. [GH-2982] - ๐ builder/google: added support for static external IPs via
address
option [GH-3030] - ๐ builder/openstack: added retry on WaitForImage 404. [GH-3009]
- builder/openstack: Can specify
source_image_name
instead of the ID [GH-2577] - ๐ builder/openstack: added support for SSH over IPv6. [GH-3197]
- ๐ builder/parallels: Improve support for Parallels 11. [GH-2662]
- ๐ builder/parallels: Parallels disks are now compacted by default. [GH-2731]
- ๐ builder/parallels: Packer will look for Parallels in
/Applications/Parallels Desktop.app
if it is not detected automatically [GH-2839] - ๐ builder/qemu: qcow2 images are now compacted by default. [GH-2748]
- ๐ builder/qemu: qcow2 images can now be compressed. [GH-2748]
- ๐ builder/qemu: Now specifies
virtio-scsi
by default. [GH-2422] - ๐ builder/qemu: Now checks for version-specific options. [GH-2376]
- builder/qemu: Can now bypass disk cache using
iso_skip_cache
[GH-3105] - ๐ builder/qemu:
<wait>
inboot_command
now accepts an arbitrary duration like [GH-3129] - ๐ builder/qemu: Expose
{{ .SSHHostPort }}
in templates. [GH-2884] - ๐ builder/virtualbox: Added VRDP for debugging. [GH-3188]
- ๐ builder/vmware-esxi: Added private key auth for remote builds via
remote_private_key_file
[GH-2912] - ๐ post-processor/atlas: Added support for compile ID. [GH-2775]
- ๐ณ post-processor/docker-import: Can now import Artifice artifacts. [GH-2718]
- provisioner/chef: Added
encrypted_data_bag_secret_path
option. [GH-2653] - provisioner/puppet: Added the
extra_arguments
parameter. [GH-2635] - provisioner/salt: Added
no_exit_on_failure
,log_level
, and improvements to salt command invocation. [GH-2660]
๐ BUG FIXES:
- ๐ core: Random number generator is now seeded. [GH-2640]
- core: Packer should now have a lot less race conditions. [GH-2824]
- ๐ builder/amazon: The
no_device
option for block device mappings is now handled correctly. [GH-2398] - ๐ builder/amazon: AMI name validation now matches Amazon's spec. [GH-2774]
- ๐ builder/amazon: Use snapshot size when volume size is unspecified. [GH-2480]
- ๐ builder/amazon: Pass AccessKey and SecretKey when uploading bundles for instance-backed AMIs. [GH-2596]
- ๐ builder/parallels: Added interpolation in
prlctl_post
[GH-2828] - ๐ builder/vmware:
format
option is now read correctly. [GH-2892] - ๐ builder/vmware-esxi: Correct endless loop in destroy validation logic [GH-2911]
- provisioner/shell: No longer leaves temp scripts behind. [GH-1536]
- provisioner/winrm: Now waits for reboot to complete before continuing with provisioning. [GH-2568]
- ๐ณ post-processor/artifice: Fix truncation of files downloaded from Docker. [GH-2793]
-
v0.8.6 Changes
August 22, 2015๐ IMPROVEMENTS:
- ๐ builder/docker: Now supports Download so it can be used with the file provisioner to download a file from a container. [GH-2585]
- ๐ builder/docker: Now verifies that the artifact will be used before the build
starts, unless the
discard
option is specified. This prevent failures after the build completes. [GH-2626] - ๐ post-processor/artifice: Now supports glob-like syntax for filenames. [GH-2619]
- post-processor/vagrant: Like the compress post-processor, vagrant now uses a parallel gzip algorithm to compress vagrant boxes. [GH-2590]
๐ BUG FIXES:
- core: When
iso_url
is a local file and the checksum is invalid, the local file will no longer be deleted. [GH-2603] - builder/parallels: Fix interpolation in
parallels_tools_guest_path
[GH-2543]