github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/CHANGELOG.md (about) 1 ## (Unreleased) 2 3 BUG FIXES: 4 5 * core: Fix hang after pressing enter key in `-debug` mode [GH-3346] 6 7 ## 0.10.0 (March 14, 2016) 8 9 BACKWARDS INCOMPATIBILITIES: 10 11 * Packer now requires go >= 1.5. If you want to continue building with go 1.4 12 you can remove the `azurearmbuilder` line from `command/plugin.go`. 13 14 FEATURES: 15 16 * **New `azure-arm` builder**: Build virtual machines in Azure Resource 17 Manager 18 19 IMPROVEMENTS: 20 21 * builder/google: Added support for `disk_type` [GH-2830] 22 * builder/openstack: Added support for retrieving the Administrator password 23 when using WinRM if no `winrm_password` is set [GH-3209] 24 * provisioner/ansible: Added the `empty_groups` parameter [GH-3232] 25 * provisioner/ansible: Added the `user` parameter [GH-3276] 26 * provisioner/ansible: Don't use deprecated ssh option with Ansible 2.0 27 [GH-3291] 28 * provisioner/puppet-masterless: Add `ignore_exit_codes` parameter [GH-3349] 29 30 BUG FIXES: 31 32 * builders/parallels: Handle `output_directory` containing `.` and `..` 33 [GH-3239] 34 * provisioner/ansible: os.Environ() should always be passed to the ansible 35 command. [GH-3274] 36 37 ## 0.9.0 (February 19, 2016) 38 39 BACKWARDS INCOMPATIBILITIES: 40 41 * Packer now ships as a single binary, including plugins. If you install 42 packer 0.9.0 over a previous packer installation, **you must delete all of 43 the packer-* plugin files** or packer will load out-of-date plugins from 44 disk. 45 * Release binaries are now provided via <https://releases.hashicorp.com>. 46 * Packer 0.9.0 is now built with Go 1.6. 47 * core: Plugins that implement the Communicator interface must now implement 48 a DownloadDir method [GH-2618] 49 * builder/amazon: Inline `user_data` for EC2 is now base64 encoded 50 automatically [GH-2539] 51 * builder/parallels: `parallels_tools_host_path` and `guest_os_distribution` 52 have been replaced by `guest_os_type`; use `packer fix` to update your 53 templates [GH-2751] 54 55 FEATURES: 56 57 * **Chef on Windows**: The chef provisioner now has native support for 58 Windows using Powershell and WinRM [GH-1215] 59 * **New `vmware-esxi` feature**: Packer can now export images from vCloud or 60 vSphere during the build [GH-1921] 61 * **New Ansible Provisioner**: `ansible` provisioner supports remote 62 provisioning to keep your build image cleaner [GH-1969] 63 * **New Amazon Import post-processor**: `amazon-import` allows you to upload an OVA-based VM to Amazon EC2 [GH-2962] 64 * **Shell Local post-processor**: `shell-local` allows you to run shell 65 commands on the host after a build has completed for custom packaging or 66 publishing of your artifacts [GH-2706] 67 * **Artifice post-processor**: Override packer artifacts during post- 68 processing. This allows you to extract artifacts from a packer builder and 69 use them with other post-processors like compress, docker, and Atlas. 70 71 IMPROVEMENTS: 72 73 * core: Packer plugins are now compiled into the main binary, reducing file 74 size and build times, and making packer easier to install. The overall 75 plugin architecture has not changed and third-party plugins can still be 76 loaded from disk. Please make sure your plugins are up-to-date! [GH-2854] 77 * core: Packer now indicates line numbers for template parse errors [GH-2742] 78 * core: Scripts are executed via `/usr/bin/env bash` instead of `/bin/bash` 79 for broader compatibility. [GH-2913] 80 * core: `target_path` for builder downloads can now be specified. [GH-2600] 81 * core: WinRM communicator now supports HTTPS protocol [GH-3061] 82 * core: Template syntax errors now show line, column, offset [GH-3180] 83 * core: SSH communicator now supports downloading directories [GH-2618] 84 * builder/amazon: Add support for `ebs_optimized` [GH-2806] 85 * builder/amazon: You can now specify `0` for `spot_price` to switch to on 86 demand instances [GH-2845] 87 * builder/amazon: Added `ap-northeast-2` (Seoul) [GH-3056] 88 * builder/amazon: packer will try to derive the AZ if only a subnet is 89 specified [GH-3037] 90 * builder/digitalocean: doubled instance wait timeouts to power off or 91 shutdown (now 4 minutes) and to complete a snapshot (now 20 minutes) 92 [GH-2939] 93 * builder/google: `account_file` can now be provided as a JSON string 94 [GH-2811] 95 * builder/google: added support for `preemptible` instances [GH-2982] 96 * builder/google: added support for static external IPs via `address` option 97 [GH-3030] 98 * builder/openstack: added retry on WaitForImage 404 [GH-3009] 99 * builder/openstack: Can specify `source_image_name` instead of the ID 100 [GH-2577] 101 * builder/openstack: added support for SSH over IPv6 [GH-3197] 102 * builder/parallels: Improve support for Parallels 11 [GH-2662] 103 * builder/parallels: Parallels disks are now compacted by default [GH-2731] 104 * builder/parallels: Packer will look for Parallels in 105 `/Applications/Parallels Desktop.app` if it is not detected automatically 106 [GH-2839] 107 * builder/qemu: qcow2 images are now compacted by default [GH-2748] 108 * builder/qemu: qcow2 images can now be compressed [GH-2748] 109 * builder/qemu: Now specifies `virtio-scsi` by default [GH-2422] 110 * builder/qemu: Now checks for version-specific options [GH-2376] 111 * builder/qemu: Can now bypass disk cache using `iso_skip_cache` [GH-3105] 112 * builder/qemu: `<wait>` in `boot_command` now accepts an arbitrary duration 113 like <wait1m30s> [GH-3129] 114 * builder/qemu: Expose `{{ .SSHHostPort }}` in templates [GH-2884] 115 * builder/virtualbox: Added VRDP for debugging [GH-3188] 116 * builder/vmware-esxi: Added private key auth for remote builds via 117 `remote_private_key_file` [GH-2912] 118 * post-processor/atlas: Added support for compile ID. [GH-2775] 119 * post-processor/docker-import: Can now import Artifice artifacts [GH-2718] 120 * provisioner/chef: Added `encrypted_data_bag_secret_path` option [GH-2653] 121 * provisioner/puppet: Added the `extra_arguments` parameter [GH-2635] 122 * provisioner/salt: Added `no_exit_on_failure`, `log_level`, and improvements 123 to salt command invocation [GH-2660] 124 125 BUG FIXES: 126 127 * core: Random number generator is now seeded. [GH-2640] 128 * core: Packer should now have a lot less race conditions [GH-2824] 129 * builder/amazon: The `no_device` option for block device mappings is now handled correctly [GH-2398] 130 * builder/amazon: AMI name validation now matches Amazon's spec [GH-2774] 131 * builder/amazon: Use snapshot size when volume size is unspecified [GH-2480] 132 * builder/amazon: Pass AccessKey and SecretKey when uploading bundles for 133 instance-backed AMIs [GH-2596] 134 * builder/parallels: Added interpolation in `prlctl_post` [GH-2828] 135 * builder/vmware: `format` option is now read correctly [GH-2892] 136 * builder/vmware-esxi: Correct endless loop in destroy validation logic 137 [GH-2911] 138 * provisioner/shell: No longer leaves temp scripts behind [GH-1536] 139 * provisioner/winrm: Now waits for reboot to complete before continuing with provisioning [GH-2568] 140 * post-processor/artifice: Fix truncation of files downloaded from Docker. [GH-2793] 141 142 143 ## 0.8.6 (Aug 22, 2015) 144 145 IMPROVEMENTS: 146 147 * builder/docker: Now supports Download so it can be used with the file 148 provisioner to download a file from a container. [GH-2585] 149 * builder/docker: Now verifies that the artifact will be used before the build 150 starts, unless the `discard` option is specified. This prevent failures 151 after the build completes. [GH-2626] 152 * post-processor/artifice: Now supports glob-like syntax for filenames [GH-2619] 153 * post-processor/vagrant: Like the compress post-processor, vagrant now uses a 154 parallel gzip algorithm to compress vagrant boxes. [GH-2590] 155 156 BUG FIXES: 157 158 * core: When `iso_url` is a local file and the checksum is invalid, the local 159 file will no longer be deleted. [GH-2603] 160 * builder/parallels: Fix interpolation in `parallels_tools_guest_path` [GH-2543] 161 162 ## 0.8.5 (Aug 10, 2015) 163 164 FEATURES: 165 166 * **[Beta]** Artifice post-processor: Override packer artifacts during post- 167 processing. This allows you to extract artifacts from a packer builder 168 and use them with other post-processors like compress, docker, and Atlas. 169 170 IMPROVEMENTS: 171 172 * Many docs have been updated and corrected; big thanks to our contributors! 173 * builder/openstack: Add debug logging for IP addresses used for SSH [GH-2513] 174 * builder/openstack: Add option to use existing SSH keypair [GH-2512] 175 * builder/openstack: Add support for Glance metadata [GH-2434] 176 * builder/qemu and builder/vmware: Packer's VNC connection no longer asks for 177 an exclusive connection [GH-2522] 178 * provisioner/salt-masterless: Can now customize salt remote directories [GH-2519] 179 180 BUG FIXES: 181 182 * builder/amazon: Improve instance cleanup by storing id sooner [GH-2404] 183 * builder/amazon: Only fetch windows password when using WinRM communicator [GH-2538] 184 * builder/openstack: Support IPv6 SSH address [GH-2450] 185 * builder/openstack: Track new IP address discovered during RackConnect [GH-2514] 186 * builder/qemu: Add 100ms delay between VNC key events. [GH-2415] 187 * post-processor/atlas: atlas_url configuration option works now [GH-2478] 188 * post-processor/compress: Now supports interpolation in output config [GH-2414] 189 * provisioner/powershell: Elevated runs now receive environment variables [GH-2378] 190 * provisioner/salt-masterless: Clarify error messages when we can't create or 191 write to the temp directory [GH-2518] 192 * provisioner/salt-masterless: Copy state even if /srv/salt exists already [GH-1699] 193 * provisioner/salt-masterless: Make sure /etc/salt exists before writing to it [GH-2520] 194 * provisioner/winrm: Connect to the correct port when using NAT with 195 VirtualBox / VMware [GH-2399] 196 197 Note: 0.8.3 was pulled and 0.8.4 was skipped. 198 199 ## 0.8.2 (July 17, 2015) 200 201 IMPROVEMENTS: 202 203 * builder/docker: Add option to use a Pty [GH-2425] 204 205 BUG FIXES: 206 207 * core: Fix crash when `min_packer_version` is specified in a template. [GH-2385] 208 * builder/amazon: Fix EC2 devices being included in EBS mappings [GH-2459] 209 * builder/googlecompute: Fix default name for GCE images [GH-2400] 210 * builder/null: Fix error message with missing ssh_host [GH-2407] 211 * builder/virtualbox: Use --portcount on VirtualBox 5.x [GH-2438] 212 * provisioner/puppet: Packer now correctly handles a directory for manifest_file [GH-2463] 213 * provisioner/winrm: Fix potential crash with WinRM [GH-2416] 214 215 ## 0.8.1 (July 2, 2015) 216 217 IMPROVEMENTS: 218 219 * builder/amazon: When debug mode is enabled, the Windows administrator 220 password for Windows instances will be shown [GH-2351] 221 222 BUG FIXES: 223 224 * core: `min_packer_version` field in configs work [GH-2356] 225 * core: The `build_name` and `build_type` functions work in provisioners [GH-2367] 226 * core: Handle timeout in SSH handshake [GH-2333] 227 * command/build: Fix reading configuration from stdin [GH-2366] 228 * builder/amazon: Fix issue with sharing AMIs when using `ami_users` [GH-2308] 229 * builder/amazon: Fix issue when using multiple Security Groups [GH-2381] 230 * builder/amazon: Fix for tag creation when creating new ec2 instance [GH-2317] 231 * builder/amazon: Fix issue with creating AMIs with multiple device mappings [GH-2320] 232 * builder/amazon: Fix failing AMI snapshot tagging when copying to other 233 regions [GH-2316] 234 * builder/amazon: Fix setting AMI launch permissions [GH-2348] 235 * builder/amazon: Fix spot instance cleanup to remove the correct request [GH-2327] 236 * builder/amazon: Fix `bundle_prefix` not interpolating `timestamp` [GH-2352] 237 * builder/amazon-instance: Fix issue with creating AMIs without specifying a 238 virtualization type [GH-2330] 239 * builder/digitalocean: Fix builder using private IP instead of public IP [GH-2339] 240 * builder/google: Set default communicator settings properly [GH-2353] 241 * builder/vmware-iso: Setting `checksum_type` to `none` for ESX builds 242 now works [GH-2323] 243 * provisioner/chef: Use knife config file vs command-line params to 244 clean up nodes so full set of features can be used [GH-2306] 245 * post-processor/compress: Fixed crash in compress post-processor plugin [GH-2311] 246 247 ## 0.8.0 (June 23, 2015) 248 249 BACKWARDS INCOMPATIBILITIES: 250 251 * core: SSH connection will no longer request a PTY by default. This 252 can be enabled per builder. 253 * builder/digitalocean: no longer supports the v1 API which has been 254 deprecated for some time. Most configurations should continue to 255 work as long as you use the `api_token` field for auth. 256 * builder/digitalocean: `image`, `region`, and `size` are now required. 257 * builder/openstack: auth parameters have been changed to better 258 reflect OS terminology. Existing environment variables still work. 259 260 FEATURES: 261 262 * **WinRM:** You can now connect via WinRM with almost every builder. 263 See the docs for more info. [GH-2239] 264 * **Windows AWS Support:** Windows AMIs can now be built without any 265 external plugins: Packer will start a Windows instance, get the 266 admin password, and can use WinRM (above) to connect through. [GH-2240] 267 * **Disable SSH:** Set `communicator` to "none" in any builder to disable SSH 268 connections. Note that provisioners won't work if this is done. [GH-1591] 269 * **SSH Agent Forwarding:** SSH Agent Forwarding will now be enabled 270 to allow access to remote servers such as private git repos. [GH-1066] 271 * **SSH Bastion Hosts:** You can now specify a bastion host for 272 SSH access (works with all builders). [GH-387] 273 * **OpenStack v3 Identity:** The OpenStack builder now supports the 274 v3 identity API. 275 * **Docker builder supports SSH**: The Docker builder now supports containers 276 with SSH, just set `communicator` to "ssh" [GH-2244] 277 * **File provisioner can download**: The file provisioner can now download 278 files out of the build process. [GH-1909] 279 * **New config function: `build_name`**: The name of the currently running 280 build. [GH-2232] 281 * **New config function: `build_type`**: The type of the currently running 282 builder. This is useful for provisioners. [GH-2232] 283 * **New config function: `template_dir`**: The directory to the template 284 being built. This should be used for template-relative paths. [GH-54] 285 * **New provisioner: shell-local**: Runs a local shell script. [GH-770] 286 * **New provisioner: powershell**: Provision Windows machines 287 with PowerShell scripts. [GH-2243] 288 * **New provisioner: windows-shell**: Provision Windows machines with 289 batch files. [GH-2243] 290 * **New provisioner: windows-restart**: Restart a Windows machines and 291 wait for it to come back online. [GH-2243] 292 * **Compress post-processor supports multiple algorithms:** The compress 293 post-processor now supports lz4 compression and compresses gzip in 294 parallel for much faster throughput. 295 296 IMPROVEMENTS: 297 298 * core: Interrupt handling for SIGTERM signal as well. [GH-1858] 299 * core: HTTP downloads support resuming [GH-2106] 300 * builder/*: Add `ssh_handshake_attempts` to configure the number of 301 handshake attempts done before failure [GH-2237] 302 * builder/amazon: Add `force_deregister` option for automatic AMI 303 deregistration [GH-2221] 304 * builder/amazon: Now applies tags to EBS snapshots [GH-2212] 305 * builder/amazon: Clean up orphaned volumes from Source AMIs [GH-1783] 306 * builder/amazon: Support custom keypairs [GH-1837] 307 * builder/amazon-chroot: Can now resize the root volume of the resulting 308 AMI with the `root_volume_size` option [GH-2289] 309 * builder/amazon-chroot: Add `mount_options` configuration option for providing 310 options to the `mount` command [GH-2296] 311 * builder/digitalocean: Save SSH key to pwd if debug mode is on. [GH-1829] 312 * builder/digitalocean: User data support [GH-2113] 313 * builder/googlecompute: Option to use internal IP for connections. [GH-2152] 314 * builder/parallels: Support Parallels Desktop 11 [GH-2199] 315 * builder/openstack: Add `rackconnect_wait` for Rackspace customers to wait for 316 RackConnect data to appear 317 * buidler/openstack: Add `ssh_interface` option for rackconnect for users that 318 have prohibitive firewalls 319 * builder/openstack: Flavor names can be used as well as refs 320 * builder/openstack: Add `availability_zone` [GH-2016] 321 * builder/openstack: Machine will be stopped prior to imaging if the 322 cluster supports the `startstop` extension. [GH-2223] 323 * builder/openstack: Support for user data [GH-2224] 324 * builder/qemu: Default accelerator to "tcg" on Windows [GH-2291] 325 * builder/virtualbox: Added option: `ssh_skip_nat_mapping` to skip the 326 automatic port forward for SSH and to use the guest port directly. [GH-1078] 327 * builder/virtualbox: Added SCSI support 328 * builder/vmware: Support for additional disks [GH-1382] 329 * builder/vmware: Can now customize the template used for adding disks [GH-2254] 330 * command/fix: After fixing, the template is validated [GH-2228] 331 * command/push: Add `-name` flag for specifying name from CLI [GH-2042] 332 * command/push: Push configuration in templates supports variables [GH-1861] 333 * post-processor/docker-save: Can be chained [GH-2179] 334 * post-processor/docker-tag: Support `force` option [GH-2055] 335 * post-processor/docker-tag: Can be chained [GH-2179] 336 * post-processor/vsphere: Make more fields optional, support empty 337 resource pools. [GH-1868] 338 * provisioner/puppet-masterless: `working_directory` option [GH-1831] 339 * provisioner/puppet-masterless: `packer_build_name` and 340 `packer_build_type` are default facts. [GH-1878] 341 * provisioner/puppet-server: `ignore_exit_codes` option added [GH-2280] 342 343 BUG FIXES: 344 345 * core: Fix potential panic for post-processor plugin exits [GH-2098] 346 * core: `PACKER_CONFIG` may point to a non-existent file [GH-2226] 347 * builder/amazon: Allow spaces in AMI names when using `clean_ami_name` [GH-2182] 348 * builder/amazon: Remove deprecated ec2-upload-bundle paramger [GH-1931] 349 * builder/amazon: Use IAM Profile to upload bundle if provided [GH-1985] 350 * builder/amazon: Use correct exit code after SSH authentication failed [GH-2004] 351 * builder/amazon: Retry finding created instance for eventual 352 consistency. [GH-2129] 353 * builder/amazon: If no AZ is specified, use AZ chosen automatically by 354 AWS for spot instance. [GH-2017] 355 * builder/amazon: Private key file (only available in debug mode) 356 is deleted on cleanup. [GH-1801] 357 * builder/amazon: AMI copy won't copy to the source region [GH-2123] 358 * builder/amazon: Validate AMI doesn't exist with name prior to build [GH-1774] 359 * builder/amazon: Improved retry logic around waiting for instances. [GH-1764] 360 * builder/amazon: Fix issues with creating Block Devices. [GH-2195] 361 * builder/amazon/chroot: Retry waiting for disk attachments [GH-2046] 362 * builder/amazon/chroot: Only unmount path if it is mounted [GH-2054] 363 * builder/amazon/instance: Use `-i` in sudo commands so PATH is inherited. [GH-1930] 364 * builder/amazon/instance: Use `--region` flag for bundle upload command. [GH-1931] 365 * builder/digitalocean: Wait for droplet to unlock before changing state, 366 should lower the "pending event" errors. 367 * builder/digitalocean: Ignore invalid fields from the ever-changing v2 API 368 * builder/digitalocean: Private images can be used as a source [GH-1792] 369 * builder/docker: Fixed hang on prompt while copying script 370 * builder/docker: Use `docker exec` for newer versions of Docker for 371 running scripts [GH-1993] 372 * builder/docker: Fix crash that could occur at certain timed ctrl-c [GH-1838] 373 * builder/docker: validate that `export_path` is not a directory [GH-2105] 374 * builder/google: `ssh_timeout` is respected [GH-1781] 375 * builder/openstack: `ssh_interface` can be used to specify the interface 376 to retrieve the SSH IP from. [GH-2220] 377 * builder/qemu: Add `disk_discard` option [GH-2120] 378 * builder/qemu: Use proper SSH port, not hardcoded to 22. [GH-2236] 379 * builder/qemu: Find unused SSH port if SSH port is taken. [GH-2032] 380 * builder/virtualbox: Bind HTTP server to IPv4, which is more compatible with 381 OS installers. [GH-1709] 382 * builder/virtualbox: Remove the floppy controller in addition to the 383 floppy disk. [GH-1879] 384 * builder/virtualbox: Fixed regression where downloading ISO without a 385 ".iso" extension didn't work. [GH-1839] 386 * builder/virtualbox: Output dir is verified at runtime, not template 387 validation time. [GH-2233] 388 * builder/virtualbox: Find unused SSH port if SSH port is taken. [GH-2032] 389 * builder/vmware: Add 100ms delay between keystrokes to avoid subtle 390 timing issues in most cases. [GH-1663] 391 * builder/vmware: Bind HTTP server to IPv4, which is more compatible with 392 OS installers. [GH-1709] 393 * builder/vmware: Case-insensitive match of MAC address to find IP [GH-1989] 394 * builder/vmware: More robust IP parsing from ifconfig output [GH-1999] 395 * builder/vmware: Nested output directories for ESXi work [GH-2174] 396 * builder/vmware: Output dir is verified at runtime, not template 397 validation time. [GH-2233] 398 * command/fix: For the `virtualbox` to `virtualbox-iso` builder rename, 399 provisioner overrides are now also fixed [GH-2231] 400 * command/validate: don't crash for invalid builds [GH-2139] 401 * post-processor/atlas: Find common archive prefix for Windows [GH-1874] 402 * post-processor/atlas: Fix index out of range panic [GH-1959] 403 * post-processor/vagrant-cloud: Fixed failing on response 404 * post-processor/vagrant-cloud: Don't delete version on error [GH-2014] 405 * post-processor/vagrant-cloud: Retry failed uploads a few times 406 * provisioner/chef-client: Fix permissions issues on default dir [GH-2255] 407 * provisioner/chef-client: Node cleanup works now. [GH-2257] 408 * provisioner/puppet-masterless: Allow manifest_file to be a directory 409 * provisioner/salt-masterless: Add `--retcode-passthrough` to salt-call 410 * provisioner/shell: chmod executable script to 0755, not 0777 [GH-1708] 411 * provisioner/shell: inline commands failing will fail the provisioner [GH-2069] 412 * provisioner/shell: single quotes in env vars are escaped [GH-2229] 413 * provisioner/shell: Temporary file is deleted after run [GH-2259] 414 * provisioner/shell: Randomize default script name to avoid strange 415 race issues from Windows. [GH-2270] 416 417 ## 0.7.5 (December 9, 2014) 418 419 FEATURES: 420 421 * **New command: `packer push`**: Push template and files to HashiCorp's 422 Atlas for building your templates automatically. 423 * **New post-processor: `atlas`**: Send artifact to HashiCorp's Atlas for 424 versioning and storing artifacts. These artifacts can then be queried 425 using the API, Terraform, etc. 426 427 IMPROVEMENTS: 428 429 * builder/googlecompute: Support for ubuntu-os-cloud project 430 * builder/googlecompute: Support for OAuth2 to avoid client secrets file 431 * builder/googlecompute: GCE image from persistant disk instead of tarball 432 * builder/qemu: Checksum type "none" can be used 433 * provisioner/chef: Generate a node name if none available 434 * provisioner/chef: Added ssl_verify_mode configuration 435 436 BUG FIXES: 437 438 * builder/parallels: Fixed attachment of ISO to cdrom device 439 * builder/parallels: Fixed boot load ordering 440 * builder/digitalocean: Fixed decoding of size 441 * builder/digitalocean: Fixed missing content-type header in request 442 * builder/digitalocean: Fixed use of private IP 443 * builder/digitalocean: Fixed the artifact ID generation 444 * builder/vsphere: Fixed credential escaping 445 * builder/qemu: Fixed use of CDROM with disk_image 446 * builder/aws: Fixed IP address for SSH in VPC 447 * builder/aws: Fixed issue with multiple block devices 448 * builder/vmware: Upload VMX to ESX5 after editing 449 * communicator/docker: Fix handling of symlinks during upload 450 * provisioner/chef: Fixed use of sudo in some cases 451 * core: Fixed build name interpolation 452 * postprocessor/vagrant: Fixed check for Vagrantfile template 453 454 ## 0.7.2 (October 28, 2014) 455 456 FEATURES: 457 458 * builder/digitalocean: API V2 support. [GH-1463] 459 * builder/parallels: Don't depend on _prl-utils_ [GH-1499] 460 461 IMPROVEMENTS: 462 463 * builder/amazon/all: Support new AWS Frankfurt region. 464 * builder/docker: Allow remote `DOCKER_HOST`, which works as long as 465 volumes work. [GH-1594] 466 * builder/qemu: Can set cache mode for main disk. [GH-1558] 467 * builder/qemu: Can build from pre-existing disk. [GH-1342] 468 * builder/vmware: Can specify path to Fusion installation with environmental 469 variable `FUSION_APP_PATH`. [GH-1552] 470 * builder/vmware: Can specify the HW version for the VMX. [GH-1530] 471 * builder/vmware/esxi: Will now cache ISOs/floppies remotely. [GH-1479] 472 * builder/vmware/vmx: Source VMX can have a disk connected via SATA. [GH-1604] 473 * post-processors/vagrant: Support Qemu (libvirt) boxes. [GH-1330] 474 * post-processors/vagrantcloud: Support self-hosted box URLs. 475 476 BUG FIXES: 477 478 * core: Fix loading plugins from pwd. [GH-1521] 479 * builder/amazon: Prefer token in config if given. [GH-1544] 480 * builder/amazon/all: Extended timeout for waiting for AMI. [GH-1533] 481 * builder/virtualbox: Can read VirtualBox version on FreeBSD. [GH-1570] 482 * builder/virtualbox: More robust reading of guest additions URL. [GH-1509] 483 * builder/vmware: Always remove floppies/drives. [GH-1504] 484 * builder/vmware: Wait some time so that post-VMX update aren't 485 overwritten. [GH-1504] 486 * builder/vmware/esxi: Retry power on if it fails. [GH-1334] 487 * builder/vmware-vmx: Fix issue with order of boot command support [GH-1492] 488 * builder/amazon: Extend timeout and allow user override [GH-1533] 489 * builder/parallels: Ignore 'The fdd0 device does not exist' [GH-1501] 490 * builder/parallels: Rely on Cleanup functions to detach devices [GH-1502] 491 * builder/parallels: Create VM without hdd and then add it later [GH-1548] 492 * builder/parallels: Disconnect cdrom0 [GH-1605] 493 * builder/qemu: Don't use `-redir` flag anymore, replace with 494 `hostfwd` options. [GH-1561] 495 * builder/qmeu: Use `pc` as default machine type instead of `pc-1.0`. 496 * providers/aws: Ignore transient network errors. [GH-1579] 497 * provisioner/ansible: Don't buffer output so output streams in. [GH-1585] 498 * provisioner/ansible: Use inventory file always to avoid potentially 499 deprecated feature. [GH-1562] 500 * provisioner/shell: Quote environmental variables. [GH-1568] 501 * provisioner/salt: Bootstrap over SSL. [GH-1608] 502 * post-processors/docker-push: Work with docker-tag artifacts. [GH-1526] 503 * post-processors/vsphere: Append "/" to object address. [GH-1615] 504 505 ## 0.7.1 (September 10, 2014) 506 507 FEATURES: 508 509 * builder/vmware: VMware Fusion Pro 7 is now supported. [GH-1478] 510 511 BUG FIXES: 512 513 * core: SSH will connect slightly faster if it is ready immediately. 514 * provisioner/file: directory uploads no longer hang. [GH-1484] 515 * provisioner/file: fixed crash on large files. [GH-1473] 516 * scripts: Windows executable renamed to packer.exe. [GH-1483] 517 518 ## 0.7.0 (September 8, 2014) 519 520 BACKWARDS INCOMPATIBILITIES: 521 522 * The authentication configuration for Google Compute Engine has changed. 523 The new method is much simpler, but is not backwards compatible. 524 `packer fix` will _not_ fix this. Please read the updated GCE docs. 525 526 FEATURES: 527 528 * **New Post-Processor: `compress`** - Gzip compresses artifacts with files. 529 * **New Post-Processor: `docker-save`** - Save an image. This is similar to 530 export, but preserves the image hierarchy. 531 * **New Post-Processor: `docker-tag`** - Tag a created image. 532 * **New Template Functions: `upper`, `lower`** - See documentation for 533 more details. 534 * core: Plugins are automatically discovered if they're named properly. 535 Packer will look in the PWD and the directory with `packer` for 536 binaries named `packer-TYPE-NAME`. 537 * core: Plugins placed in `~/.packer.d/plugins` are now automatically 538 discovered. 539 * builder/amazon: Spot instances can now be used to build EBS backed and 540 instance store images. [GH-1139] 541 * builder/docker: Images can now be committed instead of exported. [GH-1198] 542 * builder/virtualbox-ovf: New `import_flags` setting can be used to add 543 new command line flags to `VBoxManage import` to allow things such 544 as EULAs to be accepted. [GH-1383] 545 * builder/virtualbox-ovf: Boot commands and the HTTP server are supported. 546 [GH-1169] 547 * builder/vmware: VMware Player 6 is now supported. [GH-1168] 548 * builder/vmware-vmx: Boot commands and the HTTP server are supported. 549 [GH-1169] 550 551 IMPROVEMENTS: 552 553 * core: `isotime` function can take a format. [GH-1126] 554 * builder/amazon/all: `AWS_SECURITY_TOKEN` is read and can also be 555 set with the `token` configuration. [GH-1236] 556 * builder/amazon/all: Can force SSH on the private IP address with 557 `ssh_private_ip`. [GH-1229] 558 * builder/amazon/all: String fields in device mappings can use variables. [GH-1090] 559 * builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453] 560 * builder/digitalocean: Can set API URL endpoint. [GH-1448] 561 * builder/digitalocean: Region supports variables. [GH-1452] 562 * builder/docker: Can now specify login credentials to pull images. 563 * builder/docker: Support mounting additional volumes. [GH-1430] 564 * builder/parallels/all: Path to tools ISO is calculated automatically. [GH-1455] 565 * builder/parallels-pvm: `reassign_mac` option to choose wehther or not 566 to generate a new MAC address. [GH-1461] 567 * builder/qemu: Can specify "none" acceleration type. [GH-1395] 568 * builder/qemu: Can specify "tcg" acceleration type. [GH-1395] 569 * builder/virtualbox/all: `iso_interface` option to mount ISO with SATA. [GH-1200] 570 * builder/vmware-vmx: Proper `floppy_files` support. [GH-1057] 571 * command/build: Add `-color=false` flag to disable color. [GH-1433] 572 * post-processor/docker-push: Can now specify login credentials. [GH-1243] 573 * provisioner/chef-client: Support `chef_environment`. [GH-1190] 574 575 BUG FIXES: 576 577 * core: nicer error message if an encrypted private key is used for 578 SSH. [GH-1445] 579 * core: Fix crash that could happen with a well timed double Ctrl-C. 580 [GH-1328] [GH-1314] 581 * core: SSH TCP keepalive period is now 5 seconds (shorter). [GH-1232] 582 * builder/amazon-chroot: Can properly build HVM images now. [GH-1360] 583 * builder/amazon-chroot: Fix crash in root device check. [GH-1360] 584 * builder/amazon-chroot: Add description that Packer made the snapshot 585 with a time. [GH-1388] 586 * builder/amazon-ebs: AMI is deregistered if an error. [GH-1186] 587 * builder/amazon-instance: Fix deprecation warning for `ec2-bundle-vol` 588 [GH-1424] 589 * builder/amazon-instance: Add `--no-filter` to the `ec2-bundle-vol` 590 command by default to avoid corrupting data by removing package 591 manager certs. [GH-1137] 592 * builder/amazon/all: `delete_on_termination` set to false will work. 593 * builder/amazon/all: Fix race condition on setting tags. [GH-1367] 594 * builder/amazon/all: More desctriptive error messages if Amazon only 595 sends an error code. [GH-1189] 596 * builder/docker: Error if `DOCKER_HOST` is set. 597 * builder/docker: Remove the container during cleanup. [GH-1206] 598 * builder/docker: Fix case where not all output would show up from 599 provisioners. 600 * builder/googlecompute: add `disk_size` option. [GH-1397] 601 * builder/googlecompute: Auth works with latest formats on Google Cloud 602 Console. [GH-1344] 603 * builder/openstack: Region is not required. [GH-1418] 604 * builder/parallels-iso: ISO not removed from VM after install [GH-1338] 605 * builder/parallels/all: Add support for Parallels Desktop 10 [GH-1438] 606 * builder/parallels/all: Added some navigation keys [GH-1442] 607 * builder/qemu: If headless, sdl display won't be used. [GH-1395] 608 * builder/qemu: Use `512M` as `-m` default. [GH-1444] 609 * builder/virtualbox/all: Search `VBOX_MSI_INSTALL_PATH` for path to 610 `VBoxManage` on Windows. [GH-1337] 611 * builder/virtualbox/all: Seed RNG to avoid same ports. [GH-1386] 612 * builder/virtualbox/all: Better error if guest additions URL couldn't be 613 detected. [GH-1439] 614 * builder/virtualbox/all: Detect errors even when `VBoxManage` exits 615 with a zero exit code. [GH-1119] 616 * builder/virtualbox/iso: Append timestamp to default name for parallel 617 builds. [GH-1365] 618 * builder/vmware/all: No more error when Packer stops an already-stopped 619 VM. [GH-1300] 620 * builder/vmware/all: `ssh_host` accepts templates. [GH-1396] 621 * builder/vmware/all: Don't remount floppy in VMX post step. [GH-1239] 622 * builder/vmware/vmx: Do not re-add floppy disk files to VMX [GH-1361] 623 * builder/vmware-iso: Fix crash when `vnc_port_min` and max were the 624 same value. [GH-1288] 625 * builder/vmware-iso: Finding an available VNC port on Windows works. [GH-1372] 626 * builder/vmware-vmx: Nice error if Clone is not supported (not VMware 627 Fusion Pro). [GH-787] 628 * post-processor/vagrant: Can supply your own metadata.json. [GH-1143] 629 * provisioner/ansible-local: Use proper path on Windows. [GH-1375] 630 * provisioner/file: Mode will now be preserved. [GH-1064] 631 632 ## 0.6.1 (July 20, 2014) 633 634 FEATURES: 635 636 * **New post processor:** `vagrant-cloud` - Push box files generated by 637 vagrant post processor to Vagrant Cloud. [GH-1289] 638 * Vagrant post-processor can now packer Hyper-V boxes. 639 640 IMPROVEMENTS: 641 642 * builder/amazon: Support for enhanced networking on HVM images. [GH-1228] 643 * builder/amazon-ebs: Support encrypted EBS volumes [GH-1194] 644 * builder/ansible: Add `playbook_dir` option. [GH-1000] 645 * builder/openstack: Add ability to configure networks. [GH-1261] 646 * builder/openstack: Skip certificate verification. [GH-1121] 647 * builder/parallels/all: Add ability to select interface to connect to. 648 * builder/parallels/pvm: Support `boot_command`. [GH-1082] 649 * builder/virtualbox/all: Attempt to use local guest additions ISO 650 before downloading from internet. [GH-1123] 651 * builder/virtualbox/ovf: Supports `guest_additions_mode` [GH-1035] 652 * builder/vmware/all: Increase cleanup timeout to 120 seconds [GH-1167] 653 * builder/vmware/all: Add `vmx_data_post` for modifying VMX data 654 after shutdown. [GH-1149] 655 * builder/vmware/vmx: Supports tools uploading. [GH-1154] 656 657 BUG FIXES: 658 659 * core: `isotime` is the same time during the entire build. [GH-1153] 660 * builder/amazon-common: Sort AMI strings before outputting [GH-1305] 661 * builder/amazon: User data can use templates/variables. [GH-1343] 662 * builder/amazon: Can now build AMIs in GovCloud. 663 * builder/null: SSH info can use templates/variables. [GH-1343] 664 * builder/openstack: Workaround for gophercloud.ServerById crashing [GH-1257] 665 * builder/openstack: Force IPv4 addresses from address pools [GH-1258] 666 * builder/parallels: Do not delete entire CDROM device. [GH-1115] 667 * builder/parallels: Errors while creating floppy disk. [GH-1225] 668 * builder/parallels: Errors while removing floppy drive. [GH-1226] 669 * builder/virtualbox-ovf: Supports guest additions options. [GH-1120] 670 * builder/vmware-iso: Fix esx5 path separator in windows. [GH-1316] 671 * builder/vmware: Remote ESXi builder now uploads floppy. [GH-1106] 672 * builder/vmware: Remote ESXi builder no longer re-uploads ISO every 673 time. [GH-1244] 674 * post-processor/vsphere: Accept DOMAIN\account usernames [GH-1178] 675 * provisioner/chef-*: Fix remotePaths for Windows [GH-394] 676 677 ## 0.6.0 (May 2, 2014) 678 679 FEATURES: 680 681 * **New builder:** `null` - The null builder does not produce any 682 artifacts, but is useful for debugging provisioning scripts. [GH-970] 683 * **New builder:** `parallels-iso` and `parallels-pvm` - These can be 684 used to build Parallels virtual machines. [GH-1101] 685 * **New provisioner:** `chef-client` - Provision using a the `chef-client` 686 command, which talks to a Chef Server. [GH-855] 687 * **New provisioner:** `puppet-server` - Provision using Puppet by 688 communicating to a Puppet master. [GH-796] 689 * `min_packer_version` can be specified in a Packer template to force 690 a minimum version. [GH-487] 691 692 IMPROVEMENTS: 693 694 * core: RPC transport between plugins switched to MessagePack 695 * core: Templates array values can now be comma separated strings. 696 Most importantly, this allows for user variables to fill 697 array configurations. [GH-950] 698 * builder/amazon: Added `ssh_private_key_file` option [GH-971] 699 * builder/amazon: Added `ami_virtualization_type` option [GH-1021] 700 * builder/digitalocean: Regions, image names, and sizes can be 701 names that are looked up for their valid ID. [GH-960] 702 * builder/googlecompute: Configurable instance name. [GH-1065] 703 * builder/openstack: Support for conventional OpenStack environmental 704 variables such as `OS_USERNAME`, `OS_PASSWORD`, etc. [GH-768] 705 * builder/openstack: Support `openstack_provider` option to automatically 706 fill defaults for different OpenStack variants. [GH-912] 707 * builder/openstack: Support security groups. [GH-848] 708 * builder/qemu: User variable expansion in `ssh_key_path` [GH-918] 709 * builder/qemu: Floppy disk files list can also include globs 710 and directories. [GH-1086] 711 * builder/virtualbox: Support an `export_opts` option which allows 712 specifying arbitrary arguments when exporting the VM. [GH-945] 713 * builder/virtualbox: Added `vboxmanage_post` option to run vboxmanage 714 commands just before exporting [GH-664] 715 * builder/virtualbox: Floppy disk files list can also include globs 716 and directories. [GH-1086] 717 * builder/vmware: Workstation 10 support for Linux. [GH-900] 718 * builder/vmware: add cloning support on Windows [GH-824] 719 * builder/vmware: Floppy disk files list can also include globs 720 and directories. [GH-1086] 721 * command/build: Added `-parallel` flag so you can disable parallelization 722 with `-no-parallel`. [GH-924] 723 * post-processors/vsphere: `disk_mode` option. [GH-778] 724 * provisioner/ansible: Add `inventory_file` option [GH-1006] 725 * provisioner/chef-client: Add `validation_client_name` option. [GH-1056] 726 727 BUG FIXES: 728 729 * core: Errors are properly shown when adding bad floppy files. [GH-1043] 730 * core: Fix some URL parsing issues on Windows. 731 * core: Create Cache directory only when it is needed. [GH-367] 732 * builder/amazon-instance: Use S3Endpoint for ec2-upload-bundle arg, 733 which works for every region. [GH-904] 734 * builder/digitalocean: updated default image_id [GH-1032] 735 * builder/googlecompute: Create persistent disk as boot disk via 736 API v1 [GH-1001] 737 * builder/openstack: Return proper error on invalid instance states [GH-1018] 738 * builder/virtualbox-iso: Retry unregister a few times to deal with 739 VBoxManage randomness. [GH-915] 740 * provisioner/ansible: Fix paths when provisioning Linux from 741 Windows [GH-963] 742 * provisioner/ansible: set cwd to staging directory [GH-1016] 743 * provisioners/chef-client: Don't chown directory with Ubuntu. [GH-939] 744 * provisioners/chef-solo: Deeply nested JSON works properly. [GH-1076] 745 * provisioners/shell: Env var values can have equal signs. [GH-1045] 746 * provisioners/shell: chmod the uploaded script file to 0777. [GH-994] 747 * post-processor/docker-push: Allow repositories with ports. [GH-923] 748 * post-processor/vagrant: Create parent directories for `output` path [GH-1059] 749 * post-processor/vsphere: datastore, network, and folder are no longer 750 required. [GH-1091] 751 752 ## 0.5.2 (02/21/2014) 753 754 FEATURES: 755 756 * **New post-processor:** `docker-import` - Import a Docker image 757 and give it a specific repository/tag. 758 * **New post-processor:** `docker-push` - Push an imported image to 759 a registry. 760 761 IMPROVEMENTS: 762 763 * core: Most downloads made by Packer now use a custom user agent. [GH-803] 764 * builder/googlecompute: SSH private key will be saved to disk if `-debug` 765 is specified. [GH-867] 766 * builder/qemu: Can specify the name of the qemu binary. [GH-854] 767 * builder/virtualbox-ovf: Can specify import options such as "keepallmacs". 768 [GH-883] 769 770 BUG FIXES: 771 772 * core: Fix crash case if blank parameters are given to Packer. [GH-832] 773 * core: Fix crash if big file uploads are done. [GH-897] 774 * core: Fix crash if machine-readable output is going to a closed 775 pipe. [GH-875] 776 * builder/docker: user variables work properly. [GH-777] 777 * builder/qemu: reboots are now possible in provisioners. [GH-864] 778 * builder/virtualbox,vmware: iso\_checksum is not required if the 779 checksum type is "none" 780 * builder/virtualbox,vmware/qemu: Support for additional scancodes for 781 `boot_command` such as `<up>`, `<left>`, `<insert>`, etc. [GH-808] 782 * communicator/ssh: Send TCP keep-alives on connections. [GH-872] 783 * post-processor/vagrant: AWS/DigitalOcean keep input artifacts by 784 default. [GH-55] 785 * provisioners/ansible-local: Properly upload custom playbooks. [GH-829] 786 * provisioners/ansible-local: Better error if ansible isn't installed. 787 [GH-836] 788 789 ## 0.5.1 (01/02/2014) 790 791 BUG FIXES: 792 793 * core: If a stream ID loops around, don't let it use stream ID 0 [GH-767] 794 * core: Fix issue where large writes to plugins would result in stream 795 corruption. [GH-727] 796 * builders/virtualbox-ovf: `shutdown_timeout` config works. [GH-772] 797 * builders/vmware-iso: Remote driver works properly again. [GH-773] 798 799 ## 0.5.0 (12/30/2013) 800 801 BACKWARDS INCOMPATIBILITIES: 802 803 * "virtualbox" builder has been renamed to "virtualbox-iso". Running your 804 template through `packer fix` will resolve this. 805 * "vmware" builder has been renamed to "vmware-iso". Running your template 806 through `packer fix` will resolve this. 807 * post-processor/vagrant: Syntax for overriding by provider has changed. 808 See the documentation for more information. Running your template 809 through `packer fix` should resolve this. 810 * post-processor/vsphere: Some available configuration options were 811 changed. Running your template through `packer fix` should resolve 812 this. 813 * provisioner/puppet-masterless: The `execute_command` no longer has 814 the `Has*` variables, since the templating language now supports 815 comparison operations. See the Go documentation for more info: 816 http://golang.org/pkg/text/template/ 817 818 FEATURES: 819 820 * **New builder:** Google Compute Engine. You can now build images for 821 use in Google Compute Engine. See the documentation for more information. 822 [GH-715] 823 * **New builder:** "virtualbox-ovf" can build VirtualBox images from 824 an existing OVF or OVA. [GH-201] 825 * **New builder:** "vmware-vmx" can build VMware images from an existing 826 VMX. [GH-201] 827 * Environmental variables can now be accessed as default values for 828 user variables using the "env" function. See the documentation for more 829 information. 830 * "description" field in templates: write a human-readable description 831 of what a template does. This will be shown in `packer inspect`. 832 * Vagrant post-processor now accepts a list of files to include in the 833 box. 834 * All provisioners can now have a "pause\_before" parameter to wait 835 some period of time before running that provisioner. This is useful 836 for reboots. [GH-737] 837 838 IMPROVEMENTS: 839 840 * core: Plugins communicate over a single TCP connection per plugin now, 841 instead of sometimes dozens. Performance around plugin communication 842 dramatically increased. 843 * core: Build names are now template processed so you can use things 844 like user variables in them. [GH-744] 845 * core: New "pwd" function available globally that returns the working 846 directory. [GH-762] 847 * builder/amazon/all: Launched EC2 instances now have a name of 848 "Packer Builder" so that they are easily recognizable. [GH-642] 849 * builder/amazon/all: Copying AMIs to multiple regions now happens 850 in parallel. [GH-495] 851 * builder/amazon/all: Ability to specify "run\_tags" to tag the instance 852 while running. [GH-722] 853 * builder/digitalocean: Private networking support. [GH-698] 854 * builder/docker: A "run\_command" can be specified, configuring how 855 the container is started. [GH-648] 856 * builder/openstack: In debug mode, the generated SSH keypair is saved 857 so you can SSH into the machine. [GH-746] 858 * builder/qemu: Floppy files are supported. [GH-686] 859 * builder/qemu: Next `run_once` option tells Qemu to run only once, 860 which is useful for Windows installs that handle reboots for you. 861 [GH-687] 862 * builder/virtualbox: Nice errors if Packer can't write to 863 the output directory. 864 * builder/virtualbox: ISO is ejected prior to export. 865 * builder/virtualbox: Checksum type can be "none" [GH-471] 866 * builder/vmware: Can now specify path to the Fusion application. [GH-677] 867 * builder/vmware: Checksum type can be "none" [GH-471] 868 * provisioner/puppet-masterless: Can now specify a `manifest_dir` to 869 upload manifests to the remote machine for imports. [GH-655] 870 871 BUG FIXES: 872 873 * core: No colored output in machine-readable output. [GH-684] 874 * core: User variables can now be used for non-string fields. [GH-598] 875 * core: Fix bad download paths if the download URL contained a "." 876 before a "/" [GH-716] 877 * core: "{{timestamp}}" values will always be the same for the entire 878 duration of a build. [GH-744] 879 * builder/amazon: Handle cases where security group isn't instantly 880 available. [GH-494] 881 * builder/virtualbox: don't download guest additions if disabled. [GH-731] 882 * post-processor/vsphere: Uploads VM properly. [GH-694] 883 * post-processor/vsphere: Process user variables. 884 * provisioner/ansible-local: all configurations are processed as templates 885 [GH-749] 886 * provisioner/ansible-local: playbook paths are properly validated 887 as directories, not files. [GH-710] 888 * provisioner/chef-solo: Environments are recognized. [GH-726] 889 890 ## 0.4.1 (December 7, 2013) 891 892 IMPROVEMENTS: 893 894 * builder/amazon/ebs: New option allows associating a public IP with 895 non-default VPC instances. [GH-660] 896 * builder/openstack: A "proxy\_url" setting was added to define an HTTP 897 proxy to use when building with this builder. [GH-637] 898 899 BUG FIXES: 900 901 * core: Don't change background color on CLI anymore, making things look 902 a tad nicer in some terminals. 903 * core: multiple ISO URLs works properly in all builders. [GH-683] 904 * builder/amazon/chroot: Block when obtaining file lock to allow 905 parallel builds. [GH-689] 906 * builder/amazon/instance: Add location flag to upload bundle command 907 so that building AMIs works out of us-east-1 [GH-679] 908 * builder/qemu: Qemu arguments are templated. [GH-688] 909 * builder/vmware: Cleanup of VMX keys works properly so cd-rom won't 910 get stuck with ISO. [GH-685] 911 * builder/vmware: File cleanup is more resilient to file delete races 912 with the operating system. [GH-675] 913 * provisioner/puppet-masterless: Check for hiera config path existence 914 properly. [GH-656] 915 916 ## 0.4.0 (November 19, 2013) 917 918 FEATURES: 919 920 * Docker builder: build and export Docker containers, easily provisioned 921 with any of the Packer built-in provisioners. 922 * QEMU builder: builds a new VM compatible with KVM or Xen using QEMU. 923 * Remote ESXi builder: builds a VMware VM using ESXi remotely using only 924 SSH to an ESXi machine directly. 925 * vSphere post-processor: Can upload VMware artifacts to vSphere 926 * Vagrant post-processor can now make DigitalOcean provider boxes. [GH-504] 927 928 IMPROVEMENTS: 929 930 * builder/amazon/all: Can now specify a list of multiple security group 931 IDs to apply. [GH-499] 932 * builder/amazon/all: AWS API requests are now retried when a temporary 933 network error occurs as well as 500 errors. [GH-559] 934 * builder/virtualbox: Use VBOX\_INSTALL\_PATH env var on Windows to find 935 VBoxManage. [GH-628] 936 * post-processor/vagrant: skips gzip compression when compression_level=0 937 * provisioner/chef-solo: Encrypted data bag support [GH-625] 938 939 BUG FIXES: 940 941 * builder/amazon/chroot: Copying empty directories works. [GH-588] 942 * builder/amazon/chroot: Chroot commands work with shell provisioners. [GH-581] 943 * builder/amazon/chroot: Don't choose a mount point that is a partition of 944 an already mounted device. [GH-635] 945 * builder/virtualbox: Ctrl-C interrupts during waiting for boot. [GH-618] 946 * builder/vmware: VMX modifications are now case-insensitive. [GH-608] 947 * builder/vmware: VMware Fusion won't ask for VM upgrade. 948 * builder/vmware: Ctrl-C interrupts during waiting for boot. [GH-618] 949 * provisioner/chef-solo: Output is slightly prettier and more informative. 950 951 ## 0.3.11 (November 4, 2013) 952 953 FEATURES: 954 955 * builder/amazon/ebs: Ability to specify which availability zone to create 956 instance in. [GH-536] 957 958 IMPROVEMENTS: 959 960 * core: builders can now give warnings during validation. warnings won't 961 fail the build but may hint at potential future problems. 962 * builder/digitalocean: Can now specify a droplet name 963 * builder/virtualbox: Can now disable guest addition download entirely 964 by setting "guest_additions_mode" to "disable" [GH-580] 965 * builder/virtualbox,vmware: ISO urls can now be https [GH-587] 966 * builder/virtualbox,vmware: Warning if shutdown command is not specified, 967 since it is a common case of data loss. 968 969 BUG FIXES: 970 971 * core: Won't panic when writing to a bad pipe. [GH-560] 972 * builder/amazon/all: Properly scrub access key and secret key from logs. 973 [GH-554] 974 * builder/openstack: Properly scrub password from logs [GH-554] 975 * builder/virtualbox: No panic if SSH host port min/max is the same. [GH-594] 976 * builder/vmware: checks if `ifconfig` is in `/sbin` [GH-591] 977 * builder/vmware: Host IP lookup works for non-C locales. [GH-592] 978 * common/uuid: Use cryptographically secure PRNG when generating 979 UUIDs. [GH-552] 980 * communicator/ssh: File uploads that exceed the size of memory no longer 981 cause crashes. [GH-561] 982 983 ## 0.3.10 (October 20, 2013) 984 985 FEATURES: 986 987 * Ansible provisioner 988 989 IMPROVEMENTS: 990 991 * post-processor/vagrant: support instance-store AMIs built by Packer. [GH-502] 992 * post-processor/vagrant: can now specify compression level to use 993 when creating the box. [GH-506] 994 995 BUG FIXES: 996 997 * builder/all: timeout waiting for SSH connection is a failure. [GH-491] 998 * builder/amazon: Scrub sensitive data from the logs. [GH-521] 999 * builder/amazon: Handle the situation where an EC2 instance might not 1000 be immediately available. [GH-522] 1001 * builder/amazon/chroot: Files copied into the chroot remove destination 1002 before copy, fixing issues with dangling symlinks. [GH-500] 1003 * builder/digitalocean: don't panic if erroneous API response doesn't 1004 contain error message. [GH-492] 1005 * builder/digitalocean: scrub API keys from config debug output [GH-516] 1006 * builder/virtualbox: error if VirtualBox version cant be detected. [GH-488] 1007 * builder/virtualbox: detect if vboxdrv isn't properly setup. [GH-488] 1008 * builder/virtualbox: sleep a bit before export to ensure the sesssion 1009 is unlocked. [GH-512] 1010 * builder/virtualbox: create SATA drives properly on VirtualBox 4.3 [GH-547] 1011 * builder/virtualbox: support user templates in SSH key path. [GH-539] 1012 * builder/vmware: support user templates in SSH key path. [GH-539] 1013 * communicator/ssh: Fix issue where a panic could arise from a nil 1014 dereference. [GH-525] 1015 * post-processor/vagrant: Fix issue with VirtualBox OVA. [GH-548] 1016 * provisioner/salt: Move salt states to correct remote directory. [GH-513] 1017 * provisioner/shell: Won't block on certain scripts on Windows anymore. 1018 [GH-507] 1019 1020 ## 0.3.9 (October 2, 2013) 1021 1022 FEATURES: 1023 1024 * The Amazon chroot builder is now able to run without any `sudo` privileges 1025 by using the "command_wrapper" configuration. [GH-430] 1026 * Chef provisioner supports environments. [GH-483] 1027 1028 BUG FIXES: 1029 1030 * core: default user variable values don't need to be strings. [GH-456] 1031 * builder/amazon-chroot: Fix errors with waitin for state change. [GH-459] 1032 * builder/digitalocean: Use proper error message JSON key (DO API change). 1033 * communicator/ssh: SCP uploads now work properly when directories 1034 contain symlinks. [GH-449] 1035 * provisioner/chef-solo: Data bags and roles path are now properly 1036 populated when set. [GH-470] 1037 * provisioner/shell: Windows line endings are actually properly changed 1038 to Unix line endings. [GH-477] 1039 1040 ## 0.3.8 (September 22, 2013) 1041 1042 FEATURES: 1043 1044 * core: You can now specify `only` and `except` configurations on any 1045 provisioner or post-processor to specify a list of builds that they 1046 are valid for. [GH-438] 1047 * builders/virtualbox: Guest additions can be attached rather than uploaded, 1048 easier to handle for Windows guests. [GH-405] 1049 * provisioner/chef-solo: Ability to specify a custom Chef configuration 1050 template. 1051 * provisioner/chef-solo: Roles and data bags support. [GH-348] 1052 1053 IMPROVEMENTS: 1054 1055 * core: User variables can now be used for integer, boolean, etc. 1056 values. [GH-418] 1057 * core: Plugins made with incompatible versions will no longer load. 1058 * builder/amazon/all: Interrupts work while waiting for AMI to be ready. 1059 * provisioner/shell: Script line-endings are automatically converted to 1060 Unix-style line-endings. Can be disabled by setting "binary" to "true". 1061 [GH-277] 1062 1063 BUG FIXES: 1064 1065 * core: Set TCP KeepAlives on internally created RPC connections so that 1066 they don't die. [GH-416] 1067 * builder/amazon/all: While waiting for AMI, will detect "failed" state. 1068 * builder/amazon/all: Waiting for state will detect if the resource (AMI, 1069 instance, etc.) disappears from under it. 1070 * builder/amazon/instance: Exclude only contents of /tmp, not /tmp 1071 itself. [GH-437] 1072 * builder/amazon/instance: Make AccessKey/SecretKey available to bundle 1073 command even when they come from the environment. [GH-434] 1074 * builder/virtualbox: F1-F12 and delete scancodes now work. [GH-425] 1075 * post-processor/vagrant: Override configurations properly work. [GH-426] 1076 * provisioner/puppet-masterless: Fix failure case when both facter vars 1077 are used and prevent_sudo. [GH-415] 1078 * provisioner/puppet-masterless: User variables now work properly in 1079 manifest file and hiera path. [GH-448] 1080 1081 ## 0.3.7 (September 9, 2013) 1082 1083 BACKWARDS INCOMPATIBILITIES: 1084 1085 * The "event_delay" option for the DigitalOcean builder is now gone. 1086 The builder automatically waits for events to go away. Run your templates 1087 through `packer fix` to get rid of these. 1088 1089 FEATURES: 1090 1091 * **NEW PROVISIONER:** `puppet-masterless`. You can now provision with 1092 a masterless Puppet setup. [GH-234] 1093 * New globally available template function: `uuid`. Generates a new random 1094 UUID. 1095 * New globally available template function: `isotime`. Generates the 1096 current time in ISO standard format. 1097 * New Amazon template function: `clean_ami_name`. Substitutes '-' for 1098 characters that are illegal to use in an AMI name. 1099 1100 IMPROVEMENTS: 1101 1102 * builder/amazon/all: Ability to specify the format of the temporary 1103 keypair created. [GH-389] 1104 * builder/amazon/all: Support the NoDevice flag for block mappings. [GH-396] 1105 * builder/digitalocean: Retry on any pending event errors. 1106 * builder/openstack: Can now specify a project. [GH-382] 1107 * builder/virtualbox: Can now attach hard drive over SATA. [GH-391] 1108 * provisioner/file: Can now upload directories. [GH-251] 1109 1110 BUG FIXES: 1111 1112 * core: Detect if SCP is not enabled on the other side. [GH-386] 1113 * builder/amazon/all: When copying AMI to multiple regions, copy 1114 the metadata (tags and attributes) as well. [GH-388] 1115 * builder/amazon/all: Fix panic case where eventually consistent 1116 instance state caused an index out of bounds. 1117 * builder/virtualbox: The `vm_name` setting now properly sets the OVF 1118 name of the output. [GH-401] 1119 * builder/vmware: Autoanswer VMware dialogs. [GH-393] 1120 * command/inspect: Fix weird output for default values for optional vars. 1121 1122 ## 0.3.6 (September 2, 2013) 1123 1124 FEATURES: 1125 1126 * User variables can now be specified as "required", meaning the user 1127 MUST specify a value. Just set the default value to "null". [GH-374] 1128 1129 IMPROVEMENTS: 1130 1131 * core: Much improved interrupt handling. For example, interrupts now 1132 cancel much more quickly within provisioners. 1133 * builder/amazon: In `-debug` mode, the keypair used will be saved to 1134 the current directory so you can access the machine. [GH-373] 1135 * builder/amazon: In `-debug` mode, the DNS is outputted. 1136 * builder/openstack: IPv6 addresses supported for SSH. [GH-379] 1137 * communicator/ssh: Support for private keys encrypted using PKCS8. [GH-376] 1138 * provisioner/chef-solo: You can now use user variables in the `json` 1139 configuration for Chef. [GH-362] 1140 1141 BUG FIXES: 1142 1143 * core: Concurrent map access is completely gone, fixing rare issues 1144 with runtime memory corruption. [GH-307] 1145 * core: Fix possible panic when ctrl-C during provisioner run. 1146 * builder/digitalocean: Retry destroy a few times because DO sometimes 1147 gives false errors. 1148 * builder/openstack: Properly handle the case no image is made. [GH-375] 1149 * builder/openstack: Specifying a region is now required in a template. 1150 * provisioners/salt-masterless: Use filepath join to properly join paths. 1151 1152 ## 0.3.5 (August 28, 2013) 1153 1154 FEATURES: 1155 1156 * **NEW BUILDER:** `openstack`. You can now build on OpenStack. [GH-155] 1157 * **NEW PROVISIONER:** `chef-solo`. You can now provision with Chef 1158 using `chef-solo` from local cookbooks. 1159 * builder/amazon: Copy AMI to multiple regions with `ami_regions`. [GH-322] 1160 * builder/virtualbox,vmware: Can now use SSH keys as an auth mechanism for 1161 SSH using `ssh_key_path`. [GH-70] 1162 * builder/virtualbox,vmware: Support SHA512 as a checksum type. [GH-356] 1163 * builder/vmware: The root hard drive type can now be specified with 1164 "disk_type_id" for advanced users. [GH-328] 1165 * provisioner/salt-masterless: Ability to specfy a minion config. [GH-264] 1166 * provisioner/salt-masterless: Ability to upload pillars. [GH-353] 1167 1168 IMPROVEMENTS: 1169 1170 * core: Output message when Ctrl-C received that we're cleaning up. [GH-338] 1171 * builder/amazon: Tagging now works with all amazon builder types. 1172 * builder/vmware: Option `ssh_skip_request_pty` for not requesting a PTY 1173 for the SSH connection. [GH-270] 1174 * builder/vmware: Specify a `vmx_template_path` in order to customize 1175 the generated VMX. [GH-270] 1176 * command/build: Machine-readable output now contains build errors, if any. 1177 * command/build: An "end" sentinel is outputted in machine-readable output 1178 for artifact listing so it is easier to know when it is over. 1179 1180 BUG FIXES: 1181 1182 * core: Fixed a couple cases where a double ctrl-C could panic. 1183 * core: Template validation fails if an override is specified for a 1184 non-existent builder. [GH-336] 1185 * core: The SSH connection is heartbeated so that drops can be 1186 detected. [GH-200] 1187 * builder/amazon/instance: Remove check for ec2-ami-tools because it 1188 didn't allow absolute paths to work properly. [GH-330] 1189 * builder/digitalocean: Send a soft shutdown request so that files 1190 are properly synced before shutdown. [GH-332] 1191 * command/build,command/validate: If a non-existent build is specified to 1192 '-only' or '-except', it is now an error. [GH-326] 1193 * post-processor/vagrant: Setting OutputPath with a timestamp now 1194 always works properly. [GH-324] 1195 * post-processor/vagrant: VirtualBox OVA formats now turn into 1196 Vagrant boxes properly. [GH-331] 1197 * provisioner/shell: Retry upload if start command fails, making reboot 1198 handling much more robust. 1199 1200 ## 0.3.4 (August 21, 2013) 1201 1202 IMPROVEMENTS: 1203 1204 * post-processor/vagrant: the file being compressed will be shown 1205 in the UI [GH-314] 1206 1207 BUG FIXES: 1208 1209 * core: Avoid panics when double-interrupting Packer. 1210 * provisioner/shell: Retry shell script uploads, making reboots more 1211 robust if they happen to fail in this stage. [GH-282] 1212 1213 ## 0.3.3 (August 19, 2013) 1214 1215 FEATURES: 1216 1217 * builder/virtualbox: support exporting in OVA format. [GH-309] 1218 1219 IMPROVEMENTS: 1220 1221 * core: All HTTP downloads across Packer now support the standard 1222 proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252] 1223 * builder/amazon: API requests will use HTTP proxy if specified by 1224 enviromental variables. 1225 * builder/digitalocean: API requests will use HTTP proxy if specified 1226 by environmental variables. 1227 1228 BUG FIXES: 1229 1230 * core: TCP connection between plugin processes will keep-alive. [GH-312] 1231 * core: No more "unused key keep_input_artifact" for post processors [GH-310] 1232 * post-processor/vagrant: `output_path` templates now work again. 1233 1234 ## 0.3.2 (August 18, 2013) 1235 1236 FEATURES: 1237 1238 * New command: `packer inspect`. This command tells you the components of 1239 a template. It respects the `-machine-readable` flag as well so you can 1240 parse out components of a template. 1241 * Packer will detect its own crashes (always a bug) and save a "crash.log" 1242 file. 1243 * builder/virtualbox: You may now specify multiple URLs for an ISO 1244 using "iso_url" in a template. The URLs will be tried in order. 1245 * builder/vmware: You may now specify multiple URLs for an ISO 1246 using "iso_url" in a template. The URLs will be tried in order. 1247 1248 IMPROVEMENTS: 1249 1250 * core: built with Go 1.1.2 1251 * core: packer help output now loads much faster. 1252 * builder/virtualbox: guest_additions_url can now use the `Version` 1253 variable to get the VirtualBox version. [GH-272] 1254 * builder/virtualbox: Do not check for VirtualBox as part of template 1255 validation; only check at execution. 1256 * builder/vmware: Do not check for VMware as part of template validation; 1257 only check at execution. 1258 * command/build: A path of "-" will read the template from stdin. 1259 * builder/amazon: add block device mappings [GH-90] 1260 1261 BUG FIXES: 1262 1263 * windows: file URLs are easier to get right as Packer 1264 has better parsing and error handling for Windows file paths. [GH-284] 1265 * builder/amazon/all: Modifying more than one AMI attribute type no longer 1266 crashes. 1267 * builder/amazon-instance: send IAM instance profile data. [GH-294] 1268 * builder/digitalocean: API request parameters are properly URL 1269 encoded. [GH-281] 1270 * builder/virtualbox: dowload progress won't be shown until download 1271 actually starts. [GH-288] 1272 * builder/virtualbox: floppy files names of 13 characters are now properly 1273 written to the FAT12 filesystem. [GH-285] 1274 * builder/vmware: dowload progress won't be shown until download 1275 actually starts. [GH-288] 1276 * builder/vmware: interrupt works while typing commands over VNC. 1277 * builder/virtualbox: floppy files names of 13 characters are now properly 1278 written to the FAT12 filesystem. [GH-285] 1279 * post-processor/vagrant: Process user variables. [GH-295] 1280 1281 ## 0.3.1 (August 12, 2013) 1282 1283 IMPROVEMENTS: 1284 1285 * provisioner/shell: New setting `start_retry_timeout` which is the timeout 1286 for the provisioner to attempt to _start_ the remote process. This allows 1287 the shell provisioner to work properly with reboots. [GH-260] 1288 1289 BUG FIXES: 1290 1291 * core: Remote command output containing '\r' now looks much better 1292 within the Packer output. 1293 * builder/vmware: Fix issue with finding driver files. [GH-279] 1294 * provisioner/salt-masterless: Uploads work properly from Windows. [GH-276] 1295 1296 ## 0.3.0 (August 12, 2013) 1297 1298 BACKWARDS INCOMPATIBILITIES: 1299 1300 * All `{{.CreateTime}}` variables within templates (such as for AMI names) 1301 are now replaced with `{{timestamp}}`. Run `packer fix` to fix your 1302 templates. 1303 1304 FEATURES: 1305 1306 * **User Variables** allow you to specify variables within your templates 1307 that can be replaced using the command-line, files, or environmental 1308 variables. This dramatically improves the portability of packer templates. 1309 See the documentation for more information. 1310 * **Machine-readable output** can be enabled by passing the 1311 `-machine-readable` flag to _any_ Packer command. 1312 * All strings in a template are now processed for variables/functions, 1313 so things like `{{timestamp}}` can be used everywhere. More features will 1314 be added in the future. 1315 * The `amazon` builders (all of them) can now have attributes of their 1316 resulting AMIs modified, such as access permissions and product codes. 1317 1318 IMPROVEMENTS: 1319 1320 * builder/amazon/all: User data can be passed to start the instances. [GH-253] 1321 * provisioner/salt-masterless: `local_state_tree` is no longer required, 1322 allowing you to use shell provisioner (or others) to bring this down. 1323 [GH-269] 1324 1325 BUG FIXES: 1326 1327 * builder/amazon/ebs,instance: Retry deleing security group a few times. 1328 [GH-278] 1329 * builder/vmware: Workstation works on Windows XP now. [GH-238] 1330 * builder/vmware: Look for files on Windows in multiple locations 1331 using multiple environmental variables. [GH-263] 1332 * provisioner/salt-masterless: states aren't deleted after the run 1333 anymore. [GH-265] 1334 * provisioner/salt-masterless: error if any commands exit with a non-zero 1335 exit status. [GH-266] 1336 1337 ## 0.2.3 (August 7, 2013) 1338 1339 IMPROVEMENTS: 1340 1341 * builder/amazon/all: Added Amazon AMI tag support [GH-233] 1342 1343 BUG FIXES: 1344 1345 * core: Absolute/relative filepaths on Windows now work for iso_url 1346 and other settings. [GH-240] 1347 * builder/amazon/all: instance info is refreshed while waiting for SSH, 1348 allowing Packer to see updated IP/DNS info. [GH-243] 1349 1350 ## 0.2.2 (August 1, 2013) 1351 1352 FEATURES: 1353 1354 * New builder: `amazon-chroot` can create EBS-backed AMIs without launching 1355 a new EC2 instance. This can shave minutes off of the AMI creation process. 1356 See the docs for more info. 1357 * New provisioner: `salt-masterless` will provision the node using Salt 1358 without a master. 1359 * The `vmware` builder now works with Workstation 9 on Windows. [GH-222] 1360 * The `vmware` builder now works with Player 5 on Linux. [GH-190] 1361 1362 IMPROVEMENTS: 1363 1364 * core: Colors won't be outputted on Windows unless in Cygwin. 1365 * builder/amazon/all: Added `iam_instance_profile` to launch the source 1366 image with a given IAM profile. [GH-226] 1367 1368 BUG FIXES: 1369 1370 * builder/virtualbox,vmware: relative paths work properly as URL 1371 configurations. [GH-215] 1372 * builder/virtualbox,vmware: fix race condition in deleting the output 1373 directory on Windows by retrying. 1374 1375 ## 0.2.1 (July 26, 2013) 1376 1377 FEATURES: 1378 1379 * New builder: `amazon-instance` can create instance-storage backed 1380 AMIs. 1381 * VMware builder now works with Workstation 9 on Linux. 1382 1383 IMPROVEMENTS: 1384 1385 * builder/amazon/all: Ctrl-C while waiting for state change works 1386 * builder/amazon/ebs: Can now launch instances into a VPC for added protection [GH-210] 1387 * builder/virtualbox,vmware: Add backspace, delete, and F1-F12 keys to the boot 1388 command. 1389 * builder/virtualbox: massive performance improvements with big ISO files because 1390 an expensive copy is avoided. [GH-202] 1391 * builder/vmware: CD is removed prior to exporting final machine. [GH-198] 1392 1393 BUG FIXES: 1394 1395 * builder/amazon/all: Gracefully handle when AMI appears to not exist 1396 while AWS state is propogating. [GH-207] 1397 * builder/virtualbox: Trim carriage returns for Windows to properly 1398 detect VM state on Windows. [GH-218] 1399 * core: build names no longer cause invalid config errors. [GH-197] 1400 * command/build: If any builds fail, exit with non-zero exit status. 1401 * communicator/ssh: SCP exit codes are tested and errors are reported. [GH-195] 1402 * communicator/ssh: Properly change slash direction for Windows hosts. [GH-218] 1403 1404 ## 0.2.0 (July 16, 2013) 1405 1406 BACKWARDS INCOMPATIBILITIES: 1407 1408 * "iso_md5" in the virtualbox and vmware builders is replaced with 1409 "iso_checksum" and "iso_checksum_type" (with the latter set to "md5"). 1410 See the announce below on `packer fix` to automatically fix your templates. 1411 1412 FEATURES: 1413 1414 * **NEW COMMAND:** `packer fix` will attempt to fix templates from older 1415 versions of Packer that are now broken due to backwards incompatibilities. 1416 This command will fix the backwards incompatibilities introduced in this 1417 version. 1418 * Amazon EBS builder can now optionally use a pre-made security group 1419 instead of randomly generating one. 1420 * DigitalOcean API key and client IDs can now be passed in as 1421 environmental variables. See the documentatin for more details. 1422 * VirtualBox and VMware can now have `floppy_files` specified to attach 1423 floppy disks when booting. This allows for unattended Windows installs. 1424 * `packer build` has a new `-force` flag that forces the removal of 1425 existing artifacts if they exist. [GH-173] 1426 * You can now log to a file (instead of just stderr) by setting the 1427 `PACKER_LOG_FILE` environmental variable. [GH-168] 1428 * Checksums other than MD5 can now be used. SHA1 and SHA256 can also 1429 be used. See the documentation on `iso_checksum_type` for more info. [GH-175] 1430 1431 IMPROVEMENTS: 1432 1433 * core: invalid keys in configuration are now considered validation 1434 errors. [GH-104] 1435 * core: all builders now share a common SSH connection core, improving 1436 SSH reliability over all the builders. 1437 * amazon-ebs: Credentials will come from IAM role if available. [GH-160] 1438 * amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169] 1439 * shell provisioner: the build name and builder type are available in 1440 the `PACKER_BUILD_NAME` and `PACKER_BUILDER_TYPE` env vars by default, 1441 respectively. [GH-154] 1442 * vmware: error if shutdown command has non-zero exit status. 1443 1444 BUG FIXES: 1445 1446 * core: UI messages are now properly prefixed with spaces again. 1447 * core: If SSH connection ends, re-connection attempts will take 1448 place. [GH-152] 1449 * virtualbox: "paused" doesn't mean the VM is stopped, improving 1450 shutdown detection. 1451 * vmware: error if guest IP could not be detected. [GH-189] 1452 1453 ## 0.1.5 (July 7, 2013) 1454 1455 FEATURES: 1456 1457 * "file" uploader will upload files from the machine running Packer to the 1458 remote machine. 1459 * VirtualBox guest additions URL and checksum can now be specified, allowing 1460 the VirtualBox builder to have the ability to be used completely offline. 1461 1462 IMPROVEMENTS: 1463 1464 * core: If SCP is not available, a more descriptive error message 1465 is shown telling the user. [GH-127] 1466 * shell: Scripts are now executed by default according to their shebang, 1467 not with `/bin/sh`. [GH-105] 1468 * shell: You can specify what interpreter you want inline scripts to 1469 run with `inline_shebang`. 1470 * virtualbox: Delete the packer-made SSH port forwarding prior to 1471 exporting the VM. 1472 1473 BUG FIXES: 1474 1475 * core: Non-200 response codes on downloads now show proper errors. 1476 [GH-141] 1477 * amazon-ebs: SSH handshake is retried. [GH-130] 1478 * vagrant: The `BuildName` template propery works properly in 1479 the output path. 1480 * vagrant: Properly configure the provider-specific post-processors so 1481 things like `vagrantfile_template` work. [GH-129] 1482 * vagrant: Close filehandles when copying files so Windows can 1483 rename files. [GH-100] 1484 1485 ## 0.1.4 (July 2, 2013) 1486 1487 FEATURES: 1488 1489 * virtualbox: Can now be built headless with the "Headless" option. [GH-99] 1490 * virtualbox: <wait5> and <wait10> codes for waiting 5 and 10 seconds 1491 during the boot sequence, respectively. [GH-97] 1492 * vmware: Can now be built headless with the "Headless" option. [GH-99] 1493 * vmware: <wait5> and <wait10> codes for waiting 5 and 10 seconds 1494 during the boot sequence, respectively. [GH-97] 1495 * vmware: Disks are defragmented and compacted at the end of the build. 1496 This can be disabled using "skip_compaction" 1497 1498 IMPROVEMENTS: 1499 1500 * core: Template syntax errors now show line and character number. [GH-56] 1501 * amazon-ebs: Access key and secret access key default to 1502 environmental variables. [GH-40] 1503 * virtualbox: Send password for keyboard-interactive auth [GH-121] 1504 * vmware: Send password for keyboard-interactive auth [GH-121] 1505 1506 BUG FIXES: 1507 1508 * vmware: Wait until shut down cleans up properly to avoid corrupt 1509 disk files [GH-111] 1510 1511 ## 0.1.3 (July 1, 2013) 1512 1513 FEATURES: 1514 1515 * The VMware builder can now upload the VMware tools for you into 1516 the VM. This is opt-in, you must specify the `tools_upload_flavor` 1517 option. See the website for more documentation. 1518 1519 IMPROVEMENTS: 1520 1521 * digitalocean: Errors contain human-friendly error messages. [GH-85] 1522 1523 BUG FIXES: 1524 1525 * core: More plugin server fixes that avoid hangs on OS X 10.7 [GH-87] 1526 * vagrant: AWS boxes will keep the AMI artifact around [GH-55] 1527 * virtualbox: More robust version parsing for uploading guest additions. [GH-69] 1528 * virtualbox: Output dir and VM name defaults depend on build name, 1529 avoiding collisions. [GH-91] 1530 * vmware: Output dir and VM name defaults depend on build name, 1531 avoiding collisions. [GH-91] 1532 1533 ## 0.1.2 (June 29, 2013) 1534 1535 IMPROVEMENTS: 1536 1537 * core: Template doesn't validate if there are no builders. 1538 * vmware: Delete any VMware files in the VM that aren't necessary for 1539 it to function. 1540 1541 BUG FIXES: 1542 1543 * core: Plugin servers consider a port in use if there is any 1544 error listening to it. This fixes I18n issues and Windows. [GH-58] 1545 * amazon-ebs: Sleep between checking instance state to avoid 1546 RequestLimitExceeded [GH-50] 1547 * vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64] 1548 * vagrant: VMware boxes have the correct provider type. 1549 * vmware: Properly populate files in artifact so that the Vagrant 1550 post-processor works. [GH-63] 1551 1552 ## 0.1.1 (June 28, 2013) 1553 1554 BUG FIXES: 1555 1556 * core: plugins listen explicitly on 127.0.0.1, fixing odd hangs. [GH-37] 1557 * core: fix race condition on verifying checksum of large ISOs which 1558 could cause panics [GH-52] 1559 * virtualbox: `boot_wait` defaults to "10s" rather than 0. [GH-44] 1560 * virtualbox: if `http_port_min` and max are the same, it will no longer 1561 panic [GH-53] 1562 * vmware: `boot_wait` defaults to "10s" rather than 0. [GH-44] 1563 * vmware: if `http_port_min` and max are the same, it will no longer 1564 panic [GH-53] 1565 1566 ## 0.1.0 (June 28, 2013) 1567 1568 * Initial release