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 to shutdown_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 be output, 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 with force_deregister_image. [GH-4223]
    • ๐Ÿ‘‰ builder/amazon: Support snapshot_users and snapshot_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 ignores owners. [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]