Packer v0.11.0 Release Notes
Release Date: 2016-10-21 // over 7 years ago-
BACKWARDS INCOMPATIBILITIES:
- ๐ง VNC and VRDP-like features in VirtualBox, VMware, and QEMU now configurable but bind to 127.0.0.1 by default to improve security. See the relevant builder docs for more info.
- ๐ Docker builder requires Docker > 1.3
- 0๏ธโฃ provisioner/chef-solo: default staging directory renamed to
packer-chef-solo
. [GH-3971]
๐ FEATURES:
- ๐ New Checksum post-processor: Create a checksum file from your build artifacts as part of your build. [GH-3492] [GH-3790]
- ๐ New build flag
-on-error
to allow inspection and keeping artifacts on builder errors. [GH-3885] - ๐ New Google Compute Export post-processor: exports an image from a Packer googlecompute builder run and uploads it to Google Cloud Storage. [GH-3760]
- ๐ New Manifest post-processor: writes metadata about packer's output artifacts data to a JSON file. [GH-3651]
๐ IMPROVEMENTS:
- builder/amazon: Added
disable_stop_instance
option to prevent automatic shutdown when the build is complete. [GH-3352] - ๐ builder/amazon: Added
shutdown_behavior
option to supportstop
orterminate
at the end of the build. [GH-3556] - builder/amazon: Added
skip_region_validation
option to allow newer or custom AWS regions. [GH-3598] - ๐ builder/amazon: Added
us-east-2
andap-south-1
regions. [GH-4021] [GH-3663] - ๐ builder/amazon: Support building from scratch with amazon-chroot builder. [GH-3855] [GH-3895]
- ๐ builder/amazon: Support create an AMI with an
encrypt_boot
volume. [GH-3382] - builder/azure: Add
os_disk_size_gb
. [GH-3995] - ๐ builder/azure: Add location to setup script. [GH-3803]
- ๐ builder/azure: Allow user to set custom data. [GH-3996]
- ๐ builder/azure: Made
tenant_id
optional. [GH-3643] - builder/azure: Now pre-validates
capture_container_name
andcapture_name_prefix
[GH-3537] - ๐ builder/azure: Removed superfluous polling code for deployments. [GH-3638]
- ๐ builder/azure: Support for a user defined VNET. [GH-3683]
- ๐ builder/azure: Support for custom images. [GH-3575]
- ๐ builder/azure: tag all resources. [GH-3764]
- builder/digitalocean: Added
user_data_file
support. [GH-3933] - ๐ builder/digitalocean: Fixes timeout waiting for snapshot. [GH-3868]
- ๐ builder/digitalocean: Use
state_timeout
for unlock and off transitions. [GH-3444] - ๐ builder/docker: Improved support for Docker pull from Amazon ECR. [GH-3856]
- ๐ builder/google: Add
-force
option to delete old image before creating new one. [GH-3918] - ๐ builder/google: Add image license metadata. [GH-3873]
- ๐ builder/google: Added support for
image_family
[GH-3531] - ๐ builder/google: Added support for startup scripts. [GH-3639]
- ๐ builder/google: Create passwords for Windows instances. [GH-3932]
- ๐ builder/google: Enable to select NVMe images. [GH-3338]
- ๐ builder/google: Signal that startup script fished via metadata. [GH-3873]
- ๐ builder/google: Use gcloud application default credentials. [GH-3655]
- ๐ builder/google: provision VM without external IP address. [GH-3774]
- ๐ builder/null: Can now be used with WinRM. [GH-2525]
- ๐ builder/openstack: Added support for
ssh_password
instead of generating ssh keys. [GH-3976] - ๐ builder/parallels: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - ๐ builder/parallels: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/parallels: Now pauses between
boot_command
entries when running with-debug
[GH-3547] - ๐ builder/parallels: Support future versions of Parallels by using the latest driver. [GH-3673]
- ๐ builder/qemu: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/qemu: Added
vnc_bind_address
option. [GH-3574] - ๐ builder/qemu: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/qemu: Now pauses between
boot_command
entries when running with-debug
[GH-3547] - ๐ builder/qemu: Specify disk format when starting qemu. [GH-3888]
- builder/virtualbox-iso: Added
hard_drive_nonrotational
andhard_drive_discard
options to enable trim/discard. [GH-4013] - ๐ builder/virtualbox-iso: Added
keep_registered
option to skip cleaning up the image. [GH-3954] - ๐ builder/virtualbox: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/virtualbox: Added
post_shutdown_delay
option to wait after shutting down to prevent issues removing floppy drive. [GH-3952] - builder/virtualbox: Added
vrdp_bind_address
option. [GH-3566] - ๐ builder/virtualbox: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/virtualbox: Now pauses between
boot_command
entries when running with-debug
[GH-3542] - builder/vmware-vmx: Added
tools_upload_flavor
andtools_upload_path
to docs. - ๐ builder/vmware: Add support for ctrl, shift and alt keys in
boot_command
. [GH-3767] - builder/vmware: Added
vnc_bind_address
option. [GH-3565] - ๐ builder/vmware: Adds passwords for VNC. [GH-2325]
- ๐ builder/vmware: Copy directories recursively with
floppy_dirs
. [GH-2919] - ๐ builder/vmware: Handle connection to VM with more than one NIC on ESXi [GH-3347]
- ๐ builder/vmware: Now paused between
boot_command
entries when running with-debug
[GH-3542] - ๐ core: Supress plugin discovery from plugins. [GH-4002]
- โ core: Test floppy disk files actually exist. [GH-3756]
- ๐ฒ core: setting
PACKER_LOG=0
now disables logging. [GH-3964] - ๐ post-processor/amazon-import: Support
ami_name
for naming imported AMI. [GH-3941] - ๐ post-processor/compress: Added support for bgzf compression. [GH-3501]
- ๐ณ post-processor/docker: Improved support for Docker push to Amazon ECR. [GH-3856]
- ๐ณ post-processor/docker: Preserve tags when running docker push. [GH-3631]
- ๐ post-processor/vagrant: Added vsphere-esx hosts to supported machine types. [GH-3967]
- ๐ provisioner/ansible-local: Support for ansible-galaxy. [GH-3350] [GH-3836]
- ๐ฒ provisioner/ansible: Improved logging and error handling. [GH-3477]
- ๐ provisioner/ansible: Support scp. [GH-3861]
- 0๏ธโฃ provisioner/chef: Added
knife_command
option and added a correct default value for Windows. [GH-3622] - ๐ provisioner/chef: Installs 64bit chef on Windows if available. [GH-3848]
- provisioner/file: Now makes destination directory. [GH-3692]
- provisioner/puppet: Added
execute_command
option. [GH-3614] - provisioner/salt: Added
custom_state
to specify state to run instead ofhighstate
. [GH-3776] - provisioner/shell: Added
expect_disconnect
flag to fail if remote unexpectedly disconnects. [GH-4034] - scripts: Added
help
target to Makefile. [GH-3290] - ๐ vendor: Moving from Godep to govendor. See
CONTRIBUTING.md
for details. [GH-3956] - website: code examples now use inconsolata. Improve code font rendering on linux.
๐ BUG FIXES:
- ๐ builder/amazon: Add 0.5 cents to discovered spot price. [GH-3662]
- builder/amazon: Allow using
ssh_private_key_file
andssh_password
. [GH-3953] - ๐ builder/amazon: Fix packer crash when waiting for SSH. [GH-3865]
- builder/amazon: Honor ssh_private_ip flag in EC2-Classic. [GH-3752]
- ๐ builder/amazon: Properly clean up EBS volumes on failure. [GH-3789]
- builder/amazon: Use
temporary_key_pair_name
when specified. [GH-3739] - ๐ builder/amazon: retry creating tags on images since the images might take some time to become available. [GH-3938]
- ๐ builder/azure: Fix authorization setup script failing to creating service principal. [GH-3812]
- ๐ builder/azure: check for empty resource group. [GH-3606]
- ๐ builder/azure: fix token validity test. [GH-3609]
- ๐ builder/docker: Fix file provisioner dotfile matching. [GH-3800]
- ๐ builder/docker: fix docker builder with ansible provisioner. [GH-3476]
- ๐ builder/qemu: Don't fail on communicator set to
none
. [GH-3681] - builder/qemu: Make
ssh_host_port_max
an inclusive bound. [GH-2784] - builder/virtualbox: Make
ssh_host_port_max
an inclusive bound. [GH-2784] - ๐ builder/virtualbox: Respect
ssh_host
[GH-3617] - ๐ builder/vmware: Do not add remotedisplay.vnc.ip to VMX data on ESXi [GH-3740]
- ๐ builder/vmware: Don't check for poweron errors on ESXi. [GH-3195]
- ๐ builder/vmware: Re-introduce case sensitive VMX keys. [GH-2707]
- builder/vmware: Respect
ssh_host
/winrm_host
on ESXi. [GH-3738] - command/push: Allows dot (
.
) in image names. [GH-3937] - common/iso_config: fix potential panic when iso checksum url was given but not the iso url. [GH-4004]
- ๐ communicator/ssh: fixed possible panic when reconnecting fails. [GH-4008]
- communicator/ssh: handle error case where server closes the connection but doesn't give us an error code. [GH-3966]
- post-processor/shell-local: Do not set execute bit on artifact file. [GH-3505]
- post-processor/vsphere: Fix upload failures with vsphere. [GH-3321]
- provisioner/ansible: Properly set host key checking even when a custom ENV is specified. [GH-3568]
- provisioner/file: Fix directory download. [GH-3899]
- ๐ provisioner/powershell: fixed issue with setting environment variables. [GH-2785]
- website: improved rendering on iPad. [GH-3780]