Packer v0.2.0 Release Notes

Release Date: 2013-07-16 // almost 11 years ago
  • BACKWARDS INCOMPATIBILITIES:

    • ๐Ÿ— "iso_md5" in the virtualbox and vmware builders is replaced with "iso_checksum" and "iso_checksum_type" (with the latter set to "md5"). See the announce below on packer fix to automatically fix your templates.

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• NEW COMMAND: packer fix will attempt to fix templates from older versions of Packer that are now broken due to backwards incompatibilities. This command will fix the backwards incompatibilities introduced in this version.
    • ๐Ÿ”’ Amazon EBS builder can now optionally use a pre-made security group instead of randomly generating one.
    • DigitalOcean API key and client IDs can now be passed in as environmental variables. See the documentation for more details.
    • VirtualBox and VMware can now have floppy_files specified to attach floppy disks when booting. This allows for unattended Windows installs.
    • ๐Ÿ— packer build has a new -force flag that forces the removal of existing artifacts if they exist. [GH-173]
    • ๐ŸŒฒ You can now log to a file (instead of just stderr) by setting the PACKER_LOG_FILE environmental variable. [GH-168]
    • Checksums other than MD5 can now be used. SHA1 and SHA256 can also be used. See the documentation on iso_checksum_type for more info. [GH-175]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • ๐Ÿ”ง core: invalid keys in configuration are now considered validation errors. [GH-104]
    • ๐Ÿ— core: all builders now share a common SSH connection core, improving SSH reliability over all the builders.
    • amazon-ebs: Credentials will come from IAM role if available. [GH-160]
    • amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169]
    • ๐Ÿ— shell provisioner: the build name and builder type are available in the PACKER_BUILD_NAME and PACKER_BUILDER_TYPE env vars by default, respectively. [GH-154]
    • vmware: error if shutdown command has non-zero exit status.

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ’ป core: UI messages are now properly prefixed with spaces again.
    • core: If SSH connection ends, re-connection attempts will take place. [GH-152]
    • virtualbox: "paused" doesn't mean the VM is stopped, improving shutdown detection.
    • vmware: error if guest IP could not be detected. [GH-189]