github.com/atorr/packer@v1.2.2/CHANGELOG.md (about) 1 ## 1.2.2 (March 26, 2018) 2 3 ### BUG FIXES: 4 5 * builder/amazon: Fix AWS credential defaulting [GH-6019] 6 * builder/LXC: make sleep timeout easily configurable [GH-6038] 7 * builder/virtualbox: Correctly send multi-byte scancodes when typing boot 8 command. [GH-5987] 9 * builder/virtualbox: Special boot-commands no longer overwrite previous 10 commands [GH-6002] 11 * builder/vmware: Default to disabling XHCI bus for USB on the vmware-iso 12 builder. [GH-5975] 13 * builder/vmware: Handle multiple devices per VMware network type [GH-5985] 14 * communicator/ssh: Handle errors uploading files more gracefully [GH-6033] 15 * provisioner/powershell: Fix environment variable file escaping. [GH-5973] 16 17 18 ### IMPROVEMENTS: 19 20 * builder/amazon: Added new region `cn-northwest-1`. [GH-5960] 21 * builder/amazon: Users may now access the amazon-generated administrator 22 password [GH-5998] 23 * builder/azure: Add support concurrent deployments in the same resource group. 24 [GH-6005] 25 * builder/azure: Add support for building with additional disks. [GH-5944] 26 * builder/azure: Add support for marketplace plan information. [GH-5970] 27 * builder/azure: Make all command output human readable. [GH-5967] 28 * builder/azure: Respect `-force` for managed image deletion. [GH-6003] 29 * builder/google: Add option to specify a service account, or to run without 30 one. [GH-5991] [GH-5928] 31 * builder/oracle-oci: Add new "use_private_ip" option. [GH-5893] 32 * post-processor/vagrant: Add LXC support. [GH-5980] 33 * provisioner/salt-masterless: Added Windows support. [GH-5702] 34 * provisioner/salt: Add windows support to salt provisioner [GH-6012] [GH-6012] 35 36 37 ## 1.2.1 (February 23, 2018) 38 39 ### BUG FIXES: 40 41 * builder/amazon: Fix authorization using assume role. [GH-5914] 42 * builder/hyper-v: Fix command collisions with VMWare PowerCLI. [GH-5861] 43 * builder/vmware-iso: Fix panic when building on esx5 remotes. [GH-5931] 44 * builder/vmware: Fix issue detecting host IP. [GH-5898] [GH-5900] 45 * provisioner/ansible-local: Fix conflicting escaping schemes for vars provided 46 via `--extra-vars`. [GH-5888] 47 48 ### IMPROVEMENTS: 49 50 * builder/oracle-classic: Add `snapshot_timeout` option to control how long we 51 wait for the snapshot to be created. [GH-5932] 52 * builder/oracle-classic: Add support for WinRM connections. [GH-5929] 53 54 55 ## 1.2.0 (February 9, 2018) 56 57 ### BACKWARDS INCOMPATIBILITIES: 58 59 * 3rd party plugins: We have moved internal dependencies, meaning your 3rd 60 party plugins will no longer compile (however existing builds will still 61 work fine); the work to fix them is minimal and documented in GH-5810. 62 [GH-5810] 63 * builder/amazon: The `ssh_private_ip` option has been removed. Instead, please 64 use `"ssh_interface": "private"`. A fixer has been written for this, which 65 can be invoked with `packer fix`. [GH-5876] 66 * builder/openstack: Extension support has been removed. To use OpenStack 67 builder with the OpenStack Newton (Oct 2016) or earlier, we recommend you 68 use Packer v1.1.2 or earlier version. 69 * core: Affects Windows guests: User variables containing Powershell special 70 characters no longer need to be escaped.[GH-5376] 71 * provisioner/file: We've made destination semantics more consistent across the 72 various communicators. In general, if the destination is a directory, files 73 will be uploaded into the directory instead of failing. This mirrors the 74 behavior of `rsync`. There's a chance some users might be depending on the 75 previous buggy behavior, so it's worth ensuring your configuration is 76 correct. [GH-5426] 77 * provisioner/powershell: Regression from v1.1.1 forcing extra escaping of 78 environment variables in the non-elevated provisioner has been fixed. 79 [GH-5515] [GH-5872] 80 81 ### IMPROVEMENTS: 82 83 * **New builder:** `ncloud` for building server images using the NAVER Cloud 84 Platform. [GH-5791] 85 * **New builder:** `oci-classic` for building new custom images for use with 86 Oracle Cloud Infrastructure Classic Compute. [GH-5819] 87 * **New builder:** `scaleway` - The Scaleway Packer builder is able to create 88 new images for use with Scaleway BareMetal and Virtual cloud server. 89 [GH-4770] 90 * builder/amazon: Add `kms_key_id` option to block device mappings. [GH-5774] 91 * builder/amazon: Add `skip_metadata_api_check` option to skip consulting the 92 amazon metadata service. [GH-5764] 93 * builder/amazon: Add Paris region (eu-west-3) [GH-5718] 94 * builder/amazon: Give better error messages if we have trouble during 95 authentication. [GH-5764] 96 * builder/amazon: Remove Session Token (STS) from being shown in the log. 97 [GH-5665] 98 * builder/amazon: Replace `InstanceStatusOK` check with `InstanceReady`. This 99 reduces build times universally while still working for all instance types. 100 [GH-5678] 101 * builder/amazon: Report which authentication provider we're using. [GH-5764] 102 * builder/amazon: Timeout early if metadata service can't be reached. [GH-5764] 103 * builder/amazon: Warn during prepare if we didn't get both an access key and a 104 secret key when we were expecting one. [GH-5762] 105 * builder/azure: Add validation for incorrect VHD URLs [GH-5695] 106 * builder/docker: Remove credentials from being shown in the log. [GH-5666] 107 * builder/google: Support specifying licenses for images. [GH-5842] 108 * builder/hyper-v: Allow MAC address specification. [GH-5709] 109 * builder/hyper-v: New option to use differential disks and Inline disk 110 creation to improve build time and reduce disk usage [GH-5631] 111 * builder/qemu: Add Intel HAXM support to QEMU builder [GH-5738] 112 * builder/triton: Triton RBAC is now supported. [GH-5741] 113 * builder/triton: Updated triton-go dependencies, allowing better error 114 handling. [GH-5795] 115 * builder/vmware-iso: Add support for cdrom and disk adapter types. [GH-3417] 116 * builder/vmware-iso: Add support for setting network type and network adapter 117 type. [GH-3417] 118 * builder/vmware-iso: Add support for usb/serial/parallel ports. [GH-3417] 119 * builder/vmware-iso: Add support for virtual soundcards. [GH-3417] 120 * builder/vmware-iso: More reliably retrieve the guest networking 121 configuration. [GH-3417] 122 * builder/vmware: Add support for "super" key in `boot_command`. [GH-5681] 123 * communicator/ssh: Add session-level keep-alives [GH-5830] 124 * communicator/ssh: Detect dead connections. [GH-4709] 125 * core: Gracefully clean up resources on SIGTERM. [GH-5318] 126 * core: Improved error logging in floppy file handling. [GH-5802] 127 * core: Improved support for downloading and validating a uri containing a 128 Windows UNC path or a relative file:// scheme. [GH-2906] 129 * post-processor/amazon-import: Allow user to specify role name in amazon- 130 import [GH-5817] 131 * post-processor/docker: Remove credentials from being shown in the log. 132 [GH-5666] 133 * post-processor/google-export: Synchronize credential semantics with the 134 Google builder. [GH-4148] 135 * post-processor/vagrant: Add vagrant post-processor support for Google 136 [GH-5732] 137 * post-processor/vsphere-template: Now accepts artifacts from the vSphere post- 138 processor. [GH-5380] 139 * provisioner/amazon: Use Amazon SDK's InstanceRunning waiter instead of 140 InstanceStatusOK waiter [GH-5773] 141 * provisioner/ansible: Improve user retrieval. [GH-5758] 142 * provisioner/chef: Add support for 'trusted_certs_dir' chef-client 143 configuration option [GH-5790] 144 * provisioner/chef: Added Policyfile support to chef-client provisioner. 145 [GH-5831] 146 147 ### BUG FIXES: 148 149 * builder/alicloud-ecs: Attach keypair before starting instance in alicloud 150 builder [GH-5739] 151 * builder/amazon: Fix tagging support when building in us-gov/china. [GH-5841] 152 * builder/amazon: NewSession now inherits MaxRetries and other settings. 153 [GH-5719] 154 * builder/virtualbox: Fix interpolation ordering so that edge cases around 155 guest_additions_url are handled correctly [GH-5757] 156 * builder/virtualbox: Fix regression affecting users running Packer on a 157 Windows host that kept Packer from finding Virtualbox guest additions if 158 Packer ran on a different drive from the one where the guest additions were 159 stored. [GH-5761] 160 * builder/vmware: Fix case where artifacts might not be cleaned up correctly. 161 [GH-5835] 162 * builder/vmware: Fixed file handle leak that may have caused race conditions 163 in vmware builder [GH-5767] 164 * communicator/ssh: Add deadline to SSH connection to prevent Packer hangs 165 after script provisioner reboots vm [GH-4684] 166 * communicator/winrm: Fix issue copying empty directories. [GH-5763] 167 * provisioner/ansible-local: Fix support for `--extra-vars` in 168 `extra_arguments`. [GH-5703] 169 * provisioner/ansible-remote: Fixes an error where Packer's private key can be 170 overridden by inherited `ansible_ssh_private_key` options. [GH-5869] 171 * provisioner/ansible: The "default extra variables" feature added in Packer 172 v1.0.1 caused the ansible-local provisioner to fail when an --extra-vars 173 argument was specified in the extra_arguments configuration option; this 174 has been fixed. [GH-5335] 175 * provisioner/powershell: Regression from v1.1.1 forcing extra escaping of 176 environment variables in the non-elevated provisioner has been fixed. 177 [GH-5515] [GH-5872] 178 179 180 ## 1.1.3 (December 8, 2017) 181 182 ### IMPROVEMENTS: 183 184 * builder/alicloud-ecs: Add security token support and set TLS handshake 185 timeout through environment variable. [GH-5641] 186 * builder/amazon: Add a new parameter `ssh_interface`. Valid values include 187 `public_ip`, `private_ip`, `public_dns` or `private_dns`. [GH-5630] 188 * builder/azure: Add sanity checks for resource group names [GH-5599] 189 * builder/azure: Allow users to specify an existing resource group to use, 190 instead of creating a new one for every run. [GH-5548] 191 * builder/hyper-v: Add support for differencing disk. [GH-5458] 192 * builder/vmware-iso: Improve logging of network errors. [GH-5456] 193 * core: Add new `packer_version` template engine. [GH-5619] 194 * core: Improve logic checking for downloaded ISOs in case where user has 195 provided more than one URL in `iso_urls` [GH-5632] 196 * provisioner/ansible-local: Add ability to clean staging directory. [GH-5618] 197 198 ### BUG FIXES: 199 200 * builder/amazon: Allow `region` to appear in `ami_regions`. [GH-5660] 201 * builder/amazon: `C5` instance types now build more reliably. [GH-5678] 202 * builder/amazon: Correctly set AWS region if given in template along with a 203 profile. [GH-5676] 204 * builder/amazon: Prevent `sriov_support` and `ena_support` from being used 205 with spot instances, which would cause a build failure. [GH-5679] 206 * builder/hyper-v: Fix interpolation context for user variables in 207 `boot_command` [GH-5547] 208 * builder/qemu: Set default disk size to 40960 MB to prevent boot failures. 209 [GH-5588] 210 * builder/vmware: Correctly detect Windows boot on vmware workstation. 211 [GH-5672] 212 * core: Fix windows path regression when downloading ISOs. [GH-5591] 213 * provisioner/chef: Fix chef installs on Windows. [GH-5649] 214 215 ## 1.1.2 (November 15, 2017) 216 217 ### IMPROVEMENTS: 218 219 * builder/amazon: Correctly deregister AMIs when `force_deregister` is set. 220 [GH-5525] 221 * builder/digitalocean: Add `ipv6` option to enable on droplet. [GH-5534] 222 * builder/docker: Add `aws_profile` option to control the aws profile for ECR. 223 [GH-5470] 224 * builder/google: Add `clean_image_name` template engine. [GH-5463] 225 * builder/google: Allow selecting container optimized images. [GH-5576] 226 * builder/google: Interpolate network and subnetwork values, rather than 227 relying on an API call that packer may not have permission for. [GH-5343] 228 * builder/hyper-v: Add `disk_additional_size` option to allow for up to 64 229 additional disks. [GH-5491] 230 * builder/hyper-v: Also disable automatic checkpoints for gen 2 VMs. [GH-5517] 231 * builder/lxc: Add new `publish_properties` field to set image properties. 232 [GH-5475] 233 * builder/lxc: Add three new configuration option categories to LXC builder: 234 `create_options`, `start_options`, and `attach_options`. [GH-5530] 235 * builder/triton: Add `source_machine_image_filter` option to select an image 236 ID based on a variety of parameters. [GH-5538] 237 * builder/virtualbox-ovf: Error during prepare if source path doesn't exist. 238 [GH-5573] 239 * builder/virtualbox-ovf: Retry while removing VM to solve for transient 240 errors. [GH-5512] 241 * communicator/ssh: Add socks 5 proxy support. [GH-5439] 242 * core/iso_config: Support relative paths in checksum file. [GH-5578] 243 * core: Rewrite vagrantfile code to make cross-platform development easier. 244 [GH-5539] 245 * post-processor/docker-push: Add `aws_profile` option to control the aws 246 profile for ECR. [GH-5470] 247 * post-processor/vsphere: Properly capture `ovftool` output. [GH-5499] 248 249 ### BUG FIXES: 250 251 * builder/amazon: Add a delay option to security group waiter. [GH-5536] 252 * builder/amazon: Fix regressions relating to spot instances and EBS volumes. 253 [GH-5495] 254 * builder/amazon: Set region from profile, if profile is set, rather than being 255 overridden by metadata. [GH-5562] 256 * builder/docker: Remove `login_email`, which no longer exists in the docker 257 client. [GH-5511] 258 * builder/hyperv: Fix admin check that was causing powershell failures. 259 [GH-5510] 260 * builder/oracle: Defaulting of OCI builder region will first check the packer 261 template and the OCI config file. [GH-5407] 262 * builder/triton: Fix a bug where partially created images can be reported as 263 complete. [GH-5566] 264 * post-processor/vsphere: Use the vm disk path information to re-create the vmx 265 datastore path. [GH-5567] 266 * provisioner/windows-restart: Wait for restart no longer endlessly loops if 267 user specifies a custom restart check command. [GH-5563] 268 269 ## 1.1.1 (October 13, 2017) 270 271 ### IMPROVEMENTS: 272 273 * **New builder:** `hyperv-vmcx` for building images from existing VMs. 274 [GH-4944] [GH-5444] 275 * builder/amazon-instance: Add `.Token` as a variable in the 276 `BundleUploadCommand` template. [GH-5288] 277 * builder/amazon: Add `temporary_security_group_source_cidr` option to control 278 ingress to source instances. [GH-5384] 279 * builder/amazon: Output AMI Name during prevalidation. [GH-5389] 280 * builder/amazon: Support template functions in tag keys. [GH-5381] 281 * builder/amazon: Tag volumes on creation instead of as a separate step. 282 [GH-5417] 283 * builder/docker: Add option to set `--user` flag when running `exec`. 284 [GH-5406] 285 * builder/docker: Set file owner to container user when uploading. Can be 286 disabled by setting `fix_upload_owner` to `false`. [GH-5422] 287 * builder/googlecompute: Support setting labels on the resulting image. 288 [GH-5356] 289 * builder/hyper-v: Add `vhd_temp_path` option to control where the VHD resides 290 while it's being provisioned. [GH-5206] 291 * builder/hyper-v: Allow vhd or vhdx source images instead of just ISO. 292 [GH-4944] [GH-5444] 293 * builder/hyper-v: Disable automatic checkpoints. [GH-5374] 294 * builder/virtualbox-ovf: Add `keep_registered` option. [GH-5336] 295 * builder/vmware: Add `disable_vnc` option to prevent VNC connections from 296 being made. [GH-5436] 297 * core: Releases will now be built for ppc64le. 298 * post-processor/vagrant: When building from a builder/hyper-v artifact, link 299 instead of copy when available. [GH-5207] 300 301 302 ### BUG FIXES: 303 304 * builder/cloudstack: Fix panic if build is aborted. [GH-5388] 305 * builder/hyper-v: Respect `enable_dynamic_memory` flag. [GH-5363] 306 * builder/puppet-masterless: Make sure directories created with sudo are 307 writable by the packer user. [GH-5351] 308 * provisioner/chef-solo: Fix issue installing chef-solo on Windows. [GH-5357] 309 * provisioner/powershell: Fix issue setting environment variables by writing 310 them to a file, instead of the command line. [GH-5345] 311 * provisioner/powershell: Fix issue where powershell scripts could hang. 312 [GH-5082] 313 * provisioner/powershell: Fix Powershell progress stream leak to stderr for 314 normal and elevated commands. [GH-5365] 315 * provisioner/puppet-masterless: Fix bug where `puppet_bin_dir` wasn't being 316 respected. [GH-5340] 317 * provisioner/puppet: Fix setting facter vars on Windows. [GH-5341] 318 319 320 ## 1.1.0 (September 12, 2017) 321 322 ### IMPROVEMENTS: 323 324 * builder/alicloud: Update alicloud go sdk and enable multi sites support for 325 alicloud [GH-5219] 326 * builder/amazon: Upgrade aws-sdk-go to 1.10.14, add tags at instance run time. 327 [GH-5196] 328 * builder/azure: Add object_id to windows_custom_image.json. [GH-5285] 329 * builder/azure: Add support for storage account for managed images. [GH-5244] 330 * builder/azure: Update pkcs12 package. [GH-5301] 331 * builder/cloudstack: Add support for Security Groups. [GH-5175] 332 * builder/docker: Uploading files and directories now use docker cp. [GH-5273] 333 [GH-5333] 334 * builder/googlecompute: Add `labels` option for labeling launched instances. 335 [GH-5308] 336 * builder/googlecompute: Add support for accelerator api. [GH-5137] 337 * builder/profitbricks: added support for Cloud API v4. [GH-5233] 338 * builder/vmware-esxi: Remote builds now respect `output_directory` [GH-4592] 339 * builder/vmware: Set artifact ID to `VMName`. [GH-5187] 340 * core: Build solaris binary by default. [GH-5268] [GH-5248] 341 * core: Remove LGPL dependencies. [GH-5262] 342 * provisioner/puppet: Add `guest_os_type` option to add support for Windows. 343 [GH-5252] 344 * provisioner/salt-masterless: Also use sudo to clean up if we used sudo to 345 install. [GH-5240] 346 347 ### BACKWARDS INCOMPATIBILITIES: 348 349 * builder/amazon: Changes way that AMI artifacts are printed out after build, 350 aligning them to builder. Could affect output parsing. [GH-5281] 351 * builder/amazon: Split `enhanced_networking` into `sriov_support` and 352 `ena_support` to support finer grained control. Use `packer fix 353 <template.json>` to automatically update your template to use `ena_support` 354 where previously there was only `enhanced_networking`. Make sure to also 355 add `sriov_support` if you need that feature, and to ensure `ena_support` 356 is what you intended to be in your template. [GH-5284] 357 * builder/cloudstack: Setup temporary SSH keypair; backwards incompatible in 358 the uncommon case that the source image allowed SSH auth with password but 359 not with keypair. [GH-5174] 360 * communicator/ssh: Renamed `ssh_disable_agent` to 361 `ssh_disable_agent_forwarding`. Need to run fixer on packer configs that 362 use `ssh_disable_agent`. [GH-5024] 363 * communicator: Preserve left-sided white-space in remote command output. Make 364 sure any scripts that parse this output can handle the new whitespace 365 before upgrading. [GH-5167] 366 * provisioner/shell: Set default for `ExpectDisconnect` to `false`. If your 367 script causes the connection to be reset, you should set this to `true` to 368 prevent errors. [GH-5283] 369 370 ### BUG FIXES: 371 372 * builder/amazon: `force_deregister` works in all regions, not just original 373 region. [GH-5250] 374 * builder/docker: Directory uploads now use the same semantics as the rest of 375 the communicators. [GH-5333] 376 * builder/vmware: Fix timestamp in default VMName. [GH-5274] 377 * builder/winrm: WinRM now waits to make sure commands can run successfully 378 before considering itself connected. [GH-5300] 379 * core: Fix issue where some builders wouldn't respect `-on-error` behavior. 380 [GH-5297] 381 * provisioner/windows-restart: The first powershell provisioner after a restart 382 now works. [GH-5272] 383 384 ### FEATURES: 385 386 * **New builder**: Oracle Cloud Infrastructure (OCI) builder for creating 387 custom images. [GH-4554] 388 * **New builder:** `lxc` for building lxc images. [GH-3523] 389 * **New builder:** `lxd` for building lxd images. [GH-3625] 390 * **New post-processor**: vSphere Template post-processor to be used with 391 vmware-iso builder enabling user to mark a VM as a template. [GH-5114] 392 393 ## 1.0.4 (August 11, 2017) 394 395 ### IMPROVEMENTS: 396 397 * builder/alicloud: Increase polling timeout. [GH-5148] 398 * builder/azure: Add `private_virtual_network_with_public_ip` option to 399 optionally obtain a public IP. [GH-5222] 400 * builder/googlecompute: use a more portable method of obtaining zone. 401 [GH-5192] 402 * builder/hyperv: Properly interpolate user variables in template. [GH-5184] 403 * builder/parallels: Remove soon to be removed --vmtype flag in createvm. 404 [GH-5172] 405 * contrib: add json files to zsh completion. [GH-5195] 406 407 ### BUG FIXES: 408 409 * builder/amazon: Don't delete snapshots we didn't create. [GH-5211] 410 * builder/amazon: fix builds when using the null communicator. [GH-5217] 411 * builder/docker: Correctly handle case when uploading an empty directory. 412 [GH-5234] 413 * command/push: Don't push variables if they are unspecified. Reverts to 414 behavior in 1.0.1. [GH-5235] 415 * command/push: fix handling of symlinks. [GH-5226] 416 * core: Strip query parameters from ISO URLs when checking against a checksum 417 file. [GH-5181] 418 * provisioner/ansible-remote: Fix issue where packer could hang communicating 419 with ansible-remote. [GH-5146] 420 421 ## 1.0.3 (July 17, 2017) 422 423 ### IMPROVEMENTS: 424 * builder/azure: Update to latest Azure SDK, enabling support for managed 425 disks. [GH-4511] 426 * builder/cloudstack: Add default cidr_list [ 0.0.0.0/0 ]. [GH-5125] 427 * builder/cloudstack: Add support for ssh_agent_auth. [GH-5130] 428 * builder/cloudstack: Add support for using a HTTP server. [GH-5017] 429 * builder/cloudstack: Allow reading api_url, api_key, and secret_key from env 430 vars. [GH-5124] 431 * builder/cloudstack: Make expunge optional and improve logging output. 432 [GH-5099] 433 * builder/googlecompute: Allow using URL's for network and subnetwork. 434 [GH-5035] 435 * builder/hyperv: Add support for floppy_dirs with hyperv-iso builder. 436 * builder/hyperv: Add support for override of system %temp% path. 437 * core: Experimental Android ARM support. [GH-5111] 438 * post-processor/atlas: Disallow packer push of vagrant.box artifacts to atlas. 439 [GH-4780] 440 * postprocessor/atlas: Disallow pushing vagrant.box artifacts now that Vagrant 441 cloud is live. [GH-4780] 442 443 ### BUG FIXES: 444 * builder/amazon: Fix panic that happens if ami_block_device_mappings is empty. 445 [GH-5059] 446 * builder/azure: Write private SSH to file in debug mode. [GH-5070] [GH-5074] 447 * builder/cloudstack: Properly report back errors. [GH-5103] [GH-5123] 448 * builder/docker: Fix windows filepath in docker-toolbox call [GH-4887] 449 * builder/docker: Fix windows filepath in docker-toolbox call. [GH-4887] 450 * builder/hyperv: Use SID to verify membership in Admin group, fixing for non- 451 english users. [GH-5022] 452 * builder/hyperv: Verify membership in the group Hyper-V Administrators by SID 453 not name. [GH-5022] 454 * builder/openstack: Update gophercloud version, fixing builds > 1 hr long. 455 [GH-5046] 456 * builder/parallels: Skip missing paths when looking for unnecessary files. 457 [GH-5058] 458 * builder/vmware-esxi: Fix VNC port discovery default timeout. [GH-5051] 459 * communicator/ssh: Add ProvisionerTypes to communicator tests, resolving panic 460 [GH-5116] 461 * communicator/ssh: Resolve race condition that sometimes truncates ssh 462 provisioner stdout [GH-4719] 463 * post-processor/checksum: Fix interpolation of "output". [GH-5112] 464 * push: Push vars in packer config, not just those set from command line and in 465 var-file. [GH-5101] 466 467 ## 1.0.2 (June 21, 2017) 468 469 ### BUG FIXES: 470 * communicator/ssh: Fix truncated stdout from remote ssh provisioner. [GH-5050] 471 * builder/amazon: Fix bugs related to stop instance command. [GH-4719] 472 * communicator/ssh: Fix ssh connection errors. [GH-5038] 473 * core: Remove logging that shouldn't be there when running commands. [GH-5042] 474 * provisioner/shell: Fix bug where scripts were being run under `sh`. [GH-5043] 475 476 ### IMPROVEMENTS: 477 478 * provisioner/windows-restart: make it clear that timeouts come from the 479 provisioner, not winrm. [GH-5040] 480 481 ## 1.0.1 (June 19, 2017) 482 483 ### IMPROVEMENTS: 484 485 * builder/amazon: Allow amis to be copied to other regions, encrypted with 486 custom KMS keys. [GH-4948] 487 * builder/amazon: Allow configuration of api endpoint to support api-compatible 488 cloud providers. [GH-4896] 489 * builder/amazon: Fix regex used for ami name validation [GH-4902] 490 * builder/amazon: Look up vpc from subnet id if no vpc was specified. [GH-4879] 491 * builder/amazon: Print temporary security group name to the UI. [GH-4997] 492 * builder/amazon: Support Assume Role with MFA and ECS Task Roles. Also updates 493 to a newer version of aws-sdk-go. [GH-4996] 494 * builder/amazon: Use retry logic when creating instance tags. [GH-4876] 495 * builder/amazon: Validate ami name. [GH-4762] 496 * builder/azure: Add build output to artifact. [GH-4953] 497 * builder/azure: Use disk URI as artifact ID. [GH-4981] 498 * builder/digitalocean: Added support for monitoring. [GH-4782] 499 * builder/digitalocean: Support for copying snapshot to other regions. 500 [GH-4893] 501 * builder/hyper-v: Remove the check for administrator rights when sending key 502 strokes to Hyper-V. [GH-4687] # builder/openstack: Fix private key error 503 message to match documentation [GH-4898] 504 * builder/null: Support SSH agent auth [GH-4956] 505 * builder/openstack: Add ssh agent support. [GH-4655] 506 * builder/openstack: Support client x509 certificates. [GH-4921] 507 * builder/parallels-iso: Configuration of disk type, plain or expanding. 508 [GH-4621] 509 * builder/triton: An SSH agent can be used to authenticate requests, making 510 `triton_key_material` optional. [GH-4838] 511 * builder/triton: If no source machine networks are specified, instances are 512 started on the default public and internal networks. [GH-4838] 513 * builder/virtualbox: Add sata port count configuration option. [GH-4699] 514 * builder/virtualbox: Don't add port forwarding when using "none" communicator. 515 [GH-4960] 516 * builder/vmware: Add option to remove interfaces from the vmx. [GH-4927] 517 * builder/vmware: Properly remove mounted CDs on OS X. [GH-4810] 518 * builder/vmware: VNC probe timeout is configurable. [GH-4919] 519 * command/push: add `-sensitive` flag to mark pushed vars are sensitive. 520 [GH-4970] 521 * command/push: Vagrant support in Terraform Enterprise is deprecated. 522 [GH-4950] 523 * communicator/ssh: Add ssh agent support for bastion connections. [GH-4940] 524 * communicator/winrm: Add NTLM authentication support. [GH-4979] 525 * communicator/winrm: Add support for file downloads. [GH-4748] 526 * core: add telemetry for better product support. [GH-5015] 527 * core: Build binaries for arm64 [GH-4892] 528 * post-processor/amazon-import: Add support for `license_type`. [GH-4634] 529 * post-processor/vagrant-cloud: Get vagrant cloud token from environment. 530 [GH-4982] 531 * provisioner/ansible-local: Add extra-vars `packer_build_name`, 532 `packer_builder_type`, and `packer_http_addr`. [GH-4821] 533 * provisioner/ansible: Add `inventory_directory` option to control where to 534 place the generated inventory file. [GH-4760] 535 * provisioner/ansible: Add `skip_version_check` flag for when ansible will be 536 installed from a prior provisioner. [GH-4983] 537 * provisioner/ansible: Add extra-vars `packer_build_name` and 538 `packer_builder_type`. [GH-4821] 539 * provisioner/chef-solo: Add option to select Chef version. [GH-4791] 540 * provisioner/salt: Add salt bin directory configuration. [GH-5009] 541 * provisioner/salt: Add support for grains. [GH-4961] 542 * provisioner/shell: Use `env` to set environment variables to support freebsd 543 out of the box. [GH-4909] 544 * website/docs: Clarify language, improve formatting. [GH-4866] 545 * website/docs: Update docker metadata fields that can be changed. [GH-4867] 546 547 548 ### BUG FIXES: 549 550 * builder/amazon-ebssurrogate: Use ami device settings when creating the AMI. 551 [GH-4972] 552 * builder/amazon: don't try to delete extra volumes during clean up. [GH-4930] 553 * builder/amazon: fix `force_delete_snapshot` when the launch instance has 554 extra volumes. [GH-4931] 555 * builder/amazon: Only delete temporary key if we created one. [GH-4850] 556 * builder/azure: Replace calls to panic with error returns. [GH-4846] 557 * communicator/winrm: Use KeepAlive to keep long-running connections open. 558 [GH-4952] 559 * core: Correctly reject config files which have junk after valid json. 560 [GH-4906] 561 * post-processor/checksum: fix crash when invalid checksum is used. [GH-4812] 562 * post-processor/vagrant-cloud: don't read files to upload in to memory first. 563 [GH-5005] 564 * post-processor/vagrant-cloud: only upload once under normal conditions. 565 [GH-5008] 566 * provisioner/ansible-local: Correctly set the default staging directory under 567 Windows. [GH-4792] 568 569 ### FEATURES: 570 571 * **New builder:** `alicloud-ecs` for building Alicloud ECS images. [GH-4619] 572 573 574 ## 1.0.0 (April 4, 2017) 575 576 ### BUG FIXES: 577 578 * builder/amazon: Fix b/c issue by reporting again the tags we create. 579 [GH-4704] 580 * builder/amazon: Fix crash in `step_region_copy`. [GH-4642] 581 * builder/googlecompute: Correct values for `on_host_maintenance`. [GH-4643] 582 * builder/googlecompute: Use "default" service account. [GH-4749] 583 * builder/hyper-v: Don't wait for shutdown_command to return. [GH-4691] 584 * builder/virtualbox: fix `none` communicator by allowing skipping upload of 585 version file. [GH-4678] 586 * builder/virtualbox: retry removing floppy controller. [GH-4705] 587 * communicator/ssh: don't return error if we can't close connection. [GH-4741] 588 * communicator/ssh: fix nil pointer error. [GH-4690] 589 * core: fix version number 590 * core: Invoking packer `--help` or `--version` now exits with status 0. 591 [GH-4723] 592 * core: show correct step name when debugging. [GH-4672] 593 * communicator/winrm: Directory uploads behave more like scp. [GH-4438] 594 595 ### IMPROVEMENTS: 596 597 * builder/amazon-chroot: Ability to give an empty list in `copy_files` to 598 prevent the default `/etc/resolv.conf` file from being copied. If 599 `copy_files` isn't given at all, the default behavior remains. [GH-4708] 600 * builder/amazon: set force_deregister to true on -force. [GH-4649] 601 * builder/amazon: validate ssh key name/file. [GH-4665] 602 * builder/ansible: Clearer error message when we have problems getting the 603 ansible version. [GH-4694] 604 * builder/hyper-v: validate output dir in step, not in config. [GH-4645] 605 * More diligently try to complete azure-setup.sh. [GH-4752] 606 * website: fix display on ios devices. [GH-4618] 607 608 ## 0.12.3 (March 1, 2017) 609 610 ### BACKWARDS INCOMPATIBILITIES: 611 612 * provisioner/ansible: by default, the staging dir will be randomized. [GH-4472] 613 614 ### FEATURES: 615 616 * **New builder:** `ebs-surrogate` for building AMIs from EBS volumes. [GH-4351] 617 618 ### IMPROVEMENTS: 619 620 * builder/amazon-chroot: support encrypted boot volume. [GH-4584] 621 * builder/amazon: Add BuildRegion and SourceAMI template variables. [GH-4399] 622 * builder/amazon: Change EC2 Windows password timeout to 20 minutes. [GH-4590] 623 * builder/amazon: enable ena when `enhanced_networking` is set. [GH-4578] 624 * builder/azure:: add two new config variables for temp_compute_name and 625 temp_resource_group_name. [GH-4468] 626 * builder/docker: create export dir if needed. [GH-4439] 627 * builder/googlecompute: Add `on_host_maintenance` option. [GH-4544] 628 * builder/openstack: add reuse_ips option to try to re-use existing IPs. 629 [GH-4564] 630 * builder/vmware-esxi: try for longer to connect to vnc port. [GH-4480] 631 [GH-4610] 632 * builder/vmware: allow extra options for ovftool. [GH-4536] 633 * builder/vmware: don't cache ip address so we know if it changes. [GH-4532] 634 * communicator/docker: preserve file mode. [GH-4443] 635 * communicator/ssh: Use SSH agent when enabled for bastion step. [GH-4598] 636 * communicator/winrm: support ProxyFromEnvironment. [GH-4463] 637 * core: don't show ui color if we're not colorized. [GH-4525] 638 * core: make VNC links clickable in terminal. [GH-4497] [GH-4498] 639 * docs: add community page. [GH-4550] 640 * post-processor/amazon-import: support AMI attributes on import [GH-4216] 641 * post-processor/docker-import: print stderr on docker import failure. 642 [GH-4529] 643 644 ### BUG FIXES: 645 646 * builder/amazon-ebsvolume: Fix interpolation of block_device. [GH-4464] 647 * builder/amazon: Fix ssh agent authentication. [GH-4597] 648 * builder/docker: Don't force tag if using a docker version that doesn't 649 support it. [GH-4560] 650 * builder/googlecompute: fix bug when creating image from custom image_family. 651 [GH-4518] 652 * builder/virtualbox: remove guest additions before saving image. [GH-4496] 653 * core: always check for an error first when walking a path. [GH-4467] 654 * core: update crypto/ssh lib to fix large file uploads. [GH-4546] 655 * provisioner/chef-client: only upload knife config if we're cleaning. 656 [GH-4534] 657 658 ## 0.12.2 (January 20, 2017) 659 660 ### FEATURES: 661 662 * **New builder:** `triton` for building images for Joyent Triton. [GH-4325] 663 * **New provisioner:** `converge` for provisioning with converge.sh. [GH-4326] 664 665 ### IMPROVEMENTS: 666 667 * builder/hyperv-iso: add `iso_target_extension` option. [GH-4294] 668 * builder/openstack: Add support for instance metadata. [GH-4361] 669 * builder/openstack: Attempt to use existing floating IPs before allocating a 670 new one. [GH-4357] 671 * builder/parallels-iso: add `iso_target_extension` option. [GH-4294] 672 * builder/qemu: add `iso_target_extension` option. [GH-4294] 673 * builder/qemu: add `use_default_display` option for osx compatibility. 674 [GH-4293] 675 * builder/qemu: Detect input disk image format during copy/convert. [GH-4343] 676 * builder/virtualbox-iso: add `iso_target_extension` option. [GH-4294] 677 * builder/virtualbox: add `skip_export` option to skip exporting the VM after 678 build completes. [GH-4339] 679 * builder/vmware & builder/qemu: Allow configurable delay between keystrokes 680 when typing boot command. [GH-4403] 681 * builder/vmware-iso: add `iso_target_extension` option. [GH-4294] 682 * builder/vmware-iso: add `skip_export` option to skip exporting the VM after 683 build completes. [GH-4378] 684 * builder/vmware: Try to use `ip address` to find host IP. [GH-4411] 685 * common/step_http\_server: set `PACKER_HTTP_ADDR` env var for accessing http 686 server from inside builder. [GH-4409] 687 * provisioner/powershell: Allow equals sign in value of environment variables. 688 [GH-4328] 689 * provisioner/puppet-server: Add default facts. [GH-4286] 690 691 ### BUG FIXES: 692 693 * builder/amazon-chroot: Panic in AMI region copy step. [GH-4341] 694 * builder/amazon: Crashes when new EBS vols are used. [GH-4308] 695 * builder/amazon: Fix crash in amazon-instance. [GH-4372] 696 * builder/amazon: fix run volume tagging [GH-4420] 697 * builder/amazon: fix when using non-existent security\_group\_id. [GH-4425] 698 * builder/amazon: Properly error if we don't have the 699 ec2:DescribeSecurityGroups permission. [GH-4304] 700 * builder/amazon: Properly wait for security group to exist. [GH-4369] 701 * builder/docker: Fix crash when performing log in to ECR with an invalid URL. 702 [GH-4385] 703 * builder/openstack: fix for finding resource by ID. [GH-4301] 704 * builder/qemu: Explicitly set WinRMPort for StepConnect. [GH-4321] 705 * builder/virtualbox: Explicitly set WinRMPort for StepConnect. [GH-4321] 706 * builder/virtualbox: Pause between each boot command element in -debug. 707 [GH-4346] 708 * builder/vmware builder/parallels: Fix hang when shutting down windows in 709 certain cases. [GH-4436] 710 * command/push: Don't interpolate variables when pushing. [GH-4389] 711 * common/step_http_server: make port range inclusive. [GH-4398] 712 * communicator/winrm: update winrm client, resolving `MaxMemoryPerShellMB` 713 errors and properly error logging instead of panicking. [GH-4412] [GH-4424] 714 * provider/windows-shell: Allows equals sign in env var value. [GH-4423] 715 716 ## 0.12.1 (December 15, 2016) 717 718 ### BACKWARDS INCOMPATIBILITIES: 719 720 * `ssh_username` is now required if using communicator ssh. [GH-4172] 721 * builder/amazon: Change `shutdown_behaviour` to `shutdown_behavior`. Run 722 "packer fix template.json" to migrate a template. [GH-4285] 723 * builder/openstack: No long supports the `api_key` option for rackspace. 724 [GH-4283] 725 * post-processor/manifest: Changed `filename` field to be `output`, to be more 726 consistent with other post-processors. `packer fix` will fix this for you. 727 [GH-4192] 728 * post-processor/shell-local: Now runs per-builder instead of per-file. The 729 filename is no longer passed in as an argument to the script, but instead 730 needs to be gleaned from the manifest post-processor. [GH-4189] 731 732 ### FEATURES: 733 734 * **New builder:** "Hyper-V" Added new builder for Hyper-V on Windows. 735 [GH-2576] 736 * **New builder:** "1&1" Added new builder for [1&1](https://www.1and1.com/). 737 [GH-4163] 738 739 ### IMPROVEMENTS: 740 741 * builder/amazon-ebs: Support specifying KMS key for encryption. [GH-4023] 742 * builder/amazon-ebsvolume: Add artifact output. [GH-4141] 743 * builder/amazon: Add `snapshot_tag` overrides. [GH-4015] 744 * builder/amazon: Added new region London - eu-west-2. [GH-4284] 745 * builder/amazon: Added ca-central-1 to list of known aws regions. [GH-4274] 746 * builder/amazon: Adds `force_delete_snapshot` flag to also cleanup snapshots 747 if we're removing a preexisting image, as with `force_deregister_image`. 748 [GH-4223] 749 * builder/amazon: Support `snapshot_users` and `snapshot_groups` for sharing 750 ebs snapshots. [GH-4243] 751 * builder/cloudstack: Support reusing an already associated public IP. 752 [GH-4149] 753 * builder/docker: Introduce docker commit changes, author, and message. 754 [GH-4202] 755 * builder/googlecompute: Support `source_image_family`. [GH-4162] 756 * builder/googlecompute: enable support for Google Compute XPN. [GH-4288] 757 * builder/openstack: Added `image_members` to add new members to image after 758 it's created. [GH-4283] 759 * builder/openstack: Added `image_visibility` field to specify visibility of 760 created image. [GH-4283] 761 * builder/openstack: Automatically reauth as needed. [GH-4262] 762 * builder/virtualbox-ovf: Can now give a URL to an ova file. [GH-3982] 763 * communicator/ssh: adds ability to download download directories and 764 wildcards, fix destination file mode (not hardcoded anymore). [GH-4210] 765 * post-processor/shell-local: support spaces in script path. [GH-4144] 766 * provisioner/ansible: Allow `winrm` communicator. [GH-4209] 767 * provisioner/salt: Bootstrap fallback on wget if curl failed. [GH-4244] 768 769 ### BUG FIXES: 770 771 * builder/amazon: Correctly assign key from `ssh_keypair_name` to source 772 instance. [GH-4222] 773 * builder/amazon: Fix `source_ami_filter` ignores `owners`. [GH-4235] 774 * builder/amazon: Fix launching spot instances in EC2 Classic [GH-4204] 775 * builder/qemu: Fix issue where multiple <waitXX> commands on a single line 776 in boot_command wouldn't be parsed correctly. [GH-4269] 777 * core: Unbreak glob patterns in `floppy_files`. [GH-3890] 778 * post-processor/checksum: cleanup, and fix output to specified file with 779 more than one artifacts. [GH-4210] 780 * post-processor/checksum: reset hash after each artifact file. [GH-4210] 781 * provisioner/file: fix for directory download. [GH-4210] 782 * provisioner/file: fix issue uploading multiple files to a directory, 783 mentioned in [GH-4049]. [GH-4210] 784 * provisioner/shell: Treat disconnects as retryable when running cleanup. If 785 you have a reboot in your script, we'll now wait until the host is 786 available before attempting to cleanup the script. [GH-4197] 787 788 ## 0.12.0 (November 15, 2016) 789 790 ### FEATURES: 791 792 * **New builder:** "cloudstack" Can create new templates for use with 793 CloudStack taking either an ISO or existing template as input. [GH-3909] 794 * **New builder:** "profitbricks" Builder for creating images in the 795 ProfitBricks cloud. [GH-3660] 796 * **New builder:** "amazon-ebsvolume" Can create Amazon EBS volumes which are 797 preinitialized with a filesystem and data. [GH-4088] 798 799 800 ### IMPROVEMENTS: 801 802 * builder/amazon: Allow polling delay override with `AWS_POLL_DELAY_SECONDS`. 803 [GH-4083] 804 * builder/amazon: Allow use of local SSH Agent. [GH-4050] 805 * builder/amazon: Dynamic source AMI [GH-3817] 806 * builder/amazon: Show AMI ID found when using `source_ami_filter`. [GH-4096] 807 * builder/googlecompute: Support `ssh_private_key_file` in communicator. 808 [GH-4101] 809 * builder/googlecompute: Support custom scopes. [GH-4043] 810 * command/push: Fix variable pushes to Atlas. Still needs Atlas server to be 811 updated before the issue will be fixed completely. [GH-4089] 812 * communicator/ssh: Improved SSH upload performance. [GH-3940] 813 * contrib/azure-setup.sh: Support for azure-cli 0.10.7. [GH-4133] 814 * docs: Fix command line variable docs. [GH-4143] 815 * post-processor/vagrant: Fixed inconsistency between vagrant-libvirt driver 816 and packer QEMU accelerator. [GH-4104] 817 * provisioner/ansible: Move info messages to log [GH-4123] 818 * provisioner/puppet: Add `puppet_bin_dir` option. [GH-4014] 819 * provisioner/salt: Add `salt_call_args` option. [GH-4158] 820 821 ### BUG FIXES: 822 823 * builder/amazon: Fixed an error where we wouldn't fail the build even if we 824 timed out waiting for the temporary security group to become available. 825 [GH-4099] 826 * builder/amazon: Properly cleanup temporary key pairs. [GH-4080] 827 * builder/google: Fix issue where we'd hang waiting for a startup script 828 which doesn't exist. [GH-4102] 829 * builder/qemu: Fix keycodes for ctrl, shift and alt keys. [GH-4115] 830 * builder/vmware: Fix keycodes for ctrl, shift and alt keys. [GH-4115] 831 * builder/vmware: Fixed build error when shutting down. [GH-4041] 832 * common/step_create_floppy: Fixed support for 1.44MB floppies on Windows. 833 [GH-4135] 834 * post-processor/googlecompute-export: Fixes scopes. [GH-4147] 835 * provisioner/powershell: Reverted [GH-3371] fixes quoting issue. [GH-4069] 836 * scripts: Fix build under Windows for go 1.5. [GH-4142] 837 838 ## 0.11.0 (October 21, 2016) 839 840 ### BACKWARDS INCOMPATIBILITIES: 841 842 * VNC and VRDP-like features in VirtualBox, VMware, and QEMU now configurable 843 but bind to 127.0.0.1 by default to improve security. See the relevant 844 builder docs for more info. 845 * Docker builder requires Docker > 1.3 846 * provisioner/chef-solo: default staging directory renamed to 847 `packer-chef-solo`. [GH-3971] 848 849 ### FEATURES: 850 851 * **New Checksum post-processor**: Create a checksum file from your build 852 artifacts as part of your build. [GH-3492] [GH-3790] 853 * **New build flag** `-on-error` to allow inspection and keeping artifacts on 854 builder errors. [GH-3885] 855 * **New Google Compute Export post-processor**: exports an image from a Packer 856 googlecompute builder run and uploads it to Google Cloud Storage. 857 [GH-3760] 858 * **New Manifest post-processor**: writes metadata about packer's output 859 artifacts data to a JSON file. [GH-3651] 860 861 862 ### IMPROVEMENTS: 863 864 * builder/amazon: Added `disable_stop_instance` option to prevent automatic 865 shutdown when the build is complete. [GH-3352] 866 * builder/amazon: Added `shutdown_behavior` option to support `stop` or 867 `terminate` at the end of the build. [GH-3556] 868 * builder/amazon: Added `skip_region_validation` option to allow newer or 869 custom AWS regions. [GH-3598] 870 * builder/amazon: Added `us-east-2` and `ap-south-1` regions. [GH-4021] 871 [GH-3663] 872 * builder/amazon: Support building from scratch with amazon-chroot builder. 873 [GH-3855] [GH-3895] 874 * builder/amazon: Support create an AMI with an `encrypt_boot` volume. 875 [GH-3382] 876 * builder/azure: Add `os_disk_size_gb`. [GH-3995] 877 * builder/azure: Add location to setup script. [GH-3803] 878 * builder/azure: Allow user to set custom data. [GH-3996] 879 * builder/azure: Made `tenant_id` optional. [GH-3643] 880 * builder/azure: Now pre-validates `capture_container_name` and 881 `capture_name_prefix` [GH-3537] 882 * builder/azure: Removed superfluous polling code for deployments. [GH-3638] 883 * builder/azure: Support for a user defined VNET. [GH-3683] 884 * builder/azure: Support for custom images. [GH-3575] 885 * builder/azure: tag all resources. [GH-3764] 886 * builder/digitalocean: Added `user_data_file` support. [GH-3933] 887 * builder/digitalocean: Fixes timeout waiting for snapshot. [GH-3868] 888 * builder/digitalocean: Use `state_timeout` for unlock and off transitions. 889 [GH-3444] 890 * builder/docker: Improved support for Docker pull from Amazon ECR. [GH-3856] 891 * builder/google: Add `-force` option to delete old image before creating new 892 one. [GH-3918] 893 * builder/google: Add image license metadata. [GH-3873] 894 * builder/google: Added support for `image_family` [GH-3531] 895 * builder/google: Added support for startup scripts. [GH-3639] 896 * builder/google: Create passwords for Windows instances. [GH-3932] 897 * builder/google: Enable to select NVMe images. [GH-3338] 898 * builder/google: Signal that startup script fished via metadata. [GH-3873] 899 * builder/google: Use gcloud application default credentials. [GH-3655] 900 * builder/google: provision VM without external IP address. [GH-3774] 901 * builder/null: Can now be used with WinRM. [GH-2525] 902 * builder/openstack: Added support for `ssh_password` instead of generating 903 ssh keys. [GH-3976] 904 * builder/parallels: Add support for ctrl, shift and alt keys in 905 `boot_command`. [GH-3767] 906 * builder/parallels: Copy directories recursively with `floppy_dirs`. 907 [GH-2919] 908 * builder/parallels: Now pauses between `boot_command` entries when running 909 with `-debug` [GH-3547] 910 * builder/parallels: Support future versions of Parallels by using the latest 911 driver. [GH-3673] 912 * builder/qemu: Add support for ctrl, shift and alt keys in `boot_command`. 913 [GH-3767] 914 * builder/qemu: Added `vnc_bind_address` option. [GH-3574] 915 * builder/qemu: Copy directories recursively with `floppy_dirs`. [GH-2919] 916 * builder/qemu: Now pauses between `boot_command` entries when running with 917 `-debug` [GH-3547] 918 * builder/qemu: Specify disk format when starting qemu. [GH-3888] 919 * builder/virtualbox-iso: Added `hard_drive_nonrotational` and 920 `hard_drive_discard` options to enable trim/discard. [GH-4013] 921 * builder/virtualbox-iso: Added `keep_registered` option to skip cleaning up 922 the image. [GH-3954] 923 * builder/virtualbox: Add support for ctrl, shift and alt keys in 924 `boot_command`. [GH-3767] 925 * builder/virtualbox: Added `post_shutdown_delay` option to wait after 926 shutting down to prevent issues removing floppy drive. [GH-3952] 927 * builder/virtualbox: Added `vrdp_bind_address` option. [GH-3566] 928 * builder/virtualbox: Copy directories recursively with `floppy_dirs`. 929 [GH-2919] 930 * builder/virtualbox: Now pauses between `boot_command` entries when running 931 with `-debug` [GH-3542] 932 * builder/vmware-vmx: Added `tools_upload_flavor` and `tools_upload_path` to 933 docs. 934 * builder/vmware: Add support for ctrl, shift and alt keys in `boot_command`. 935 [GH-3767] 936 * builder/vmware: Added `vnc_bind_address` option. [GH-3565] 937 * builder/vmware: Adds passwords for VNC. [GH-2325] 938 * builder/vmware: Copy directories recursively with `floppy_dirs`. [GH-2919] 939 * builder/vmware: Handle connection to VM with more than one NIC on ESXi 940 [GH-3347] 941 * builder/vmware: Now paused between `boot_command` entries when running with 942 `-debug` [GH-3542] 943 * core: Supress plugin discovery from plugins. [GH-4002] 944 * core: Test floppy disk files actually exist. [GH-3756] 945 * core: setting `PACKER_LOG=0` now disables logging. [GH-3964] 946 * post-processor/amazon-import: Support `ami_name` for naming imported AMI. 947 [GH-3941] 948 * post-processor/compress: Added support for bgzf compression. [GH-3501] 949 * post-processor/docker: Improved support for Docker push to Amazon ECR. 950 [GH-3856] 951 * post-processor/docker: Preserve tags when running docker push. [GH-3631] 952 * post-processor/vagrant: Added vsphere-esx hosts to supported machine types. 953 [GH-3967] 954 * provisioner/ansible-local: Support for ansible-galaxy. [GH-3350] [GH-3836] 955 * provisioner/ansible: Improved logging and error handling. [GH-3477] 956 * provisioner/ansible: Support scp. [GH-3861] 957 * provisioner/chef: Added `knife_command` option and added a correct default 958 value for Windows. [GH-3622] 959 * provisioner/chef: Installs 64bit chef on Windows if available. [GH-3848] 960 * provisioner/file: Now makes destination directory. [GH-3692] 961 * provisioner/puppet: Added `execute_command` option. [GH-3614] 962 * provisioner/salt: Added `custom_state` to specify state to run instead of 963 `highstate`. [GH-3776] 964 * provisioner/shell: Added `expect_disconnect` flag to fail if remote 965 unexpectedly disconnects. [GH-4034] 966 * scripts: Added `help` target to Makefile. [GH-3290] 967 * vendor: Moving from Godep to govendor. See `CONTRIBUTING.md` for details. 968 [GH-3956] 969 * website: code examples now use inconsolata. Improve code font rendering on 970 linux. 971 972 ### BUG FIXES: 973 974 * builder/amazon: Add 0.5 cents to discovered spot price. [GH-3662] 975 * builder/amazon: Allow using `ssh_private_key_file` and `ssh_password`. 976 [GH-3953] 977 * builder/amazon: Fix packer crash when waiting for SSH. [GH-3865] 978 * builder/amazon: Honor ssh_private_ip flag in EC2-Classic. [GH-3752] 979 * builder/amazon: Properly clean up EBS volumes on failure. [GH-3789] 980 * builder/amazon: Use `temporary_key_pair_name` when specified. [GH-3739] 981 * builder/amazon: retry creating tags on images since the images might take 982 some time to become available. [GH-3938] 983 * builder/azure: Fix authorization setup script failing to creating service 984 principal. [GH-3812] 985 * builder/azure: check for empty resource group. [GH-3606] 986 * builder/azure: fix token validity test. [GH-3609] 987 * builder/docker: Fix file provisioner dotfile matching. [GH-3800] 988 * builder/docker: fix docker builder with ansible provisioner. [GH-3476] 989 * builder/qemu: Don't fail on communicator set to `none`. [GH-3681] 990 * builder/qemu: Make `ssh_host_port_max` an inclusive bound. [GH-2784] 991 * builder/virtualbox: Make `ssh_host_port_max` an inclusive bound. [GH-2784] 992 * builder/virtualbox: Respect `ssh_host` [GH-3617] 993 * builder/vmware: Do not add remotedisplay.vnc.ip to VMX data on ESXi 994 [GH-3740] 995 * builder/vmware: Don't check for poweron errors on ESXi. [GH-3195] 996 * builder/vmware: Re-introduce case sensitive VMX keys. [GH-2707] 997 * builder/vmware: Respect `ssh_host`/`winrm_host` on ESXi. [GH-3738] 998 * command/push: Allows dot (`.`) in image names. [GH-3937] 999 * common/iso_config: fix potential panic when iso checksum url was given but 1000 not the iso url. [GH-4004] 1001 * communicator/ssh: fixed possible panic when reconnecting fails. [GH-4008] 1002 * communicator/ssh: handle error case where server closes the connection but 1003 doesn't give us an error code. [GH-3966] 1004 * post-processor/shell-local: Do not set execute bit on artifact file. 1005 [GH-3505] 1006 * post-processor/vsphere: Fix upload failures with vsphere. [GH-3321] 1007 * provisioner/ansible: Properly set host key checking even when a custom ENV 1008 is specified. [GH-3568] 1009 * provisioner/file: Fix directory download. [GH-3899] 1010 * provisioner/powershell: fixed issue with setting environment variables. 1011 [GH-2785] 1012 * website: improved rendering on iPad. [GH-3780] 1013 1014 ## 0.10.2 (September 20, 2016) 1015 1016 ### BUG FIXES: 1017 1018 * Rebuilding with OS X Sierra and go 1.7.1 to fix bug in Sierra 1019 1020 ## 0.10.1 (May 7, 2016) 1021 1022 ### FEATURES: 1023 1024 * `azure-arm` builder: Can now build Windows images, and supports additional 1025 configuration. Please refer to the documentation for details. 1026 1027 ### IMPROVEMENTS: 1028 1029 * core: Added support for `ATLAS_CAFILE` and `ATLAS_CAPATH` [GH-3494] 1030 * builder/azure: Improved build cancellation and cleanup of partially- 1031 provisioned resources. [GH-3461] 1032 * builder/azure: Improved logging. [GH-3461] 1033 * builder/azure: Added support for US Government and China clouds. [GH-3461] 1034 * builder/azure: Users may now specify an image version. [GH-3461] 1035 * builder/azure: Added device login. [GH-3461] 1036 * builder/docker: Added `privileged` build option. [GH-3475] 1037 * builder/google: Packer now identifies its version to the service. [GH-3465] 1038 * provisioner/shell: Added `remote_folder` and `remote_file` options 1039 [GH-3462] 1040 * post-processor/compress: Added support for `bgzf` format and added 1041 `format` option. [GH-3501] 1042 1043 ### BUG FIXES: 1044 1045 * core: Fix hang after pressing enter key in `-debug` mode. [GH-3346] 1046 * provisioner/chef: Use custom values for remote validation key path 1047 [GH-3468] 1048 1049 ## 0.10.0 (March 14, 2016) 1050 1051 ### BACKWARDS INCOMPATIBILITIES: 1052 1053 * Building Packer now requires go >= 1.5 (>= 1.6 is recommended). If you want 1054 to continue building with go 1.4 you can remove the `azurearmbuilder` line 1055 from `command/plugin.go`. 1056 1057 ### FEATURES: 1058 1059 * **New `azure-arm` builder**: Build virtual machines in Azure Resource 1060 Manager 1061 1062 ### IMPROVEMENTS: 1063 1064 * builder/google: Added support for `disk_type` [GH-2830] 1065 * builder/openstack: Added support for retrieving the Administrator password 1066 when using WinRM if no `winrm_password` is set. [GH-3209] 1067 * provisioner/ansible: Added the `empty_groups` parameter. [GH-3232] 1068 * provisioner/ansible: Added the `user` parameter. [GH-3276] 1069 * provisioner/ansible: Don't use deprecated ssh option with Ansible 2.0 1070 [GH-3291] 1071 * provisioner/puppet-masterless: Add `ignore_exit_codes` parameter. [GH-3349] 1072 1073 ### BUG FIXES: 1074 1075 * builders/parallels: Handle `output_directory` containing `.` and `..` 1076 [GH-3239] 1077 * provisioner/ansible: os.Environ() should always be passed to the ansible 1078 command. [GH-3274] 1079 1080 ## 0.9.0 (February 19, 2016) 1081 1082 ### BACKWARDS INCOMPATIBILITIES: 1083 1084 * Packer now ships as a single binary, including plugins. If you install packer 1085 0.9.0 over a previous packer installation, **you must delete all of the 1086 packer-* plugin files** or packer will load out-of-date plugins from disk. 1087 * Release binaries are now provided via <https://releases.hashicorp.com>. 1088 * Packer 0.9.0 is now built with Go 1.6. 1089 * core: Plugins that implement the Communicator interface must now implement 1090 a DownloadDir method. [GH-2618] 1091 * builder/amazon: Inline `user_data` for EC2 is now base64 encoded 1092 automatically. [GH-2539] 1093 * builder/parallels: `parallels_tools_host_path` and `guest_os_distribution` 1094 have been replaced by `guest_os_type`; use `packer fix` to update your 1095 templates. [GH-2751] 1096 1097 ### FEATURES: 1098 1099 * **Chef on Windows**: The chef provisioner now has native support for 1100 Windows using Powershell and WinRM. [GH-1215] 1101 * **New `vmware-esxi` feature**: Packer can now export images from vCloud or 1102 vSphere during the build. [GH-1921] 1103 * **New Ansible Provisioner**: `ansible` provisioner supports remote 1104 provisioning to keep your build image cleaner. [GH-1969] 1105 * **New Amazon Import post-processor**: `amazon-import` allows you to upload an 1106 OVA-based VM to Amazon EC2. [GH-2962] 1107 * **Shell Local post-processor**: `shell-local` allows you to run shell 1108 commands on the host after a build has completed for custom packaging or 1109 publishing of your artifacts. [GH-2706] 1110 * **Artifice post-processor**: Override packer artifacts during post- 1111 processing. This allows you to extract artifacts from a packer builder and 1112 use them with other post-processors like compress, docker, and Atlas. 1113 1114 ### IMPROVEMENTS: 1115 1116 * core: Packer plugins are now compiled into the main binary, reducing file 1117 size and build times, and making packer easier to install. The overall 1118 plugin architecture has not changed and third-party plugins can still be 1119 loaded from disk. Please make sure your plugins are up-to-date! [GH-2854] 1120 * core: Packer now indicates line numbers for template parse errors. [GH-2742] 1121 * core: Scripts are executed via `/usr/bin/env bash` instead of `/bin/bash` 1122 for broader compatibility. [GH-2913] 1123 * core: `target_path` for builder downloads can now be specified. [GH-2600] 1124 * core: WinRM communicator now supports HTTPS protocol. [GH-3061] 1125 * core: Template syntax errors now show line, column, offset. [GH-3180] 1126 * core: SSH communicator now supports downloading directories. [GH-2618] 1127 * builder/amazon: Add support for `ebs_optimized` [GH-2806] 1128 * builder/amazon: You can now specify `0` for `spot_price` to switch to on 1129 demand instances. [GH-2845] 1130 * builder/amazon: Added `ap-northeast-2` (Seoul) [GH-3056] 1131 * builder/amazon: packer will try to derive the AZ if only a subnet is 1132 specified. [GH-3037] 1133 * builder/digitalocean: doubled instance wait timeouts to power off or 1134 shutdown (now 4 minutes) and to complete a snapshot (now 20 minutes) 1135 [GH-2939] 1136 * builder/google: `account_file` can now be provided as a JSON string 1137 [GH-2811] 1138 * builder/google: added support for `preemptible` instances. [GH-2982] 1139 * builder/google: added support for static external IPs via `address` option 1140 [GH-3030] 1141 * builder/openstack: added retry on WaitForImage 404. [GH-3009] 1142 * builder/openstack: Can specify `source_image_name` instead of the ID 1143 [GH-2577] 1144 * builder/openstack: added support for SSH over IPv6. [GH-3197] 1145 * builder/parallels: Improve support for Parallels 11. [GH-2662] 1146 * builder/parallels: Parallels disks are now compacted by default. [GH-2731] 1147 * builder/parallels: Packer will look for Parallels in 1148 `/Applications/Parallels Desktop.app` if it is not detected automatically 1149 [GH-2839] 1150 * builder/qemu: qcow2 images are now compacted by default. [GH-2748] 1151 * builder/qemu: qcow2 images can now be compressed. [GH-2748] 1152 * builder/qemu: Now specifies `virtio-scsi` by default. [GH-2422] 1153 * builder/qemu: Now checks for version-specific options. [GH-2376] 1154 * builder/qemu: Can now bypass disk cache using `iso_skip_cache` [GH-3105] 1155 * builder/qemu: `<wait>` in `boot_command` now accepts an arbitrary duration 1156 like <wait1m30s> [GH-3129] 1157 * builder/qemu: Expose `{{ .SSHHostPort }}` in templates. [GH-2884] 1158 * builder/virtualbox: Added VRDP for debugging. [GH-3188] 1159 * builder/vmware-esxi: Added private key auth for remote builds via 1160 `remote_private_key_file` [GH-2912] 1161 * post-processor/atlas: Added support for compile ID. [GH-2775] 1162 * post-processor/docker-import: Can now import Artifice artifacts. [GH-2718] 1163 * provisioner/chef: Added `encrypted_data_bag_secret_path` option. [GH-2653] 1164 * provisioner/puppet: Added the `extra_arguments` parameter. [GH-2635] 1165 * provisioner/salt: Added `no_exit_on_failure`, `log_level`, and improvements 1166 to salt command invocation. [GH-2660] 1167 1168 ### BUG FIXES: 1169 1170 * core: Random number generator is now seeded. [GH-2640] 1171 * core: Packer should now have a lot less race conditions. [GH-2824] 1172 * builder/amazon: The `no_device` option for block device mappings is now handled correctly. [GH-2398] 1173 * builder/amazon: AMI name validation now matches Amazon's spec. [GH-2774] 1174 * builder/amazon: Use snapshot size when volume size is unspecified. [GH-2480] 1175 * builder/amazon: Pass AccessKey and SecretKey when uploading bundles for 1176 instance-backed AMIs. [GH-2596] 1177 * builder/parallels: Added interpolation in `prlctl_post` [GH-2828] 1178 * builder/vmware: `format` option is now read correctly. [GH-2892] 1179 * builder/vmware-esxi: Correct endless loop in destroy validation logic 1180 [GH-2911] 1181 * provisioner/shell: No longer leaves temp scripts behind. [GH-1536] 1182 * provisioner/winrm: Now waits for reboot to complete before continuing with provisioning. [GH-2568] 1183 * post-processor/artifice: Fix truncation of files downloaded from Docker. [GH-2793] 1184 1185 1186 ## 0.8.6 (Aug 22, 2015) 1187 1188 ### IMPROVEMENTS: 1189 1190 * builder/docker: Now supports Download so it can be used with the file 1191 provisioner to download a file from a container. [GH-2585] 1192 * builder/docker: Now verifies that the artifact will be used before the build 1193 starts, unless the `discard` option is specified. This prevent failures 1194 after the build completes. [GH-2626] 1195 * post-processor/artifice: Now supports glob-like syntax for filenames. [GH-2619] 1196 * post-processor/vagrant: Like the compress post-processor, vagrant now uses a 1197 parallel gzip algorithm to compress vagrant boxes. [GH-2590] 1198 1199 ### BUG FIXES: 1200 1201 * core: When `iso_url` is a local file and the checksum is invalid, the local 1202 file will no longer be deleted. [GH-2603] 1203 * builder/parallels: Fix interpolation in `parallels_tools_guest_path` [GH-2543] 1204 1205 ## 0.8.5 (Aug 10, 2015) 1206 1207 ### FEATURES: 1208 1209 * **[Beta]** Artifice post-processor: Override packer artifacts during post- 1210 processing. This allows you to extract artifacts from a packer builder 1211 and use them with other post-processors like compress, docker, and Atlas. 1212 1213 ### IMPROVEMENTS: 1214 1215 * Many docs have been updated and corrected; big thanks to our contributors! 1216 * builder/openstack: Add debug logging for IP addresses used for SSH. [GH-2513] 1217 * builder/openstack: Add option to use existing SSH keypair. [GH-2512] 1218 * builder/openstack: Add support for Glance metadata. [GH-2434] 1219 * builder/qemu and builder/vmware: Packer's VNC connection no longer asks for 1220 an exclusive connection. [GH-2522] 1221 * provisioner/salt-masterless: Can now customize salt remote directories. [GH-2519] 1222 1223 ### BUG FIXES: 1224 1225 * builder/amazon: Improve instance cleanup by storing id sooner. [GH-2404] 1226 * builder/amazon: Only fetch windows password when using WinRM communicator. [GH-2538] 1227 * builder/openstack: Support IPv6 SSH address. [GH-2450] 1228 * builder/openstack: Track new IP address discovered during RackConnect. [GH-2514] 1229 * builder/qemu: Add 100ms delay between VNC key events. [GH-2415] 1230 * post-processor/atlas: atlas_url configuration option works now. [GH-2478] 1231 * post-processor/compress: Now supports interpolation in output config. [GH-2414] 1232 * provisioner/powershell: Elevated runs now receive environment variables. [GH-2378] 1233 * provisioner/salt-masterless: Clarify error messages when we can't create or 1234 write to the temp directory. [GH-2518] 1235 * provisioner/salt-masterless: Copy state even if /srv/salt exists already. [GH-1699] 1236 * provisioner/salt-masterless: Make sure /etc/salt exists before writing to it. [GH-2520] 1237 * provisioner/winrm: Connect to the correct port when using NAT with 1238 VirtualBox / VMware. [GH-2399] 1239 1240 ## Note: 0.8.3 was pulled and 0.8.4 was skipped. 1241 1242 ## 0.8.2 (July 17, 2015) 1243 1244 ### IMPROVEMENTS: 1245 1246 * builder/docker: Add option to use a Pty. [GH-2425] 1247 1248 ### BUG FIXES: 1249 1250 * core: Fix crash when `min_packer_version` is specified in a template. [GH-2385] 1251 * builder/amazon: Fix EC2 devices being included in EBS mappings. [GH-2459] 1252 * builder/googlecompute: Fix default name for GCE images. [GH-2400] 1253 * builder/null: Fix error message with missing ssh_host. [GH-2407] 1254 * builder/virtualbox: Use --portcount on VirtualBox 5.x. [GH-2438] 1255 * provisioner/puppet: Packer now correctly handles a directory for manifest_file. [GH-2463] 1256 * provisioner/winrm: Fix potential crash with WinRM. [GH-2416] 1257 1258 ## 0.8.1 (July 2, 2015) 1259 1260 ### IMPROVEMENTS: 1261 1262 * builder/amazon: When debug mode is enabled, the Windows administrator 1263 password for Windows instances will be shown. [GH-2351] 1264 1265 ### BUG FIXES: 1266 1267 * core: `min_packer_version` field in configs work. [GH-2356] 1268 * core: The `build_name` and `build_type` functions work in provisioners. [GH-2367] 1269 * core: Handle timeout in SSH handshake. [GH-2333] 1270 * command/build: Fix reading configuration from stdin. [GH-2366] 1271 * builder/amazon: Fix issue with sharing AMIs when using `ami_users` [GH-2308] 1272 * builder/amazon: Fix issue when using multiple Security Groups. [GH-2381] 1273 * builder/amazon: Fix for tag creation when creating new ec2 instance. [GH-2317] 1274 * builder/amazon: Fix issue with creating AMIs with multiple device mappings. [GH-2320] 1275 * builder/amazon: Fix failing AMI snapshot tagging when copying to other 1276 regions. [GH-2316] 1277 * builder/amazon: Fix setting AMI launch permissions. [GH-2348] 1278 * builder/amazon: Fix spot instance cleanup to remove the correct request. [GH-2327] 1279 * builder/amazon: Fix `bundle_prefix` not interpolating `timestamp` [GH-2352] 1280 * builder/amazon-instance: Fix issue with creating AMIs without specifying a 1281 virtualization type. [GH-2330] 1282 * builder/digitalocean: Fix builder using private IP instead of public IP. [GH-2339] 1283 * builder/google: Set default communicator settings properly. [GH-2353] 1284 * builder/vmware-iso: Setting `checksum_type` to `none` for ESX builds 1285 now works. [GH-2323] 1286 * provisioner/chef: Use knife config file vs command-line params to 1287 clean up nodes so full set of features can be used. [GH-2306] 1288 * post-processor/compress: Fixed crash in compress post-processor plugin. [GH-2311] 1289 1290 ## 0.8.0 (June 23, 2015) 1291 1292 ### BACKWARDS INCOMPATIBILITIES: 1293 1294 * core: SSH connection will no longer request a PTY by default. This 1295 can be enabled per builder. 1296 * builder/digitalocean: no longer supports the v1 API which has been 1297 deprecated for some time. Most configurations should continue to 1298 work as long as you use the `api_token` field for auth. 1299 * builder/digitalocean: `image`, `region`, and `size` are now required. 1300 * builder/openstack: auth parameters have been changed to better 1301 reflect OS terminology. Existing environment variables still work. 1302 1303 ### FEATURES: 1304 1305 * **WinRM:** You can now connect via WinRM with almost every builder. 1306 See the docs for more info. [GH-2239] 1307 * **Windows AWS Support:** Windows AMIs can now be built without any 1308 external plugins: Packer will start a Windows instance, get the 1309 admin password, and can use WinRM (above) to connect through. [GH-2240] 1310 * **Disable SSH:** Set `communicator` to "none" in any builder to disable SSH 1311 connections. Note that provisioners won't work if this is done. [GH-1591] 1312 * **SSH Agent Forwarding:** SSH Agent Forwarding will now be enabled 1313 to allow access to remote servers such as private git repos. [GH-1066] 1314 * **SSH Bastion Hosts:** You can now specify a bastion host for 1315 SSH access (works with all builders). [GH-387] 1316 * **OpenStack v3 Identity:** The OpenStack builder now supports the 1317 v3 identity API. 1318 * **Docker builder supports SSH**: The Docker builder now supports containers 1319 with SSH, just set `communicator` to "ssh" [GH-2244] 1320 * **File provisioner can download**: The file provisioner can now download 1321 files out of the build process. [GH-1909] 1322 * **New config function: `build_name`**: The name of the currently running 1323 build. [GH-2232] 1324 * **New config function: `build_type`**: The type of the currently running 1325 builder. This is useful for provisioners. [GH-2232] 1326 * **New config function: `template_dir`**: The directory to the template 1327 being built. This should be used for template-relative paths. [GH-54] 1328 * **New provisioner: shell-local**: Runs a local shell script. [GH-770] 1329 * **New provisioner: powershell**: Provision Windows machines 1330 with PowerShell scripts. [GH-2243] 1331 * **New provisioner: windows-shell**: Provision Windows machines with 1332 batch files. [GH-2243] 1333 * **New provisioner: windows-restart**: Restart a Windows machines and 1334 wait for it to come back online. [GH-2243] 1335 * **Compress post-processor supports multiple algorithms:** The compress 1336 post-processor now supports lz4 compression and compresses gzip in 1337 parallel for much faster throughput. 1338 1339 ### IMPROVEMENTS: 1340 1341 * core: Interrupt handling for SIGTERM signal as well. [GH-1858] 1342 * core: HTTP downloads support resuming. [GH-2106] 1343 * builder/*: Add `ssh_handshake_attempts` to configure the number of 1344 handshake attempts done before failure. [GH-2237] 1345 * builder/amazon: Add `force_deregister` option for automatic AMI 1346 deregistration. [GH-2221] 1347 * builder/amazon: Now applies tags to EBS snapshots. [GH-2212] 1348 * builder/amazon: Clean up orphaned volumes from Source AMIs. [GH-1783] 1349 * builder/amazon: Support custom keypairs. [GH-1837] 1350 * builder/amazon-chroot: Can now resize the root volume of the resulting 1351 AMI with the `root_volume_size` option. [GH-2289] 1352 * builder/amazon-chroot: Add `mount_options` configuration option for providing 1353 options to the `mount` command. [GH-2296] 1354 * builder/digitalocean: Save SSH key to pwd if debug mode is on. [GH-1829] 1355 * builder/digitalocean: User data support. [GH-2113] 1356 * builder/googlecompute: Option to use internal IP for connections. [GH-2152] 1357 * builder/parallels: Support Parallels Desktop 11. [GH-2199] 1358 * builder/openstack: Add `rackconnect_wait` for Rackspace customers to wait for 1359 RackConnect data to appear 1360 * builder/openstack: Add `ssh_interface` option for rackconnect for users that 1361 have prohibitive firewalls 1362 * builder/openstack: Flavor names can be used as well as refs 1363 * builder/openstack: Add `availability_zone` [GH-2016] 1364 * builder/openstack: Machine will be stopped prior to imaging if the 1365 cluster supports the `startstop` extension. [GH-2223] 1366 * builder/openstack: Support for user data. [GH-2224] 1367 * builder/qemu: Default accelerator to "tcg" on Windows. [GH-2291] 1368 * builder/virtualbox: Added option: `ssh_skip_nat_mapping` to skip the 1369 automatic port forward for SSH and to use the guest port directly. [GH-1078] 1370 * builder/virtualbox: Added SCSI support 1371 * builder/vmware: Support for additional disks. [GH-1382] 1372 * builder/vmware: Can now customize the template used for adding disks. [GH-2254] 1373 * command/fix: After fixing, the template is validated. [GH-2228] 1374 * command/push: Add `-name` flag for specifying name from CLI. [GH-2042] 1375 * command/push: Push configuration in templates supports variables. [GH-1861] 1376 * post-processor/docker-save: Can be chained. [GH-2179] 1377 * post-processor/docker-tag: Support `force` option. [GH-2055] 1378 * post-processor/docker-tag: Can be chained. [GH-2179] 1379 * post-processor/vsphere: Make more fields optional, support empty 1380 resource pools. [GH-1868] 1381 * provisioner/puppet-masterless: `working_directory` option. [GH-1831] 1382 * provisioner/puppet-masterless: `packer_build_name` and 1383 `packer_build_type` are default facts. [GH-1878] 1384 * provisioner/puppet-server: `ignore_exit_codes` option added. [GH-2280] 1385 1386 ### BUG FIXES: 1387 1388 * core: Fix potential panic for post-processor plugin exits. [GH-2098] 1389 * core: `PACKER_CONFIG` may point to a non-existent file. [GH-2226] 1390 * builder/amazon: Allow spaces in AMI names when using `clean_ami_name` [GH-2182] 1391 * builder/amazon: Remove deprecated ec2-upload-bundle parameter. [GH-1931] 1392 * builder/amazon: Use IAM Profile to upload bundle if provided. [GH-1985] 1393 * builder/amazon: Use correct exit code after SSH authentication failed. [GH-2004] 1394 * builder/amazon: Retry finding created instance for eventual 1395 consistency. [GH-2129] 1396 * builder/amazon: If no AZ is specified, use AZ chosen automatically by 1397 AWS for spot instance. [GH-2017] 1398 * builder/amazon: Private key file (only available in debug mode) 1399 is deleted on cleanup. [GH-1801] 1400 * builder/amazon: AMI copy won't copy to the source region. [GH-2123] 1401 * builder/amazon: Validate AMI doesn't exist with name prior to build. [GH-1774] 1402 * builder/amazon: Improved retry logic around waiting for instances. [GH-1764] 1403 * builder/amazon: Fix issues with creating Block Devices. [GH-2195] 1404 * builder/amazon/chroot: Retry waiting for disk attachments. [GH-2046] 1405 * builder/amazon/chroot: Only unmount path if it is mounted. [GH-2054] 1406 * builder/amazon/instance: Use `-i` in sudo commands so PATH is inherited. [GH-1930] 1407 * builder/amazon/instance: Use `--region` flag for bundle upload command. [GH-1931] 1408 * builder/digitalocean: Wait for droplet to unlock before changing state, 1409 should lower the "pending event" errors. 1410 * builder/digitalocean: Ignore invalid fields from the ever-changing v2 API 1411 * builder/digitalocean: Private images can be used as a source. [GH-1792] 1412 * builder/docker: Fixed hang on prompt while copying script 1413 * builder/docker: Use `docker exec` for newer versions of Docker for 1414 running scripts. [GH-1993] 1415 * builder/docker: Fix crash that could occur at certain timed ctrl-c. [GH-1838] 1416 * builder/docker: validate that `export_path` is not a directory. [GH-2105] 1417 * builder/google: `ssh_timeout` is respected. [GH-1781] 1418 * builder/openstack: `ssh_interface` can be used to specify the interface 1419 to retrieve the SSH IP from. [GH-2220] 1420 * builder/qemu: Add `disk_discard` option. [GH-2120] 1421 * builder/qemu: Use proper SSH port, not hardcoded to 22. [GH-2236] 1422 * builder/qemu: Find unused SSH port if SSH port is taken. [GH-2032] 1423 * builder/virtualbox: Bind HTTP server to IPv4, which is more compatible with 1424 OS installers. [GH-1709] 1425 * builder/virtualbox: Remove the floppy controller in addition to the 1426 floppy disk. [GH-1879] 1427 * builder/virtualbox: Fixed regression where downloading ISO without a 1428 ".iso" extension didn't work. [GH-1839] 1429 * builder/virtualbox: Output dir is verified at runtime, not template 1430 validation time. [GH-2233] 1431 * builder/virtualbox: Find unused SSH port if SSH port is taken. [GH-2032] 1432 * builder/vmware: Add 100ms delay between keystrokes to avoid subtle 1433 timing issues in most cases. [GH-1663] 1434 * builder/vmware: Bind HTTP server to IPv4, which is more compatible with 1435 OS installers. [GH-1709] 1436 * builder/vmware: Case-insensitive match of MAC address to find IP. [GH-1989] 1437 * builder/vmware: More robust IP parsing from ifconfig output. [GH-1999] 1438 * builder/vmware: Nested output directories for ESXi work. [GH-2174] 1439 * builder/vmware: Output dir is verified at runtime, not template 1440 validation time. [GH-2233] 1441 * command/fix: For the `virtualbox` to `virtualbox-iso` builder rename, 1442 provisioner overrides are now also fixed. [GH-2231] 1443 * command/validate: don't crash for invalid builds. [GH-2139] 1444 * post-processor/atlas: Find common archive prefix for Windows. [GH-1874] 1445 * post-processor/atlas: Fix index out of range panic. [GH-1959] 1446 * post-processor/vagrant-cloud: Fixed failing on response 1447 * post-processor/vagrant-cloud: Don't delete version on error. [GH-2014] 1448 * post-processor/vagrant-cloud: Retry failed uploads a few times 1449 * provisioner/chef-client: Fix permissions issues on default dir. [GH-2255] 1450 * provisioner/chef-client: Node cleanup works now. [GH-2257] 1451 * provisioner/puppet-masterless: Allow manifest_file to be a directory 1452 * provisioner/salt-masterless: Add `--retcode-passthrough` to salt-call 1453 * provisioner/shell: chmod executable script to 0755, not 0777. [GH-1708] 1454 * provisioner/shell: inline commands failing will fail the provisioner. [GH-2069] 1455 * provisioner/shell: single quotes in env vars are escaped. [GH-2229] 1456 * provisioner/shell: Temporary file is deleted after run. [GH-2259] 1457 * provisioner/shell: Randomize default script name to avoid strange 1458 race issues from Windows. [GH-2270] 1459 1460 ## 0.7.5 (December 9, 2014) 1461 1462 ### FEATURES: 1463 1464 * **New command: `packer push`**: Push template and files to HashiCorp's 1465 Atlas for building your templates automatically. 1466 * **New post-processor: `atlas`**: Send artifact to HashiCorp's Atlas for 1467 versioning and storing artifacts. These artifacts can then be queried 1468 using the API, Terraform, etc. 1469 1470 ### IMPROVEMENTS: 1471 1472 * builder/googlecompute: Support for ubuntu-os-cloud project 1473 * builder/googlecompute: Support for OAuth2 to avoid client secrets file 1474 * builder/googlecompute: GCE image from persistent disk instead of tarball 1475 * builder/qemu: Checksum type "none" can be used 1476 * provisioner/chef: Generate a node name if none available 1477 * provisioner/chef: Added ssl_verify_mode configuration 1478 1479 ### BUG FIXES: 1480 1481 * builder/parallels: Fixed attachment of ISO to cdrom device 1482 * builder/parallels: Fixed boot load ordering 1483 * builder/digitalocean: Fixed decoding of size 1484 * builder/digitalocean: Fixed missing content-type header in request 1485 * builder/digitalocean: Fixed use of private IP 1486 * builder/digitalocean: Fixed the artifact ID generation 1487 * builder/vsphere: Fixed credential escaping 1488 * builder/qemu: Fixed use of CDROM with disk_image 1489 * builder/aws: Fixed IP address for SSH in VPC 1490 * builder/aws: Fixed issue with multiple block devices 1491 * builder/vmware: Upload VMX to ESX5 after editing 1492 * communicator/docker: Fix handling of symlinks during upload 1493 * provisioner/chef: Fixed use of sudo in some cases 1494 * core: Fixed build name interpolation 1495 * postprocessor/vagrant: Fixed check for Vagrantfile template 1496 1497 ## 0.7.2 (October 28, 2014) 1498 1499 ### FEATURES: 1500 1501 * builder/digitalocean: API V2 support. [GH-1463] 1502 * builder/parallels: Don't depend on _prl-utils_. [GH-1499] 1503 1504 ### IMPROVEMENTS: 1505 1506 * builder/amazon/all: Support new AWS Frankfurt region. 1507 * builder/docker: Allow remote `DOCKER_HOST`, which works as long as 1508 volumes work. [GH-1594] 1509 * builder/qemu: Can set cache mode for main disk. [GH-1558] 1510 * builder/qemu: Can build from pre-existing disk. [GH-1342] 1511 * builder/vmware: Can specify path to Fusion installation with environmental 1512 variable `FUSION_APP_PATH`. [GH-1552] 1513 * builder/vmware: Can specify the HW version for the VMX. [GH-1530] 1514 * builder/vmware/esxi: Will now cache ISOs/floppies remotely. [GH-1479] 1515 * builder/vmware/vmx: Source VMX can have a disk connected via SATA. [GH-1604] 1516 * post-processors/vagrant: Support Qemu (libvirt) boxes. [GH-1330] 1517 * post-processors/vagrantcloud: Support self-hosted box URLs. 1518 1519 ### BUG FIXES: 1520 1521 * core: Fix loading plugins from pwd. [GH-1521] 1522 * builder/amazon: Prefer token in config if given. [GH-1544] 1523 * builder/amazon/all: Extended timeout for waiting for AMI. [GH-1533] 1524 * builder/virtualbox: Can read VirtualBox version on FreeBSD. [GH-1570] 1525 * builder/virtualbox: More robust reading of guest additions URL. [GH-1509] 1526 * builder/vmware: Always remove floppies/drives. [GH-1504] 1527 * builder/vmware: Wait some time so that post-VMX update aren't 1528 overwritten. [GH-1504] 1529 * builder/vmware/esxi: Retry power on if it fails. [GH-1334] 1530 * builder/vmware-vmx: Fix issue with order of boot command support. [GH-1492] 1531 * builder/amazon: Extend timeout and allow user override. [GH-1533] 1532 * builder/parallels: Ignore 'The fdd0 device does not exist' [GH-1501] 1533 * builder/parallels: Rely on Cleanup functions to detach devices. [GH-1502] 1534 * builder/parallels: Create VM without hdd and then add it later. [GH-1548] 1535 * builder/parallels: Disconnect cdrom0. [GH-1605] 1536 * builder/qemu: Don't use `-redir` flag anymore, replace with 1537 `hostfwd` options. [GH-1561] 1538 * builder/qemu: Use `pc` as default machine type instead of `pc-1.0`. 1539 * providers/aws: Ignore transient network errors. [GH-1579] 1540 * provisioner/ansible: Don't buffer output so output streams in. [GH-1585] 1541 * provisioner/ansible: Use inventory file always to avoid potentially 1542 deprecated feature. [GH-1562] 1543 * provisioner/shell: Quote environmental variables. [GH-1568] 1544 * provisioner/salt: Bootstrap over SSL. [GH-1608] 1545 * post-processors/docker-push: Work with docker-tag artifacts. [GH-1526] 1546 * post-processors/vsphere: Append "/" to object address. [GH-1615] 1547 1548 ## 0.7.1 (September 10, 2014) 1549 1550 ### FEATURES: 1551 1552 * builder/vmware: VMware Fusion Pro 7 is now supported. [GH-1478] 1553 1554 ### BUG FIXES: 1555 1556 * core: SSH will connect slightly faster if it is ready immediately. 1557 * provisioner/file: directory uploads no longer hang. [GH-1484] 1558 * provisioner/file: fixed crash on large files. [GH-1473] 1559 * scripts: Windows executable renamed to packer.exe. [GH-1483] 1560 1561 ## 0.7.0 (September 8, 2014) 1562 1563 ### BACKWARDS INCOMPATIBILITIES: 1564 1565 * The authentication configuration for Google Compute Engine has changed. 1566 The new method is much simpler, but is not backwards compatible. 1567 `packer fix` will _not_ fix this. Please read the updated GCE docs. 1568 1569 ### FEATURES: 1570 1571 * **New Post-Processor: `compress`** - Gzip compresses artifacts with files. 1572 * **New Post-Processor: `docker-save`** - Save an image. This is similar to 1573 export, but preserves the image hierarchy. 1574 * **New Post-Processor: `docker-tag`** - Tag a created image. 1575 * **New Template Functions: `upper`, `lower`** - See documentation for 1576 more details. 1577 * core: Plugins are automatically discovered if they're named properly. 1578 Packer will look in the PWD and the directory with `packer` for 1579 binaries named `packer-TYPE-NAME`. 1580 * core: Plugins placed in `~/.packer.d/plugins` are now automatically 1581 discovered. 1582 * builder/amazon: Spot instances can now be used to build EBS backed and 1583 instance store images. [GH-1139] 1584 * builder/docker: Images can now be committed instead of exported. [GH-1198] 1585 * builder/virtualbox-ovf: New `import_flags` setting can be used to add 1586 new command line flags to `VBoxManage import` to allow things such 1587 as EULAs to be accepted. [GH-1383] 1588 * builder/virtualbox-ovf: Boot commands and the HTTP server are supported. 1589 [GH-1169] 1590 * builder/vmware: VMware Player 6 is now supported. [GH-1168] 1591 * builder/vmware-vmx: Boot commands and the HTTP server are supported. 1592 [GH-1169] 1593 1594 ### IMPROVEMENTS: 1595 1596 * core: `isotime` function can take a format. [GH-1126] 1597 * builder/amazon/all: `AWS_SECURITY_TOKEN` is read and can also be 1598 set with the `token` configuration. [GH-1236] 1599 * builder/amazon/all: Can force SSH on the private IP address with 1600 `ssh_private_ip`. [GH-1229] 1601 * builder/amazon/all: String fields in device mappings can use variables. [GH-1090] 1602 * builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453] 1603 * builder/digitalocean: Can set API URL endpoint. [GH-1448] 1604 * builder/digitalocean: Region supports variables. [GH-1452] 1605 * builder/docker: Can now specify login credentials to pull images. 1606 * builder/docker: Support mounting additional volumes. [GH-1430] 1607 * builder/parallels/all: Path to tools ISO is calculated automatically. [GH-1455] 1608 * builder/parallels-pvm: `reassign_mac` option to choose whether or not 1609 to generate a new MAC address. [GH-1461] 1610 * builder/qemu: Can specify "none" acceleration type. [GH-1395] 1611 * builder/qemu: Can specify "tcg" acceleration type. [GH-1395] 1612 * builder/virtualbox/all: `iso_interface` option to mount ISO with SATA. [GH-1200] 1613 * builder/vmware-vmx: Proper `floppy_files` support. [GH-1057] 1614 * command/build: Add `-color=false` flag to disable color. [GH-1433] 1615 * post-processor/docker-push: Can now specify login credentials. [GH-1243] 1616 * provisioner/chef-client: Support `chef_environment`. [GH-1190] 1617 1618 ### BUG FIXES: 1619 1620 * core: nicer error message if an encrypted private key is used for 1621 SSH. [GH-1445] 1622 * core: Fix crash that could happen with a well timed double Ctrl-C. 1623 [GH-1328] [GH-1314] 1624 * core: SSH TCP keepalive period is now 5 seconds (shorter). [GH-1232] 1625 * builder/amazon-chroot: Can properly build HVM images now. [GH-1360] 1626 * builder/amazon-chroot: Fix crash in root device check. [GH-1360] 1627 * builder/amazon-chroot: Add description that Packer made the snapshot 1628 with a time. [GH-1388] 1629 * builder/amazon-ebs: AMI is deregistered if an error. [GH-1186] 1630 * builder/amazon-instance: Fix deprecation warning for `ec2-bundle-vol` 1631 [GH-1424] 1632 * builder/amazon-instance: Add `--no-filter` to the `ec2-bundle-vol` 1633 command by default to avoid corrupting data by removing package 1634 manager certs. [GH-1137] 1635 * builder/amazon/all: `delete_on_termination` set to false will work. 1636 * builder/amazon/all: Fix race condition on setting tags. [GH-1367] 1637 * builder/amazon/all: More descriptive error messages if Amazon only 1638 sends an error code. [GH-1189] 1639 * builder/docker: Error if `DOCKER_HOST` is set. 1640 * builder/docker: Remove the container during cleanup. [GH-1206] 1641 * builder/docker: Fix case where not all output would show up from 1642 provisioners. 1643 * builder/googlecompute: add `disk_size` option. [GH-1397] 1644 * builder/googlecompute: Auth works with latest formats on Google Cloud 1645 Console. [GH-1344] 1646 * builder/openstack: Region is not required. [GH-1418] 1647 * builder/parallels-iso: ISO not removed from VM after install. [GH-1338] 1648 * builder/parallels/all: Add support for Parallels Desktop 10. [GH-1438] 1649 * builder/parallels/all: Added some navigation keys. [GH-1442] 1650 * builder/qemu: If headless, sdl display won't be used. [GH-1395] 1651 * builder/qemu: Use `512M` as `-m` default. [GH-1444] 1652 * builder/virtualbox/all: Search `VBOX_MSI_INSTALL_PATH` for path to 1653 `VBoxManage` on Windows. [GH-1337] 1654 * builder/virtualbox/all: Seed RNG to avoid same ports. [GH-1386] 1655 * builder/virtualbox/all: Better error if guest additions URL couldn't be 1656 detected. [GH-1439] 1657 * builder/virtualbox/all: Detect errors even when `VBoxManage` exits 1658 with a zero exit code. [GH-1119] 1659 * builder/virtualbox/iso: Append timestamp to default name for parallel 1660 builds. [GH-1365] 1661 * builder/vmware/all: No more error when Packer stops an already-stopped 1662 VM. [GH-1300] 1663 * builder/vmware/all: `ssh_host` accepts templates. [GH-1396] 1664 * builder/vmware/all: Don't remount floppy in VMX post step. [GH-1239] 1665 * builder/vmware/vmx: Do not re-add floppy disk files to VMX. [GH-1361] 1666 * builder/vmware-iso: Fix crash when `vnc_port_min` and max were the 1667 same value. [GH-1288] 1668 * builder/vmware-iso: Finding an available VNC port on Windows works. [GH-1372] 1669 * builder/vmware-vmx: Nice error if Clone is not supported (not VMware 1670 Fusion Pro). [GH-787] 1671 * post-processor/vagrant: Can supply your own metadata.json. [GH-1143] 1672 * provisioner/ansible-local: Use proper path on Windows. [GH-1375] 1673 * provisioner/file: Mode will now be preserved. [GH-1064] 1674 1675 ## 0.6.1 (July 20, 2014) 1676 1677 ### FEATURES: 1678 1679 * **New post processor:** `vagrant-cloud` - Push box files generated by 1680 vagrant post processor to Vagrant Cloud. [GH-1289] 1681 * Vagrant post-processor can now packer Hyper-V boxes. 1682 1683 ### IMPROVEMENTS: 1684 1685 * builder/amazon: Support for enhanced networking on HVM images. [GH-1228] 1686 * builder/amazon-ebs: Support encrypted EBS volumes. [GH-1194] 1687 * builder/ansible: Add `playbook_dir` option. [GH-1000] 1688 * builder/openstack: Add ability to configure networks. [GH-1261] 1689 * builder/openstack: Skip certificate verification. [GH-1121] 1690 * builder/parallels/all: Add ability to select interface to connect to. 1691 * builder/parallels/pvm: Support `boot_command`. [GH-1082] 1692 * builder/virtualbox/all: Attempt to use local guest additions ISO 1693 before downloading from internet. [GH-1123] 1694 * builder/virtualbox/ovf: Supports `guest_additions_mode` [GH-1035] 1695 * builder/vmware/all: Increase cleanup timeout to 120 seconds. [GH-1167] 1696 * builder/vmware/all: Add `vmx_data_post` for modifying VMX data 1697 after shutdown. [GH-1149] 1698 * builder/vmware/vmx: Supports tools uploading. [GH-1154] 1699 1700 ### BUG FIXES: 1701 1702 * core: `isotime` is the same time during the entire build. [GH-1153] 1703 * builder/amazon-common: Sort AMI strings before outputting. [GH-1305] 1704 * builder/amazon: User data can use templates/variables. [GH-1343] 1705 * builder/amazon: Can now build AMIs in GovCloud. 1706 * builder/null: SSH info can use templates/variables. [GH-1343] 1707 * builder/openstack: Workaround for gophercloud.ServerById crashing. [GH-1257] 1708 * builder/openstack: Force IPv4 addresses from address pools. [GH-1258] 1709 * builder/parallels: Do not delete entire CDROM device. [GH-1115] 1710 * builder/parallels: Errors while creating floppy disk. [GH-1225] 1711 * builder/parallels: Errors while removing floppy drive. [GH-1226] 1712 * builder/virtualbox-ovf: Supports guest additions options. [GH-1120] 1713 * builder/vmware-iso: Fix esx5 path separator in windows. [GH-1316] 1714 * builder/vmware: Remote ESXi builder now uploads floppy. [GH-1106] 1715 * builder/vmware: Remote ESXi builder no longer re-uploads ISO every 1716 time. [GH-1244] 1717 * post-processor/vsphere: Accept DOMAIN\account usernames. [GH-1178] 1718 * provisioner/chef-*: Fix remotePaths for Windows. [GH-394] 1719 1720 ## 0.6.0 (May 2, 2014) 1721 1722 ### FEATURES: 1723 1724 * **New builder:** `null` - The null builder does not produce any 1725 artifacts, but is useful for debugging provisioning scripts. [GH-970] 1726 * **New builder:** `parallels-iso` and `parallels-pvm` - These can be 1727 used to build Parallels virtual machines. [GH-1101] 1728 * **New provisioner:** `chef-client` - Provision using a the `chef-client` 1729 command, which talks to a Chef Server. [GH-855] 1730 * **New provisioner:** `puppet-server` - Provision using Puppet by 1731 communicating to a Puppet master. [GH-796] 1732 * `min_packer_version` can be specified in a Packer template to force 1733 a minimum version. [GH-487] 1734 1735 ### IMPROVEMENTS: 1736 1737 * core: RPC transport between plugins switched to MessagePack 1738 * core: Templates array values can now be comma separated strings. 1739 Most importantly, this allows for user variables to fill 1740 array configurations. [GH-950] 1741 * builder/amazon: Added `ssh_private_key_file` option. [GH-971] 1742 * builder/amazon: Added `ami_virtualization_type` option. [GH-1021] 1743 * builder/digitalocean: Regions, image names, and sizes can be 1744 names that are looked up for their valid ID. [GH-960] 1745 * builder/googlecompute: Configurable instance name. [GH-1065] 1746 * builder/openstack: Support for conventional OpenStack environmental 1747 variables such as `OS_USERNAME`, `OS_PASSWORD`, etc. [GH-768] 1748 * builder/openstack: Support `openstack_provider` option to automatically 1749 fill defaults for different OpenStack variants. [GH-912] 1750 * builder/openstack: Support security groups. [GH-848] 1751 * builder/qemu: User variable expansion in `ssh_key_path` [GH-918] 1752 * builder/qemu: Floppy disk files list can also include globs 1753 and directories. [GH-1086] 1754 * builder/virtualbox: Support an `export_opts` option which allows 1755 specifying arbitrary arguments when exporting the VM. [GH-945] 1756 * builder/virtualbox: Added `vboxmanage_post` option to run vboxmanage 1757 commands just before exporting. [GH-664] 1758 * builder/virtualbox: Floppy disk files list can also include globs 1759 and directories. [GH-1086] 1760 * builder/vmware: Workstation 10 support for Linux. [GH-900] 1761 * builder/vmware: add cloning support on Windows. [GH-824] 1762 * builder/vmware: Floppy disk files list can also include globs 1763 and directories. [GH-1086] 1764 * command/build: Added `-parallel` flag so you can disable parallelization 1765 with `-no-parallel`. [GH-924] 1766 * post-processors/vsphere: `disk_mode` option. [GH-778] 1767 * provisioner/ansible: Add `inventory_file` option. [GH-1006] 1768 * provisioner/chef-client: Add `validation_client_name` option. [GH-1056] 1769 1770 ### BUG FIXES: 1771 1772 * core: Errors are properly shown when adding bad floppy files. [GH-1043] 1773 * core: Fix some URL parsing issues on Windows. 1774 * core: Create Cache directory only when it is needed. [GH-367] 1775 * builder/amazon-instance: Use S3Endpoint for ec2-upload-bundle arg, 1776 which works for every region. [GH-904] 1777 * builder/digitalocean: updated default image_id. [GH-1032] 1778 * builder/googlecompute: Create persistent disk as boot disk via 1779 API v1. [GH-1001] 1780 * builder/openstack: Return proper error on invalid instance states. [GH-1018] 1781 * builder/virtualbox-iso: Retry unregister a few times to deal with 1782 VBoxManage randomness. [GH-915] 1783 * provisioner/ansible: Fix paths when provisioning Linux from 1784 Windows. [GH-963] 1785 * provisioner/ansible: set cwd to staging directory. [GH-1016] 1786 * provisioners/chef-client: Don't chown directory with Ubuntu. [GH-939] 1787 * provisioners/chef-solo: Deeply nested JSON works properly. [GH-1076] 1788 * provisioners/shell: Env var values can have equal signs. [GH-1045] 1789 * provisioners/shell: chmod the uploaded script file to 0777. [GH-994] 1790 * post-processor/docker-push: Allow repositories with ports. [GH-923] 1791 * post-processor/vagrant: Create parent directories for `output` path. [GH-1059] 1792 * post-processor/vsphere: datastore, network, and folder are no longer 1793 required. [GH-1091] 1794 1795 ## 0.5.2 (02/21/2014) 1796 1797 ### FEATURES: 1798 1799 * **New post-processor:** `docker-import` - Import a Docker image and give it 1800 a specific repository/tag. 1801 * **New post-processor:** `docker-push` - Push an imported image to 1802 a registry. 1803 1804 ### IMPROVEMENTS: 1805 1806 * core: Most downloads made by Packer now use a custom user agent. [GH-803] 1807 * builder/googlecompute: SSH private key will be saved to disk if `-debug` is 1808 specified. [GH-867] 1809 * builder/qemu: Can specify the name of the qemu binary. [GH-854] 1810 * builder/virtualbox-ovf: Can specify import options such as "keepallmacs". 1811 [GH-883] 1812 1813 ### BUG FIXES: 1814 1815 * core: Fix crash case if blank parameters are given to Packer. [GH-832] 1816 * core: Fix crash if big file uploads are done. [GH-897] 1817 * core: Fix crash if machine-readable output is going to a closed 1818 pipe. [GH-875] 1819 * builder/docker: user variables work properly. [GH-777] 1820 * builder/qemu: reboots are now possible in provisioners. [GH-864] 1821 * builder/virtualbox,vmware: iso\_checksum is not required if the 1822 checksum type is "none" 1823 * builder/virtualbox,vmware/qemu: Support for additional scancodes for 1824 `boot_command` such as `<up>`, `<left>`, `<insert>`, etc. [GH-808] 1825 * communicator/ssh: Send TCP keep-alives on connections. [GH-872] 1826 * post-processor/vagrant: AWS/DigitalOcean keep input artifacts by 1827 default. [GH-55] 1828 * provisioners/ansible-local: Properly upload custom playbooks. [GH-829] 1829 * provisioners/ansible-local: Better error if ansible isn't installed. 1830 [GH-836] 1831 1832 ## 0.5.1 (01/02/2014) 1833 1834 ### BUG FIXES: 1835 1836 * core: If a stream ID loops around, don't let it use stream ID 0. [GH-767] 1837 * core: Fix issue where large writes to plugins would result in stream 1838 corruption. [GH-727] 1839 * builders/virtualbox-ovf: `shutdown_timeout` config works. [GH-772] 1840 * builders/vmware-iso: Remote driver works properly again. [GH-773] 1841 1842 ## 0.5.0 (12/30/2013) 1843 1844 ### BACKWARDS INCOMPATIBILITIES: 1845 1846 * "virtualbox" builder has been renamed to "virtualbox-iso". Running your 1847 template through `packer fix` will resolve this. 1848 * "vmware" builder has been renamed to "vmware-iso". Running your template 1849 through `packer fix` will resolve this. 1850 * post-processor/vagrant: Syntax for overriding by provider has changed. 1851 See the documentation for more information. Running your template 1852 through `packer fix` should resolve this. 1853 * post-processor/vsphere: Some available configuration options were 1854 changed. Running your template through `packer fix` should resolve 1855 this. 1856 * provisioner/puppet-masterless: The `execute_command` no longer has 1857 the `Has*` variables, since the templating language now supports 1858 comparison operations. See the Go documentation for more info: 1859 http://golang.org/pkg/text/template/ 1860 1861 ### FEATURES: 1862 1863 * **New builder:** Google Compute Engine. You can now build images for 1864 use in Google Compute Engine. See the documentation for more information. 1865 [GH-715] 1866 * **New builder:** "virtualbox-ovf" can build VirtualBox images from 1867 an existing OVF or OVA. [GH-201] 1868 * **New builder:** "vmware-vmx" can build VMware images from an existing 1869 VMX. [GH-201] 1870 * Environmental variables can now be accessed as default values for 1871 user variables using the "env" function. See the documentation for more 1872 information. 1873 * "description" field in templates: write a human-readable description 1874 of what a template does. This will be shown in `packer inspect`. 1875 * Vagrant post-processor now accepts a list of files to include in the 1876 box. 1877 * All provisioners can now have a "pause\_before" parameter to wait 1878 some period of time before running that provisioner. This is useful 1879 for reboots. [GH-737] 1880 1881 ### IMPROVEMENTS: 1882 1883 * core: Plugins communicate over a single TCP connection per plugin now, 1884 instead of sometimes dozens. Performance around plugin communication 1885 dramatically increased. 1886 * core: Build names are now template processed so you can use things 1887 like user variables in them. [GH-744] 1888 * core: New "pwd" function available globally that returns the working 1889 directory. [GH-762] 1890 * builder/amazon/all: Launched EC2 instances now have a name of 1891 "Packer Builder" so that they are easily recognizable. [GH-642] 1892 * builder/amazon/all: Copying AMIs to multiple regions now happens 1893 in parallel. [GH-495] 1894 * builder/amazon/all: Ability to specify "run\_tags" to tag the instance 1895 while running. [GH-722] 1896 * builder/digitalocean: Private networking support. [GH-698] 1897 * builder/docker: A "run\_command" can be specified, configuring how 1898 the container is started. [GH-648] 1899 * builder/openstack: In debug mode, the generated SSH keypair is saved 1900 so you can SSH into the machine. [GH-746] 1901 * builder/qemu: Floppy files are supported. [GH-686] 1902 * builder/qemu: Next `run_once` option tells Qemu to run only once, 1903 which is useful for Windows installs that handle reboots for you. 1904 [GH-687] 1905 * builder/virtualbox: Nice errors if Packer can't write to 1906 the output directory. 1907 * builder/virtualbox: ISO is ejected prior to export. 1908 * builder/virtualbox: Checksum type can be "none" [GH-471] 1909 * builder/vmware: Can now specify path to the Fusion application. [GH-677] 1910 * builder/vmware: Checksum type can be "none" [GH-471] 1911 * provisioner/puppet-masterless: Can now specify a `manifest_dir` to 1912 upload manifests to the remote machine for imports. [GH-655] 1913 1914 ### BUG FIXES: 1915 1916 * core: No colored output in machine-readable output. [GH-684] 1917 * core: User variables can now be used for non-string fields. [GH-598] 1918 * core: Fix bad download paths if the download URL contained a "." 1919 before a "/" [GH-716] 1920 * core: "{{timestamp}}" values will always be the same for the entire 1921 duration of a build. [GH-744] 1922 * builder/amazon: Handle cases where security group isn't instantly 1923 available. [GH-494] 1924 * builder/virtualbox: don't download guest additions if disabled. [GH-731] 1925 * post-processor/vsphere: Uploads VM properly. [GH-694] 1926 * post-processor/vsphere: Process user variables. 1927 * provisioner/ansible-local: all configurations are processed as templates 1928 [GH-749] 1929 * provisioner/ansible-local: playbook paths are properly validated 1930 as directories, not files. [GH-710] 1931 * provisioner/chef-solo: Environments are recognized. [GH-726] 1932 1933 ## 0.4.1 (December 7, 2013) 1934 1935 ### IMPROVEMENTS: 1936 1937 * builder/amazon/ebs: New option allows associating a public IP with 1938 non-default VPC instances. [GH-660] 1939 * builder/openstack: A "proxy\_url" setting was added to define an HTTP 1940 proxy to use when building with this builder. [GH-637] 1941 1942 ### BUG FIXES: 1943 1944 * core: Don't change background color on CLI anymore, making things look 1945 a tad nicer in some terminals. 1946 * core: multiple ISO URLs works properly in all builders. [GH-683] 1947 * builder/amazon/chroot: Block when obtaining file lock to allow 1948 parallel builds. [GH-689] 1949 * builder/amazon/instance: Add location flag to upload bundle command 1950 so that building AMIs works out of us-east-1. [GH-679] 1951 * builder/qemu: Qemu arguments are templated. [GH-688] 1952 * builder/vmware: Cleanup of VMX keys works properly so cd-rom won't 1953 get stuck with ISO. [GH-685] 1954 * builder/vmware: File cleanup is more resilient to file delete races 1955 with the operating system. [GH-675] 1956 * provisioner/puppet-masterless: Check for hiera config path existence 1957 properly. [GH-656] 1958 1959 ## 0.4.0 (November 19, 2013) 1960 1961 ### FEATURES: 1962 1963 * Docker builder: build and export Docker containers, easily provisioned 1964 with any of the Packer built-in provisioners. 1965 * QEMU builder: builds a new VM compatible with KVM or Xen using QEMU. 1966 * Remote ESXi builder: builds a VMware VM using ESXi remotely using only 1967 SSH to an ESXi machine directly. 1968 * vSphere post-processor: Can upload VMware artifacts to vSphere 1969 * Vagrant post-processor can now make DigitalOcean provider boxes. [GH-504] 1970 1971 ### IMPROVEMENTS: 1972 1973 * builder/amazon/all: Can now specify a list of multiple security group 1974 IDs to apply. [GH-499] 1975 * builder/amazon/all: AWS API requests are now retried when a temporary 1976 network error occurs as well as 500 errors. [GH-559] 1977 * builder/virtualbox: Use VBOX\_INSTALL\_PATH env var on Windows to find 1978 VBoxManage. [GH-628] 1979 * post-processor/vagrant: skips gzip compression when compression_level=0 1980 * provisioner/chef-solo: Encrypted data bag support. [GH-625] 1981 1982 ### BUG FIXES: 1983 1984 * builder/amazon/chroot: Copying empty directories works. [GH-588] 1985 * builder/amazon/chroot: Chroot commands work with shell provisioners. [GH-581] 1986 * builder/amazon/chroot: Don't choose a mount point that is a partition of 1987 an already mounted device. [GH-635] 1988 * builder/virtualbox: Ctrl-C interrupts during waiting for boot. [GH-618] 1989 * builder/vmware: VMX modifications are now case-insensitive. [GH-608] 1990 * builder/vmware: VMware Fusion won't ask for VM upgrade. 1991 * builder/vmware: Ctrl-C interrupts during waiting for boot. [GH-618] 1992 * provisioner/chef-solo: Output is slightly prettier and more informative. 1993 1994 ## 0.3.11 (November 4, 2013) 1995 1996 ### FEATURES: 1997 1998 * builder/amazon/ebs: Ability to specify which availability zone to create 1999 instance in. [GH-536] 2000 2001 ### IMPROVEMENTS: 2002 2003 * core: builders can now give warnings during validation. warnings won't 2004 fail the build but may hint at potential future problems. 2005 * builder/digitalocean: Can now specify a droplet name 2006 * builder/virtualbox: Can now disable guest addition download entirely 2007 by setting "guest_additions_mode" to "disable" [GH-580] 2008 * builder/virtualbox,vmware: ISO urls can now be https. [GH-587] 2009 * builder/virtualbox,vmware: Warning if shutdown command is not specified, 2010 since it is a common case of data loss. 2011 2012 ### BUG FIXES: 2013 2014 * core: Won't panic when writing to a bad pipe. [GH-560] 2015 * builder/amazon/all: Properly scrub access key and secret key from logs. 2016 [GH-554] 2017 * builder/openstack: Properly scrub password from logs. [GH-554] 2018 * builder/virtualbox: No panic if SSH host port min/max is the same. [GH-594] 2019 * builder/vmware: checks if `ifconfig` is in `/sbin` [GH-591] 2020 * builder/vmware: Host IP lookup works for non-C locales. [GH-592] 2021 * common/uuid: Use cryptographically secure PRNG when generating 2022 UUIDs. [GH-552] 2023 * communicator/ssh: File uploads that exceed the size of memory no longer 2024 cause crashes. [GH-561] 2025 2026 ## 0.3.10 (October 20, 2013) 2027 2028 ### FEATURES: 2029 2030 * Ansible provisioner 2031 2032 ### IMPROVEMENTS: 2033 2034 * post-processor/vagrant: support instance-store AMIs built by Packer. [GH-502] 2035 * post-processor/vagrant: can now specify compression level to use 2036 when creating the box. [GH-506] 2037 2038 ### BUG FIXES: 2039 2040 * builder/all: timeout waiting for SSH connection is a failure. [GH-491] 2041 * builder/amazon: Scrub sensitive data from the logs. [GH-521] 2042 * builder/amazon: Handle the situation where an EC2 instance might not 2043 be immediately available. [GH-522] 2044 * builder/amazon/chroot: Files copied into the chroot remove destination 2045 before copy, fixing issues with dangling symlinks. [GH-500] 2046 * builder/digitalocean: don't panic if erroneous API response doesn't 2047 contain error message. [GH-492] 2048 * builder/digitalocean: scrub API keys from config debug output. [GH-516] 2049 * builder/virtualbox: error if VirtualBox version cant be detected. [GH-488] 2050 * builder/virtualbox: detect if vboxdrv isn't properly setup. [GH-488] 2051 * builder/virtualbox: sleep a bit before export to ensure the session 2052 is unlocked. [GH-512] 2053 * builder/virtualbox: create SATA drives properly on VirtualBox 4.3. [GH-547] 2054 * builder/virtualbox: support user templates in SSH key path. [GH-539] 2055 * builder/vmware: support user templates in SSH key path. [GH-539] 2056 * communicator/ssh: Fix issue where a panic could arise from a nil 2057 dereference. [GH-525] 2058 * post-processor/vagrant: Fix issue with VirtualBox OVA. [GH-548] 2059 * provisioner/salt: Move salt states to correct remote directory. [GH-513] 2060 * provisioner/shell: Won't block on certain scripts on Windows anymore. 2061 [GH-507] 2062 2063 ## 0.3.9 (October 2, 2013) 2064 2065 ### FEATURES: 2066 2067 * The Amazon chroot builder is now able to run without any `sudo` privileges 2068 by using the "command_wrapper" configuration. [GH-430] 2069 * Chef provisioner supports environments. [GH-483] 2070 2071 ### BUG FIXES: 2072 2073 * core: default user variable values don't need to be strings. [GH-456] 2074 * builder/amazon-chroot: Fix errors with waitin for state change. [GH-459] 2075 * builder/digitalocean: Use proper error message JSON key (DO API change). 2076 * communicator/ssh: SCP uploads now work properly when directories 2077 contain symlinks. [GH-449] 2078 * provisioner/chef-solo: Data bags and roles path are now properly 2079 populated when set. [GH-470] 2080 * provisioner/shell: Windows line endings are actually properly changed 2081 to Unix line endings. [GH-477] 2082 2083 ## 0.3.8 (September 22, 2013) 2084 2085 ### FEATURES: 2086 2087 * core: You can now specify `only` and `except` configurations on any 2088 provisioner or post-processor to specify a list of builds that they 2089 are valid for. [GH-438] 2090 * builders/virtualbox: Guest additions can be attached rather than uploaded, 2091 easier to handle for Windows guests. [GH-405] 2092 * provisioner/chef-solo: Ability to specify a custom Chef configuration 2093 template. 2094 * provisioner/chef-solo: Roles and data bags support. [GH-348] 2095 2096 ### IMPROVEMENTS: 2097 2098 * core: User variables can now be used for integer, boolean, etc. 2099 values. [GH-418] 2100 * core: Plugins made with incompatible versions will no longer load. 2101 * builder/amazon/all: Interrupts work while waiting for AMI to be ready. 2102 * provisioner/shell: Script line-endings are automatically converted to 2103 Unix-style line-endings. Can be disabled by setting "binary" to "true". 2104 [GH-277] 2105 2106 ### BUG FIXES: 2107 2108 * core: Set TCP KeepAlives on internally created RPC connections so that 2109 they don't die. [GH-416] 2110 * builder/amazon/all: While waiting for AMI, will detect "failed" state. 2111 * builder/amazon/all: Waiting for state will detect if the resource (AMI, 2112 instance, etc.) disappears from under it. 2113 * builder/amazon/instance: Exclude only contents of /tmp, not /tmp 2114 itself. [GH-437] 2115 * builder/amazon/instance: Make AccessKey/SecretKey available to bundle 2116 command even when they come from the environment. [GH-434] 2117 * builder/virtualbox: F1-F12 and delete scancodes now work. [GH-425] 2118 * post-processor/vagrant: Override configurations properly work. [GH-426] 2119 * provisioner/puppet-masterless: Fix failure case when both facter vars 2120 are used and prevent_sudo. [GH-415] 2121 * provisioner/puppet-masterless: User variables now work properly in 2122 manifest file and hiera path. [GH-448] 2123 2124 ## 0.3.7 (September 9, 2013) 2125 2126 ### BACKWARDS INCOMPATIBILITIES: 2127 2128 * The "event_delay" option for the DigitalOcean builder is now gone. 2129 The builder automatically waits for events to go away. Run your templates 2130 through `packer fix` to get rid of these. 2131 2132 ### FEATURES: 2133 2134 * **NEW PROVISIONER:** `puppet-masterless`. You can now provision with 2135 a masterless Puppet setup. [GH-234] 2136 * New globally available template function: `uuid`. Generates a new random 2137 UUID. 2138 * New globally available template function: `isotime`. Generates the 2139 current time in ISO standard format. 2140 * New Amazon template function: `clean_ami_name`. Substitutes '-' for 2141 characters that are illegal to use in an AMI name. 2142 2143 ### IMPROVEMENTS: 2144 2145 * builder/amazon/all: Ability to specify the format of the temporary 2146 keypair created. [GH-389] 2147 * builder/amazon/all: Support the NoDevice flag for block mappings. [GH-396] 2148 * builder/digitalocean: Retry on any pending event errors. 2149 * builder/openstack: Can now specify a project. [GH-382] 2150 * builder/virtualbox: Can now attach hard drive over SATA. [GH-391] 2151 * provisioner/file: Can now upload directories. [GH-251] 2152 2153 ### BUG FIXES: 2154 2155 * core: Detect if SCP is not enabled on the other side. [GH-386] 2156 * builder/amazon/all: When copying AMI to multiple regions, copy 2157 the metadata (tags and attributes) as well. [GH-388] 2158 * builder/amazon/all: Fix panic case where eventually consistent 2159 instance state caused an index out of bounds. 2160 * builder/virtualbox: The `vm_name` setting now properly sets the OVF 2161 name of the output. [GH-401] 2162 * builder/vmware: Autoanswer VMware dialogs. [GH-393] 2163 * command/inspect: Fix weird output for default values for optional vars. 2164 2165 ## 0.3.6 (September 2, 2013) 2166 2167 ### FEATURES: 2168 2169 * User variables can now be specified as "required", meaning the user 2170 MUST specify a value. Just set the default value to "null". [GH-374] 2171 2172 ### IMPROVEMENTS: 2173 2174 * core: Much improved interrupt handling. For example, interrupts now 2175 cancel much more quickly within provisioners. 2176 * builder/amazon: In `-debug` mode, the keypair used will be saved to 2177 the current directory so you can access the machine. [GH-373] 2178 * builder/amazon: In `-debug` mode, the DNS is outputted. 2179 * builder/openstack: IPv6 addresses supported for SSH. [GH-379] 2180 * communicator/ssh: Support for private keys encrypted using PKCS8. [GH-376] 2181 * provisioner/chef-solo: You can now use user variables in the `json` 2182 configuration for Chef. [GH-362] 2183 2184 ### BUG FIXES: 2185 2186 * core: Concurrent map access is completely gone, fixing rare issues 2187 with runtime memory corruption. [GH-307] 2188 * core: Fix possible panic when ctrl-C during provisioner run. 2189 * builder/digitalocean: Retry destroy a few times because DO sometimes 2190 gives false errors. 2191 * builder/openstack: Properly handle the case no image is made. [GH-375] 2192 * builder/openstack: Specifying a region is now required in a template. 2193 * provisioners/salt-masterless: Use filepath join to properly join paths. 2194 2195 ## 0.3.5 (August 28, 2013) 2196 2197 ### FEATURES: 2198 2199 * **NEW BUILDER:** `openstack`. You can now build on OpenStack. [GH-155] 2200 * **NEW PROVISIONER:** `chef-solo`. You can now provision with Chef 2201 using `chef-solo` from local cookbooks. 2202 * builder/amazon: Copy AMI to multiple regions with `ami_regions`. [GH-322] 2203 * builder/virtualbox,vmware: Can now use SSH keys as an auth mechanism for 2204 SSH using `ssh_key_path`. [GH-70] 2205 * builder/virtualbox,vmware: Support SHA512 as a checksum type. [GH-356] 2206 * builder/vmware: The root hard drive type can now be specified with 2207 "disk_type_id" for advanced users. [GH-328] 2208 * provisioner/salt-masterless: Ability to specify a minion config. [GH-264] 2209 * provisioner/salt-masterless: Ability to upload pillars. [GH-353] 2210 2211 ### IMPROVEMENTS: 2212 2213 * core: Output message when Ctrl-C received that we're cleaning up. [GH-338] 2214 * builder/amazon: Tagging now works with all amazon builder types. 2215 * builder/vmware: Option `ssh_skip_request_pty` for not requesting a PTY 2216 for the SSH connection. [GH-270] 2217 * builder/vmware: Specify a `vmx_template_path` in order to customize 2218 the generated VMX. [GH-270] 2219 * command/build: Machine-readable output now contains build errors, if any. 2220 * command/build: An "end" sentinel is outputted in machine-readable output 2221 for artifact listing so it is easier to know when it is over. 2222 2223 ### BUG FIXES: 2224 2225 * core: Fixed a couple cases where a double ctrl-C could panic. 2226 * core: Template validation fails if an override is specified for a 2227 non-existent builder. [GH-336] 2228 * core: The SSH connection is heartbeated so that drops can be 2229 detected. [GH-200] 2230 * builder/amazon/instance: Remove check for ec2-ami-tools because it 2231 didn't allow absolute paths to work properly. [GH-330] 2232 * builder/digitalocean: Send a soft shutdown request so that files 2233 are properly synced before shutdown. [GH-332] 2234 * command/build,command/validate: If a non-existent build is specified to 2235 '-only' or '-except', it is now an error. [GH-326] 2236 * post-processor/vagrant: Setting OutputPath with a timestamp now 2237 always works properly. [GH-324] 2238 * post-processor/vagrant: VirtualBox OVA formats now turn into 2239 Vagrant boxes properly. [GH-331] 2240 * provisioner/shell: Retry upload if start command fails, making reboot 2241 handling much more robust. 2242 2243 ## 0.3.4 (August 21, 2013) 2244 2245 ### IMPROVEMENTS: 2246 2247 * post-processor/vagrant: the file being compressed will be shown 2248 in the UI. [GH-314] 2249 2250 ### BUG FIXES: 2251 2252 * core: Avoid panics when double-interrupting Packer. 2253 * provisioner/shell: Retry shell script uploads, making reboots more 2254 robust if they happen to fail in this stage. [GH-282] 2255 2256 ## 0.3.3 (August 19, 2013) 2257 2258 ### FEATURES: 2259 2260 * builder/virtualbox: support exporting in OVA format. [GH-309] 2261 2262 ### IMPROVEMENTS: 2263 2264 * core: All HTTP downloads across Packer now support the standard 2265 proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252] 2266 * builder/amazon: API requests will use HTTP proxy if specified by 2267 environmental variables. 2268 * builder/digitalocean: API requests will use HTTP proxy if specified 2269 by environmental variables. 2270 2271 ### BUG FIXES: 2272 2273 * core: TCP connection between plugin processes will keep-alive. [GH-312] 2274 * core: No more "unused key keep_input_artifact" for post processors. [GH-310] 2275 * post-processor/vagrant: `output_path` templates now work again. 2276 2277 ## 0.3.2 (August 18, 2013) 2278 2279 ### FEATURES: 2280 2281 * New command: `packer inspect`. This command tells you the components of 2282 a template. It respects the `-machine-readable` flag as well so you can 2283 parse out components of a template. 2284 * Packer will detect its own crashes (always a bug) and save a "crash.log" 2285 file. 2286 * builder/virtualbox: You may now specify multiple URLs for an ISO 2287 using "iso_url" in a template. The URLs will be tried in order. 2288 * builder/vmware: You may now specify multiple URLs for an ISO 2289 using "iso_url" in a template. The URLs will be tried in order. 2290 2291 ### IMPROVEMENTS: 2292 2293 * core: built with Go 1.1.2 2294 * core: packer help output now loads much faster. 2295 * builder/virtualbox: guest_additions_url can now use the `Version` 2296 variable to get the VirtualBox version. [GH-272] 2297 * builder/virtualbox: Do not check for VirtualBox as part of template 2298 validation; only check at execution. 2299 * builder/vmware: Do not check for VMware as part of template validation; 2300 only check at execution. 2301 * command/build: A path of "-" will read the template from stdin. 2302 * builder/amazon: add block device mappings. [GH-90] 2303 2304 ### BUG FIXES: 2305 2306 * windows: file URLs are easier to get right as Packer 2307 has better parsing and error handling for Windows file paths. [GH-284] 2308 * builder/amazon/all: Modifying more than one AMI attribute type no longer 2309 crashes. 2310 * builder/amazon-instance: send IAM instance profile data. [GH-294] 2311 * builder/digitalocean: API request parameters are properly URL 2312 encoded. [GH-281] 2313 * builder/virtualbox: download progress won't be shown until download 2314 actually starts. [GH-288] 2315 * builder/virtualbox: floppy files names of 13 characters are now properly 2316 written to the FAT12 filesystem. [GH-285] 2317 * builder/vmware: download progress won't be shown until download 2318 actually starts. [GH-288] 2319 * builder/vmware: interrupt works while typing commands over VNC. 2320 * builder/virtualbox: floppy files names of 13 characters are now properly 2321 written to the FAT12 filesystem. [GH-285] 2322 * post-processor/vagrant: Process user variables. [GH-295] 2323 2324 ## 0.3.1 (August 12, 2013) 2325 2326 ### IMPROVEMENTS: 2327 2328 * provisioner/shell: New setting `start_retry_timeout` which is the timeout 2329 for the provisioner to attempt to _start_ the remote process. This allows 2330 the shell provisioner to work properly with reboots. [GH-260] 2331 2332 ### BUG FIXES: 2333 2334 * core: Remote command output containing '\r' now looks much better 2335 within the Packer output. 2336 * builder/vmware: Fix issue with finding driver files. [GH-279] 2337 * provisioner/salt-masterless: Uploads work properly from Windows. [GH-276] 2338 2339 ## 0.3.0 (August 12, 2013) 2340 2341 ### BACKWARDS INCOMPATIBILITIES: 2342 2343 * All `{{.CreateTime}}` variables within templates (such as for AMI names) 2344 are now replaced with `{{timestamp}}`. Run `packer fix` to fix your 2345 templates. 2346 2347 ### FEATURES: 2348 2349 * **User Variables** allow you to specify variables within your templates 2350 that can be replaced using the command-line, files, or environmental 2351 variables. This dramatically improves the portability of packer templates. 2352 See the documentation for more information. 2353 * **Machine-readable output** can be enabled by passing the 2354 `-machine-readable` flag to _any_ Packer command. 2355 * All strings in a template are now processed for variables/functions, 2356 so things like `{{timestamp}}` can be used everywhere. More features will 2357 be added in the future. 2358 * The `amazon` builders (all of them) can now have attributes of their 2359 resulting AMIs modified, such as access permissions and product codes. 2360 2361 ### IMPROVEMENTS: 2362 2363 * builder/amazon/all: User data can be passed to start the instances. [GH-253] 2364 * provisioner/salt-masterless: `local_state_tree` is no longer required, 2365 allowing you to use shell provisioner (or others) to bring this down. 2366 [GH-269] 2367 2368 ### BUG FIXES: 2369 2370 * builder/amazon/ebs,instance: Retry deleing security group a few times. 2371 [GH-278] 2372 * builder/vmware: Workstation works on Windows XP now. [GH-238] 2373 * builder/vmware: Look for files on Windows in multiple locations 2374 using multiple environmental variables. [GH-263] 2375 * provisioner/salt-masterless: states aren't deleted after the run 2376 anymore. [GH-265] 2377 * provisioner/salt-masterless: error if any commands exit with a non-zero 2378 exit status. [GH-266] 2379 2380 ## 0.2.3 (August 7, 2013) 2381 2382 ### IMPROVEMENTS: 2383 2384 * builder/amazon/all: Added Amazon AMI tag support. [GH-233] 2385 2386 ### BUG FIXES: 2387 2388 * core: Absolute/relative filepaths on Windows now work for iso_url 2389 and other settings. [GH-240] 2390 * builder/amazon/all: instance info is refreshed while waiting for SSH, 2391 allowing Packer to see updated IP/DNS info. [GH-243] 2392 2393 ## 0.2.2 (August 1, 2013) 2394 2395 ### FEATURES: 2396 2397 * New builder: `amazon-chroot` can create EBS-backed AMIs without launching 2398 a new EC2 instance. This can shave minutes off of the AMI creation process. 2399 See the docs for more info. 2400 * New provisioner: `salt-masterless` will provision the node using Salt 2401 without a master. 2402 * The `vmware` builder now works with Workstation 9 on Windows. [GH-222] 2403 * The `vmware` builder now works with Player 5 on Linux. [GH-190] 2404 2405 ### IMPROVEMENTS: 2406 2407 * core: Colors won't be outputted on Windows unless in Cygwin. 2408 * builder/amazon/all: Added `iam_instance_profile` to launch the source 2409 image with a given IAM profile. [GH-226] 2410 2411 ### BUG FIXES: 2412 2413 * builder/virtualbox,vmware: relative paths work properly as URL 2414 configurations. [GH-215] 2415 * builder/virtualbox,vmware: fix race condition in deleting the output 2416 directory on Windows by retrying. 2417 2418 ## 0.2.1 (July 26, 2013) 2419 2420 ### FEATURES: 2421 2422 * New builder: `amazon-instance` can create instance-storage backed 2423 AMIs. 2424 * VMware builder now works with Workstation 9 on Linux. 2425 2426 ### IMPROVEMENTS: 2427 2428 * builder/amazon/all: Ctrl-C while waiting for state change works 2429 * builder/amazon/ebs: Can now launch instances into a VPC for added protection. [GH-210] 2430 * builder/virtualbox,vmware: Add backspace, delete, and F1-F12 keys to the boot 2431 command. 2432 * builder/virtualbox: massive performance improvements with big ISO files because 2433 an expensive copy is avoided. [GH-202] 2434 * builder/vmware: CD is removed prior to exporting final machine. [GH-198] 2435 2436 ### BUG FIXES: 2437 2438 * builder/amazon/all: Gracefully handle when AMI appears to not exist 2439 while AWS state is propagating. [GH-207] 2440 * builder/virtualbox: Trim carriage returns for Windows to properly 2441 detect VM state on Windows. [GH-218] 2442 * core: build names no longer cause invalid config errors. [GH-197] 2443 * command/build: If any builds fail, exit with non-zero exit status. 2444 * communicator/ssh: SCP exit codes are tested and errors are reported. [GH-195] 2445 * communicator/ssh: Properly change slash direction for Windows hosts. [GH-218] 2446 2447 ## 0.2.0 (July 16, 2013) 2448 2449 ### BACKWARDS INCOMPATIBILITIES: 2450 2451 * "iso_md5" in the virtualbox and vmware builders is replaced with 2452 "iso_checksum" and "iso_checksum_type" (with the latter set to "md5"). 2453 See the announce below on `packer fix` to automatically fix your templates. 2454 2455 ### FEATURES: 2456 2457 * **NEW COMMAND:** `packer fix` will attempt to fix templates from older 2458 versions of Packer that are now broken due to backwards incompatibilities. 2459 This command will fix the backwards incompatibilities introduced in this 2460 version. 2461 * Amazon EBS builder can now optionally use a pre-made security group 2462 instead of randomly generating one. 2463 * DigitalOcean API key and client IDs can now be passed in as 2464 environmental variables. See the documentation for more details. 2465 * VirtualBox and VMware can now have `floppy_files` specified to attach 2466 floppy disks when booting. This allows for unattended Windows installs. 2467 * `packer build` has a new `-force` flag that forces the removal of 2468 existing artifacts if they exist. [GH-173] 2469 * You can now log to a file (instead of just stderr) by setting the 2470 `PACKER_LOG_FILE` environmental variable. [GH-168] 2471 * Checksums other than MD5 can now be used. SHA1 and SHA256 can also 2472 be used. See the documentation on `iso_checksum_type` for more info. [GH-175] 2473 2474 ### IMPROVEMENTS: 2475 2476 * core: invalid keys in configuration are now considered validation 2477 errors. [GH-104] 2478 * core: all builders now share a common SSH connection core, improving 2479 SSH reliability over all the builders. 2480 * amazon-ebs: Credentials will come from IAM role if available. [GH-160] 2481 * amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169] 2482 * shell provisioner: the build name and builder type are available in 2483 the `PACKER_BUILD_NAME` and `PACKER_BUILDER_TYPE` env vars by default, 2484 respectively. [GH-154] 2485 * vmware: error if shutdown command has non-zero exit status. 2486 2487 ### BUG FIXES: 2488 2489 * core: UI messages are now properly prefixed with spaces again. 2490 * core: If SSH connection ends, re-connection attempts will take 2491 place. [GH-152] 2492 * virtualbox: "paused" doesn't mean the VM is stopped, improving 2493 shutdown detection. 2494 * vmware: error if guest IP could not be detected. [GH-189] 2495 2496 ## 0.1.5 (July 7, 2013) 2497 2498 ### FEATURES: 2499 2500 * "file" uploader will upload files from the machine running Packer to the 2501 remote machine. 2502 * VirtualBox guest additions URL and checksum can now be specified, allowing 2503 the VirtualBox builder to have the ability to be used completely offline. 2504 2505 ### IMPROVEMENTS: 2506 2507 * core: If SCP is not available, a more descriptive error message 2508 is shown telling the user. [GH-127] 2509 * shell: Scripts are now executed by default according to their shebang, 2510 not with `/bin/sh`. [GH-105] 2511 * shell: You can specify what interpreter you want inline scripts to 2512 run with `inline_shebang`. 2513 * virtualbox: Delete the packer-made SSH port forwarding prior to 2514 exporting the VM. 2515 2516 ### BUG FIXES: 2517 2518 * core: Non-200 response codes on downloads now show proper errors. 2519 [GH-141] 2520 * amazon-ebs: SSH handshake is retried. [GH-130] 2521 * vagrant: The `BuildName` template property works properly in 2522 the output path. 2523 * vagrant: Properly configure the provider-specific post-processors so 2524 things like `vagrantfile_template` work. [GH-129] 2525 * vagrant: Close filehandles when copying files so Windows can 2526 rename files. [GH-100] 2527 2528 ## 0.1.4 (July 2, 2013) 2529 2530 ### FEATURES: 2531 2532 * virtualbox: Can now be built headless with the "Headless" option. [GH-99] 2533 * virtualbox: <wait5> and <wait10> codes for waiting 5 and 10 seconds 2534 during the boot sequence, respectively. [GH-97] 2535 * vmware: Can now be built headless with the "Headless" option. [GH-99] 2536 * vmware: <wait5> and <wait10> codes for waiting 5 and 10 seconds 2537 during the boot sequence, respectively. [GH-97] 2538 * vmware: Disks are defragmented and compacted at the end of the build. 2539 This can be disabled using "skip_compaction" 2540 2541 ### IMPROVEMENTS: 2542 2543 * core: Template syntax errors now show line and character number. [GH-56] 2544 * amazon-ebs: Access key and secret access key default to 2545 environmental variables. [GH-40] 2546 * virtualbox: Send password for keyboard-interactive auth. [GH-121] 2547 * vmware: Send password for keyboard-interactive auth. [GH-121] 2548 2549 ### BUG FIXES: 2550 2551 * vmware: Wait until shut down cleans up properly to avoid corrupt 2552 disk files. [GH-111] 2553 2554 ## 0.1.3 (July 1, 2013) 2555 2556 ### FEATURES: 2557 2558 * The VMware builder can now upload the VMware tools for you into 2559 the VM. This is opt-in, you must specify the `tools_upload_flavor` 2560 option. See the website for more documentation. 2561 2562 ### IMPROVEMENTS: 2563 2564 * digitalocean: Errors contain human-friendly error messages. [GH-85] 2565 2566 ### BUG FIXES: 2567 2568 * core: More plugin server fixes that avoid hangs on OS X 10.7. [GH-87] 2569 * vagrant: AWS boxes will keep the AMI artifact around. [GH-55] 2570 * virtualbox: More robust version parsing for uploading guest additions. [GH-69] 2571 * virtualbox: Output dir and VM name defaults depend on build name, 2572 avoiding collisions. [GH-91] 2573 * vmware: Output dir and VM name defaults depend on build name, 2574 avoiding collisions. [GH-91] 2575 2576 ## 0.1.2 (June 29, 2013) 2577 2578 ### IMPROVEMENTS: 2579 2580 * core: Template doesn't validate if there are no builders. 2581 * vmware: Delete any VMware files in the VM that aren't necessary for 2582 it to function. 2583 2584 ### BUG FIXES: 2585 2586 * core: Plugin servers consider a port in use if there is any 2587 error listening to it. This fixes I18n issues and Windows. [GH-58] 2588 * amazon-ebs: Sleep between checking instance state to avoid 2589 RequestLimitExceeded. [GH-50] 2590 * vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64] 2591 * vagrant: VMware boxes have the correct provider type. 2592 * vmware: Properly populate files in artifact so that the Vagrant 2593 post-processor works. [GH-63] 2594 2595 ## 0.1.1 (June 28, 2013) 2596 2597 ### BUG FIXES: 2598 2599 * core: plugins listen explicitly on 127.0.0.1, fixing odd hangs. [GH-37] 2600 * core: fix race condition on verifying checksum of large ISOs which 2601 could cause panics. [GH-52] 2602 * virtualbox: `boot_wait` defaults to "10s" rather than 0. [GH-44] 2603 * virtualbox: if `http_port_min` and max are the same, it will no longer 2604 panic. [GH-53] 2605 * vmware: `boot_wait` defaults to "10s" rather than 0. [GH-44] 2606 * vmware: if `http_port_min` and max are the same, it will no longer 2607 panic. [GH-53] 2608 2609 ## 0.1.0 (June 28, 2013) 2610 2611 * Initial release