Packer v0.12.1 Release Notes
Release Date: 2016-12-15 // over 7 years ago-
BACKWARDS 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]