Packer v0.7.0 Release Notes

Release Date: 2014-09-08 // over 9 years ago
  • BACKWARDS INCOMPATIBILITIES:

    • ๐Ÿ”ง The authentication configuration for Google Compute Engine has changed. The new method is much simpler, but is not backwards compatible. packer fix will not fix this. Please read the updated GCE docs.

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• New Post-Processor: compress - Gzip compresses artifacts with files.
    • ๐Ÿ†• New Post-Processor: docker-save - Save an image. This is similar to export, but preserves the image hierarchy.
    • ๐Ÿ†• New Post-Processor: docker-tag - Tag a created image.
    • ๐Ÿ†• New Template Functions: upper, lower - See documentation for more details.
    • ๐Ÿ”Œ core: Plugins are automatically discovered if they're named properly. Packer will look in the PWD and the directory with packer for binaries named packer-TYPE-NAME.
    • ๐Ÿ”Œ core: Plugins placed in ~/.packer.d/plugins are now automatically discovered.
    • ๐Ÿ— builder/amazon: Spot instances can now be used to build EBS backed and instance store images. [GH-1139]
    • ๐Ÿ— builder/docker: Images can now be committed instead of exported. [GH-1198]
    • ๐Ÿ— builder/virtualbox-ovf: New import_flags setting can be used to add new command line flags to VBoxManage import to allow things such as EULAs to be accepted. [GH-1383]
    • ๐Ÿ— builder/virtualbox-ovf: Boot commands and the HTTP server are supported. [GH-1169]
    • ๐Ÿ— builder/vmware: VMware Player 6 is now supported. [GH-1168]
    • ๐Ÿ— builder/vmware-vmx: Boot commands and the HTTP server are supported. [GH-1169]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • core: isotime function can take a format. [GH-1126]
    • ๐Ÿ”’ builder/amazon/all: AWS_SECURITY_TOKEN is read and can also be set with the token configuration. [GH-1236]
    • ๐Ÿ— builder/amazon/all: Can force SSH on the private IP address with ssh_private_ip. [GH-1229]
    • ๐Ÿ— builder/amazon/all: String fields in device mappings can use variables. [GH-1090]
    • ๐Ÿ— builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453]
    • ๐Ÿ— builder/digitalocean: Can set API URL endpoint. [GH-1448]
    • ๐Ÿ— builder/digitalocean: Region supports variables. [GH-1452]
    • ๐Ÿ— builder/docker: Can now specify login credentials to pull images.
    • ๐Ÿ— builder/docker: Support mounting additional volumes. [GH-1430]
    • ๐Ÿ— builder/parallels/all: Path to tools ISO is calculated automatically. [GH-1455]
    • ๐Ÿ— builder/parallels-pvm: reassign_mac option to choose whether or not to generate a new MAC address. [GH-1461]
    • ๐Ÿ— builder/qemu: Can specify "none" acceleration type. [GH-1395]
    • ๐Ÿ— builder/qemu: Can specify "tcg" acceleration type. [GH-1395]
    • ๐Ÿ— builder/virtualbox/all: iso_interface option to mount ISO with SATA. [GH-1200]
    • ๐Ÿ— builder/vmware-vmx: Proper floppy_files support. [GH-1057]
    • ๐Ÿ— command/build: Add -color=false flag to disable color. [GH-1433]
    • ๐Ÿณ post-processor/docker-push: Can now specify login credentials. [GH-1243]
    • ๐Ÿ‘ provisioner/chef-client: Support chef_environment. [GH-1190]

    ๐Ÿ› BUG FIXES:

    • core: nicer error message if an encrypted private key is used for SSH. [GH-1445]
    • core: Fix crash that could happen with a well timed double Ctrl-C. [GH-1328] [GH-1314]
    • core: SSH TCP keepalive period is now 5 seconds (shorter). [GH-1232]
    • ๐Ÿ— builder/amazon-chroot: Can properly build HVM images now. [GH-1360]
    • ๐Ÿ— builder/amazon-chroot: Fix crash in root device check. [GH-1360]
    • ๐Ÿ— builder/amazon-chroot: Add description that Packer made the snapshot with a time. [GH-1388]
    • ๐Ÿ— builder/amazon-ebs: AMI is deregistered if an error. [GH-1186]
    • ๐Ÿ— builder/amazon-instance: Fix deprecation warning for ec2-bundle-vol [GH-1424]
    • ๐Ÿ— builder/amazon-instance: Add --no-filter to the ec2-bundle-vol command by default to avoid corrupting data by removing package manager certs. [GH-1137]
    • builder/amazon/all: delete_on_termination set to false will work.
    • ๐Ÿ— builder/amazon/all: Fix race condition on setting tags. [GH-1367]
    • ๐Ÿ— builder/amazon/all: More descriptive error messages if Amazon only sends an error code. [GH-1189]
    • ๐Ÿ— builder/docker: Error if DOCKER_HOST is set.
    • ๐Ÿ— builder/docker: Remove the container during cleanup. [GH-1206]
    • ๐Ÿ— builder/docker: Fix case where not all output would show up from provisioners.
    • ๐Ÿ— builder/googlecompute: add disk_size option. [GH-1397]
    • ๐Ÿ— builder/googlecompute: Auth works with latest formats on Google Cloud Console. [GH-1344]
    • ๐Ÿ— builder/openstack: Region is not required. [GH-1418]
    • ๐Ÿ— builder/parallels-iso: ISO not removed from VM after install. [GH-1338]
    • ๐Ÿ— builder/parallels/all: Add support for Parallels Desktop 10. [GH-1438]
    • ๐Ÿ— builder/parallels/all: Added some navigation keys. [GH-1442]
    • ๐Ÿ— builder/qemu: If headless, sdl display won't be used. [GH-1395]
    • ๐Ÿ— builder/qemu: Use 512M as -m default. [GH-1444]
    • builder/virtualbox/all: Search VBOX_MSI_INSTALL_PATH for path to VBoxManage on Windows. [GH-1337]
    • ๐Ÿ— builder/virtualbox/all: Seed RNG to avoid same ports. [GH-1386]
    • ๐Ÿ— builder/virtualbox/all: Better error if guest additions URL couldn't be detected. [GH-1439]
    • ๐Ÿ— builder/virtualbox/all: Detect errors even when VBoxManage exits with a zero exit code. [GH-1119]
    • ๐Ÿ— builder/virtualbox/iso: Append timestamp to default name for parallel builds. [GH-1365]
    • ๐Ÿ— builder/vmware/all: No more error when Packer stops an already-stopped VM. [GH-1300]
    • ๐Ÿ— builder/vmware/all: ssh_host accepts templates. [GH-1396]
    • ๐Ÿ— builder/vmware/all: Don't remount floppy in VMX post step. [GH-1239]
    • ๐Ÿ— builder/vmware/vmx: Do not re-add floppy disk files to VMX. [GH-1361]
    • builder/vmware-iso: Fix crash when vnc_port_min and max were the same value. [GH-1288]
    • ๐Ÿ builder/vmware-iso: Finding an available VNC port on Windows works. [GH-1372]
    • ๐Ÿ— builder/vmware-vmx: Nice error if Clone is not supported (not VMware Fusion Pro). [GH-787]
    • ๐Ÿ“‡ post-processor/vagrant: Can supply your own metadata.json. [GH-1143]
    • ๐Ÿ provisioner/ansible-local: Use proper path on Windows. [GH-1375]
    • provisioner/file: Mode will now be preserved. [GH-1064]