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 namedpacker-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 toVBoxManage 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 thetoken
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 theec2-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 toVBoxManage
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]
- ๐ง The authentication configuration for Google Compute Engine has changed.
The new method is much simpler, but is not backwards compatible.