CHANGELOG.md 48.8 KB
Newer Older
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1
## 0.7.5 (December 9, 2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
2

Armon Dadgar's avatar
Armon Dadgar committed
3 4
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
5 6 7 8 9 10
  * **New command: `packer push`**: Push template and files to HashiCorp's
      Atlas for building your templates automatically.
  * **New post-processor: `atlas`**: Send artifact to HashiCorp's Atlas for
      versioning and storing artifacts. These artifacts can then be queried
      using the API, Terraform, etc.

Armon Dadgar's avatar
Armon Dadgar committed
11 12
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
13 14 15 16 17 18
  * builder/googlecompute: Support for ubuntu-os-cloud project
  * builder/googlecompute: Support for OAuth2 to avoid client secrets file
  * builder/googlecompute: GCE image from persistant disk instead of tarball
  * builder/qemu: Checksum type "none" can be used
  * provisioner/chef: Generate a node name if none available
  * provisioner/chef: Added ssl_verify_mode configuration
Armon Dadgar's avatar
Armon Dadgar committed
19 20

BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
21

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  * builder/parallels: Fixed attachment of ISO to cdrom device
  * builder/parallels: Fixed boot load ordering
  * builder/digitalocean: Fixed decoding of size
  * builder/digitalocean: Fixed missing content-type header in request
  * builder/digitalocean: Fixed use of private IP
  * builder/digitalocean: Fixed the artifact ID generation
  * builder/vsphere: Fixed credential escaping
  * builder/qemu: Fixed use of CDROM with disk_image
  * builder/aws: Fixed IP address for SSH in VPC
  * builder/aws: Fixed issue with multiple block devices
  * builder/vmware: Upload VMX to ESX5 after editing
  * communicator/docker: Fix handling of symlinks during upload
  * provisioner/chef: Fixed use of sudo in some cases
  * core: Fixed build name interpolation
  * postprocessor/vagrant: Fixed check for Vagrantfile template
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
37

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
38
## 0.7.2 (October 28, 2014)
Jason A. Beranek's avatar
Jason A. Beranek committed
39

Rickard von Essen's avatar
Rickard von Essen committed
40 41
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
42
  * builder/digitalocean: API V2 support. [GH-1463]
Rickard von Essen's avatar
Rickard von Essen committed
43 44
  * builder/parallels: Don't depend on _prl-utils_ [GH-1499]

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
45 46 47
IMPROVEMENTS:

  * builder/amazon/all: Support new AWS Frankfurt region.
48 49
  * builder/docker: Allow remote `DOCKER_HOST`, which works as long as
      volumes work. [GH-1594]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
50
  * builder/qemu: Can set cache mode for main disk. [GH-1558]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
51
  * builder/qemu: Can build from pre-existing disk. [GH-1342]
52 53
  * builder/vmware: Can specify path to Fusion installation with environmental
      variable `FUSION_APP_PATH`. [GH-1552]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
54
  * builder/vmware: Can specify the HW version for the VMX. [GH-1530]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
55
  * builder/vmware/esxi: Will now cache ISOs/floppies remotely. [GH-1479]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
56
  * builder/vmware/vmx: Source VMX can have a disk connected via SATA. [GH-1604]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
57
  * post-processors/vagrant: Support Qemu (libvirt) boxes. [GH-1330]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
58
  * post-processors/vagrantcloud: Support self-hosted box URLs.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
59

Jason A. Beranek's avatar
Jason A. Beranek committed
60 61
BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
62
  * core: Fix loading plugins from pwd. [GH-1521]
63
  * builder/amazon: Prefer token in config if given. [GH-1544]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
64
  * builder/amazon/all: Extended timeout for waiting for AMI. [GH-1533]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
65
  * builder/virtualbox: Can read VirtualBox version on FreeBSD. [GH-1570]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
66
  * builder/virtualbox: More robust reading of guest additions URL. [GH-1509]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
67 68 69
  * builder/vmware: Always remove floppies/drives. [GH-1504]
  * builder/vmware: Wait some time so that post-VMX update aren't
      overwritten. [GH-1504]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
70
  * builder/vmware/esxi: Retry power on if it fails. [GH-1334]
Jason A. Beranek's avatar
Jason A. Beranek committed
71
  * builder/vmware-vmx: Fix issue with order of boot command support [GH-1492]
72
  * builder/amazon: Extend timeout and allow user override [GH-1533]
Rickard von Essen's avatar
Rickard von Essen committed
73 74 75
  * builder/parallels: Ignore 'The fdd0 device does not exist' [GH-1501]
  * builder/parallels: Rely on Cleanup functions to detach devices [GH-1502]
  * builder/parallels: Create VM without hdd and then add it later [GH-1548]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
76
  * builder/parallels: Disconnect cdrom0 [GH-1605]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
77 78 79
  * builder/qemu: Don't use `-redir` flag anymore, replace with
      `hostfwd` options. [GH-1561]
  * builder/qmeu: Use `pc` as default machine type instead of `pc-1.0`.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
80
  * providers/aws: Ignore transient network errors. [GH-1579]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
81
  * provisioner/ansible: Don't buffer output so output streams in. [GH-1585]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
82 83
  * provisioner/ansible: Use inventory file always to avoid potentially
      deprecated feature. [GH-1562]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
84
  * provisioner/shell: Quote environmental variables. [GH-1568]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
85
  * provisioner/salt: Bootstrap over SSL. [GH-1608]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
86
  * post-processors/docker-push: Work with docker-tag artifacts. [GH-1526]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
87
  * post-processors/vsphere: Append "/" to object address. [GH-1615]
Jason A. Beranek's avatar
Jason A. Beranek committed
88

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
89
## 0.7.1 (September 10, 2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
90

Ross Smith II's avatar
Ross Smith II committed
91 92 93 94 95
FEATURES:

  * builder/vmware: VMware Fusion Pro 7 is now supported. [GH-1478]

BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
96

97
  * core: SSH will connect slightly faster if it is ready immediately.
98
  * provisioner/file: directory uploads no longer hang. [GH-1484]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
99
  * provisioner/file: fixed crash on large files. [GH-1473]
100
  * scripts: Windows executable renamed to packer.exe. [GH-1483]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
101

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
102
## 0.7.0 (September 8, 2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
103

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
104 105 106 107 108 109
BACKWARDS INCOMPATIBILITIES:

  * The authentication configuration for Google Compute Engine has changed.
      The new method is much simpler, but is not backwards compatible.
      `packer fix` will _not_ fix this. Please read the updated GCE docs.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
110 111
FEATURES:

112
  * **New Post-Processor: `compress`** - Gzip compresses artifacts with files.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
113 114 115
  * **New Post-Processor: `docker-save`** - Save an image. This is similar to
      export, but preserves the image hierarchy.
  * **New Post-Processor: `docker-tag`** - Tag a created image.
116 117
  * **New Template Functions: `upper`, `lower`** - See documentation for
      more details.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
118 119 120
  * core: Plugins are automatically discovered if they're named properly.
      Packer will look in the PWD and the directory with `packer` for
      binaries named `packer-TYPE-NAME`.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
121 122
  * core: Plugins placed in `~/.packer.d/plugins` are now automatically
      discovered.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
123 124
  * builder/amazon: Spot instances can now be used to build EBS backed and
      instance store images. [GH-1139]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
125
  * builder/docker: Images can now be committed instead of exported. [GH-1198]
126 127 128
  * builder/virtualbox-ovf: New `import_flags` setting can be used to add
      new command line flags to `VBoxManage import` to allow things such
      as EULAs to be accepted. [GH-1383]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
129 130
  * builder/virtualbox-ovf: Boot commands and the HTTP server are supported.
      [GH-1169]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
131
  * builder/vmware: VMware Player 6 is now supported. [GH-1168]
132 133
  * builder/vmware-vmx: Boot commands and the HTTP server are supported.
      [GH-1169]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
134

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
135 136
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
137
  * core: `isotime` function can take a format. [GH-1126]
138 139
  * builder/amazon/all: `AWS_SECURITY_TOKEN` is read and can also be
      set with the `token` configuration. [GH-1236]
140 141
  * builder/amazon/all: Can force SSH on the private IP address with
      `ssh_private_ip`. [GH-1229]
142
  * builder/amazon/all: String fields in device mappings can use variables. [GH-1090]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
143
  * builder/amazon-instance: EBS AMIs can be used as a source. [GH-1453]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
144
  * builder/digitalocean: Can set API URL endpoint. [GH-1448]
145
  * builder/digitalocean: Region supports variables. [GH-1452]
146 147
  * builder/docker: Can now specify login credentials to pull images.
  * builder/docker: Support mounting additional volumes. [GH-1430]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
148 149 150
  * builder/parallels/all: Path to tools ISO is calculated automatically. [GH-1455]
  * builder/parallels-pvm: `reassign_mac` option to choose wehther or not
      to generate a new MAC address. [GH-1461]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
151
  * builder/qemu: Can specify "none" acceleration type. [GH-1395]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
152
  * builder/qemu: Can specify "tcg" acceleration type. [GH-1395]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
153
  * builder/virtualbox/all: `iso_interface` option to mount ISO with SATA. [GH-1200]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
154
  * builder/vmware-vmx: Proper `floppy_files` support. [GH-1057]
155 156
  * command/build: Add `-color=false` flag to disable color. [GH-1433]
  * post-processor/docker-push: Can now specify login credentials. [GH-1243]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
157
  * provisioner/chef-client: Support `chef_environment`. [GH-1190]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
158

Ross Smith II's avatar
Ross Smith II committed
159
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
160

161 162
  * core: nicer error message if an encrypted private key is used for
      SSH. [GH-1445]
163 164
  * core: Fix crash that could happen with a well timed double Ctrl-C.
      [GH-1328] [GH-1314]
165
  * core: SSH TCP keepalive period is now 5 seconds (shorter). [GH-1232]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
166
  * builder/amazon-chroot: Can properly build HVM images now. [GH-1360]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
167
  * builder/amazon-chroot: Fix crash in root device check. [GH-1360]
168 169
  * builder/amazon-chroot: Add description that Packer made the snapshot
      with a time. [GH-1388]
170
  * builder/amazon-ebs: AMI is deregistered if an error. [GH-1186]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
171 172
  * builder/amazon-instance: Fix deprecation warning for `ec2-bundle-vol`
      [GH-1424]
173 174 175
  * builder/amazon-instance: Add `--no-filter` to the `ec2-bundle-vol`
      command by default to avoid corrupting data by removing package
      manager certs. [GH-1137]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
176
  * builder/amazon/all: `delete_on_termination` set to false will work.
177
  * builder/amazon/all: Fix race condition on setting tags. [GH-1367]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
178 179
  * builder/amazon/all: More desctriptive error messages if Amazon only
      sends an error code. [GH-1189]
180
  * builder/docker: Error if `DOCKER_HOST` is set.
181
  * builder/docker: Remove the container during cleanup. [GH-1206]
182 183
  * builder/docker: Fix case where not all output would show up from
      provisioners.
Ross Smith II's avatar
Ross Smith II committed
184
  * builder/googlecompute: add `disk_size` option. [GH-1397]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
185 186
  * builder/googlecompute: Auth works with latest formats on Google Cloud
      Console. [GH-1344]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
187
  * builder/openstack: Region is not required. [GH-1418]
Ross Smith II's avatar
Ross Smith II committed
188
  * builder/parallels-iso: ISO not removed from VM after install [GH-1338]
Ross Smith II's avatar
Ross Smith II committed
189 190
  * builder/parallels/all: Add support for Parallels Desktop 10 [GH-1438]
  * builder/parallels/all: Added some navigation keys [GH-1442]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
191
  * builder/qemu: If headless, sdl display won't be used. [GH-1395]
192
  * builder/qemu: Use `512M` as `-m` default. [GH-1444]
193 194
  * builder/virtualbox/all: Search `VBOX_MSI_INSTALL_PATH` for path to
      `VBoxManage` on Windows. [GH-1337]
195
  * builder/virtualbox/all: Seed RNG to avoid same ports. [GH-1386]
196 197
  * builder/virtualbox/all: Better error if guest additions URL couldn't be
      detected. [GH-1439]
198 199
  * builder/virtualbox/all: Detect errors even when `VBoxManage` exits
      with a zero exit code. [GH-1119]
200 201
  * builder/virtualbox/iso: Append timestamp to default name for parallel
      builds. [GH-1365]
202 203
  * builder/vmware/all: No more error when Packer stops an already-stopped
      VM. [GH-1300]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
204
  * builder/vmware/all: `ssh_host` accepts templates. [GH-1396]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
205
  * builder/vmware/all: Don't remount floppy in VMX post step. [GH-1239]
Ross Smith II's avatar
Ross Smith II committed
206
  * builder/vmware/vmx: Do not re-add floppy disk files to VMX [GH-1361]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
207 208 209
  * builder/vmware-iso: Fix crash when `vnc_port_min` and max were the
      same value. [GH-1288]
  * builder/vmware-iso: Finding an available VNC port on Windows works. [GH-1372]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
210 211
  * builder/vmware-vmx: Nice error if Clone is not supported (not VMware
      Fusion Pro). [GH-787]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
212
  * post-processor/vagrant: Can supply your own metadata.json. [GH-1143]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
213
  * provisioner/ansible-local: Use proper path on Windows. [GH-1375]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
214
  * provisioner/file: Mode will now be preserved. [GH-1064]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
215

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
216
## 0.6.1 (July 20, 2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
217

Ross Smith II's avatar
Ross Smith II committed
218 219 220 221
FEATURES:

  * **New post processor:** `vagrant-cloud` - Push box files generated by
    vagrant post processor to Vagrant Cloud. [GH-1289]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
222
  * Vagrant post-processor can now packer Hyper-V boxes.
Ross Smith II's avatar
Ross Smith II committed
223

Ross Smith II's avatar
Ross Smith II committed
224 225
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
226
  * builder/amazon: Support for enhanced networking on HVM images. [GH-1228]
Ross Smith II's avatar
Ross Smith II committed
227
  * builder/amazon-ebs: Support encrypted EBS volumes [GH-1194]
Ross Smith II's avatar
Ross Smith II committed
228
  * builder/ansible: Add `playbook_dir` option. [GH-1000]
Ross Smith II's avatar
Ross Smith II committed
229
  * builder/openstack: Add ability to configure networks. [GH-1261]
Ross Smith II's avatar
Ross Smith II committed
230
  * builder/openstack: Skip certificate verification. [GH-1121]
Rickard von Essen's avatar
Rickard von Essen committed
231 232
  * builder/parallels/all: Add ability to select interface to connect to.
  * builder/parallels/pvm: Support `boot_command`. [GH-1082]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
233 234
  * builder/virtualbox/all: Attempt to use local guest additions ISO
      before downloading from internet. [GH-1123]
Rickard von Essen's avatar
Rickard von Essen committed
235
  * builder/virtualbox/ovf: Supports `guest_additions_mode` [GH-1035]
Ross Smith II's avatar
Ross Smith II committed
236
  * builder/vmware/all: Increase cleanup timeout to 120 seconds [GH-1167]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
237 238
  * builder/vmware/all: Add `vmx_data_post` for modifying VMX data
      after shutdown. [GH-1149]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
239
  * builder/vmware/vmx: Supports tools uploading. [GH-1154]
Ross Smith II's avatar
Ross Smith II committed
240

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
241 242
BUG FIXES:

243
  * core: `isotime` is the same time during the entire build. [GH-1153]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
244 245
  * builder/amazon-common: Sort AMI strings before outputting [GH-1305]
  * builder/amazon: User data can use templates/variables. [GH-1343]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
246
  * builder/amazon: Can now build AMIs in GovCloud.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
247
  * builder/null: SSH info can use templates/variables. [GH-1343]
Ross Smith II's avatar
Ross Smith II committed
248
  * builder/openstack: Workaround for gophercloud.ServerById crashing [GH-1257]
Ross Smith II's avatar
Ross Smith II committed
249
  * builder/openstack: Force IPv4 addresses from address pools [GH-1258]
Ross Smith II's avatar
Ross Smith II committed
250
  * builder/parallels: Do not delete entire CDROM device. [GH-1115]
Rickard von Essen's avatar
Rickard von Essen committed
251 252
  * builder/parallels: Errors while creating floppy disk. [GH-1225]
  * builder/parallels: Errors while removing floppy drive. [GH-1226]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
253
  * builder/virtualbox-ovf: Supports guest additions options. [GH-1120]
Ross Smith II's avatar
Ross Smith II committed
254
  * builder/vmware-iso: Fix esx5 path separator in windows. [GH-1316]
Ross Smith II's avatar
Ross Smith II committed
255
  * builder/vmware: Remote ESXi builder now uploads floppy. [GH-1106]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
256 257
  * builder/vmware: Remote ESXi builder no longer re-uploads ISO every
      time. [GH-1244]
Ross Smith II's avatar
Ross Smith II committed
258
  * post-processor/vsphere: Accept DOMAIN\account usernames [GH-1178]
Ross Smith II's avatar
Ross Smith II committed
259
  * provisioner/chef-*: Fix remotePaths for Windows [GH-394]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
260

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
261
## 0.6.0 (May 2, 2014)
262

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
263 264
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
265 266
  * **New builder:** `null` - The null builder does not produce any
    artifacts, but is useful for debugging provisioning scripts. [GH-970]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
267 268
  * **New builder:** `parallels-iso` and `parallels-pvm` - These can be
    used to build Parallels virtual machines. [GH-1101]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
269 270 271 272
  * **New provisioner:** `chef-client` - Provision using a the `chef-client`
    command, which talks to a Chef Server. [GH-855]
  * **New provisioner:** `puppet-server` - Provision using Puppet by
    communicating to a Puppet master. [GH-796]
273 274
  * `min_packer_version` can be specified in a Packer template to force
    a minimum version. [GH-487]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
275

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
276 277
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
278
  * core: RPC transport between plugins switched to MessagePack
279 280 281
  * core: Templates array values can now be comma separated strings.
      Most importantly, this allows for user variables to fill
      array configurations. [GH-950]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
282 283
  * builder/amazon: Added `ssh_private_key_file` option [GH-971]
  * builder/amazon: Added `ami_virtualization_type` option [GH-1021]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
284 285
  * builder/digitalocean: Regions, image names, and sizes can be
      names that are looked up for their valid ID. [GH-960]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
286
  * builder/googlecompute: Configurable instance name. [GH-1065]
287 288
  * builder/openstack: Support for conventional OpenStack environmental
      variables such as `OS_USERNAME`, `OS_PASSWORD`, etc. [GH-768]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
289 290
  * builder/openstack: Support `openstack_provider` option to automatically
      fill defaults for different OpenStack variants. [GH-912]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
291
  * builder/openstack: Support security groups. [GH-848]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
292
  * builder/qemu: User variable expansion in `ssh_key_path` [GH-918]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
293 294
  * builder/qemu: Floppy disk files list can also include globs
      and directories. [GH-1086]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
295 296
  * builder/virtualbox: Support an `export_opts` option which allows
      specifying arbitrary arguments when exporting the VM. [GH-945]
Ross Smith II's avatar
Ross Smith II committed
297 298
  * builder/virtualbox: Added `vboxmanage_post` option to run vboxmanage
      commands just before exporting [GH-664]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
299 300
  * builder/virtualbox: Floppy disk files list can also include globs
      and directories. [GH-1086]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
301 302
  * builder/vmware: Workstation 10 support for Linux. [GH-900]
  * builder/vmware: add cloning support on Windows [GH-824]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
303 304
  * builder/vmware: Floppy disk files list can also include globs
      and directories. [GH-1086]
Ross Smith II's avatar
Ross Smith II committed
305
  * command/build: Added `-parallel` flag so you can disable parallelization
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
306
    with `-no-parallel`. [GH-924]
307 308
  * post-processors/vsphere: `disk_mode` option. [GH-778]
  * provisioner/ansible: Add `inventory_file` option [GH-1006]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
309
  * provisioner/chef-client: Add `validation_client_name` option. [GH-1056]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
310

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
311
BUG FIXES:
312

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
313
  * core: Errors are properly shown when adding bad floppy files. [GH-1043]
314
  * core: Fix some URL parsing issues on Windows.
315
  * core: Create Cache directory only when it is needed. [GH-367]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
316 317 318 319 320 321 322 323 324 325 326 327
  * builder/amazon-instance: Use S3Endpoint for ec2-upload-bundle arg,
      which works for every region. [GH-904]
  * builder/digitalocean: updated default image_id [GH-1032]
  * builder/googlecompute: Create persistent disk as boot disk via
      API v1 [GH-1001]
  * builder/openstack: Return proper error on invalid instance states [GH-1018]
  * builder/virtualbox-iso: Retry unregister a few times to deal with
      VBoxManage randomness. [GH-915]
  * provisioner/ansible: Fix paths when provisioning Linux from
      Windows [GH-963]
  * provisioner/ansible: set cwd to staging directory [GH-1016]
  * provisioners/chef-client: Don't chown directory with Ubuntu. [GH-939]
328
  * provisioners/chef-solo: Deeply nested JSON works properly. [GH-1076]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
329
  * provisioners/shell: Env var values can have equal signs. [GH-1045]
330
  * provisioners/shell: chmod the uploaded script file to 0777. [GH-994]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
331
  * post-processor/docker-push: Allow repositories with ports. [GH-923]
Ross Smith II's avatar
Ross Smith II committed
332
  * post-processor/vagrant: Create parent directories for `output` path [GH-1059]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
333 334
  * post-processor/vsphere: datastore, network, and folder are no longer
      required. [GH-1091]
335

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
336
## 0.5.2 (02/21/2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
337

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
338 339 340 341 342 343 344
FEATURES:

* **New post-processor:** `docker-import` - Import a Docker image
  and give it a specific repository/tag.
* **New post-processor:** `docker-push` - Push an imported image to
  a registry.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
345 346 347
IMPROVEMENTS:

* core: Most downloads made by Packer now use a custom user agent. [GH-803]
348 349
* builder/googlecompute: SSH private key will be saved to disk if `-debug`
  is specified. [GH-867]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
350
* builder/qemu: Can specify the name of the qemu binary. [GH-854]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
351 352
* builder/virtualbox-ovf: Can specify import options such as "keepallmacs".
  [GH-883]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
353

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
354
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
355

356
* core: Fix crash case if blank parameters are given to Packer. [GH-832]
357
* core: Fix crash if big file uploads are done. [GH-897]
358 359
* core: Fix crash if machine-readable output is going to a closed
  pipe. [GH-875]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
360 361
* builder/docker: user variables work properly. [GH-777]
* builder/qemu: reboots are now possible in provisioners. [GH-864]
362 363
* builder/virtualbox,vmware: iso\_checksum is not required if the
  checksum type is "none"
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
364 365
* builder/virtualbox,vmware/qemu: Support for additional scancodes for
  `boot_command` such as `<up>`, `<left>`, `<insert>`, etc. [GH-808]
366
* communicator/ssh: Send TCP keep-alives on connections. [GH-872]
367 368
* post-processor/vagrant: AWS/DigitalOcean keep input artifacts by
  default. [GH-55]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
369
* provisioners/ansible-local: Properly upload custom playbooks. [GH-829]
370 371
* provisioners/ansible-local: Better error if ansible isn't installed.
  [GH-836]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
372

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
373
## 0.5.1 (01/02/2014)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
374

375
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
376

377
* core: If a stream ID loops around, don't let it use stream ID 0 [GH-767]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
378 379
* core: Fix issue where large writes to plugins would result in stream
  corruption. [GH-727]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
380
* builders/virtualbox-ovf: `shutdown_timeout` config works. [GH-772]
381
* builders/vmware-iso: Remote driver works properly again. [GH-773]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
382

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
383
## 0.5.0 (12/30/2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
384

385 386
BACKWARDS INCOMPATIBILITIES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
387 388
* "virtualbox" builder has been renamed to "virtualbox-iso". Running your
   template through `packer fix` will resolve this.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
389 390
* "vmware" builder has been renamed to "vmware-iso". Running your template
  through `packer fix` will resolve this.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
391 392 393
* post-processor/vagrant: Syntax for overriding by provider has changed.
  See the documentation for more information. Running your template
  through `packer fix` should resolve this.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
394 395 396
* post-processor/vsphere: Some available configuration options were
  changed. Running your template through `packer fix` should resolve
  this.
397 398 399 400 401
* provisioner/puppet-masterless: The `execute_command` no longer has
  the `Has*` variables, since the templating language now supports
  comparison operations. See the Go documentation for more info:
  http://golang.org/pkg/text/template/

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
402 403
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
404 405 406
* **New builder:** Google Compute Engine. You can now build images for
  use in Google Compute Engine. See the documentation for more information.
  [GH-715]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
407 408
* **New builder:** "virtualbox-ovf" can build VirtualBox images from
  an existing OVF or OVA. [GH-201]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
409 410
* **New builder:** "vmware-vmx" can build VMware images from an existing
  VMX. [GH-201]
411 412 413
* Environmental variables can now be accessed as default values for
  user variables using the "env" function. See the documentation for more
  information.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
414 415
* "description" field in templates: write a human-readable description
  of what a template does. This will be shown in `packer inspect`.
416 417
* Vagrant post-processor now accepts a list of files to include in the
  box.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
418 419 420
* All provisioners can now have a "pause\_before" parameter to wait
  some period of time before running that provisioner. This is useful
  for reboots. [GH-737]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
421

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
422
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
423

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
424 425 426
* core: Plugins communicate over a single TCP connection per plugin now,
  instead of sometimes dozens. Performance around plugin communication
  dramatically increased.
427 428
* core: Build names are now template processed so you can use things
  like user variables in them. [GH-744]
429 430
* core: New "pwd" function available globally that returns the working
  directory. [GH-762]
431 432
* builder/amazon/all: Launched EC2 instances now have a name of
  "Packer Builder" so that they are easily recognizable. [GH-642]
433 434
* builder/amazon/all: Copying AMIs to multiple regions now happens
  in parallel. [GH-495]
435 436
* builder/amazon/all: Ability to specify "run\_tags" to tag the instance
  while running. [GH-722]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
437
* builder/digitalocean: Private networking support. [GH-698]
438 439
* builder/docker: A "run\_command" can be specified, configuring how
  the container is started. [GH-648]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
440 441
* builder/openstack: In debug mode, the generated SSH keypair is saved
  so you can SSH into the machine. [GH-746]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
442 443 444 445
* builder/qemu: Floppy files are supported. [GH-686]
* builder/qemu: Next `run_once` option tells Qemu to run only once,
  which is useful for Windows installs that handle reboots for you.
  [GH-687]
446 447
* builder/virtualbox: Nice errors if Packer can't write to
  the output directory.
448
* builder/virtualbox: ISO is ejected prior to export.
449
* builder/virtualbox: Checksum type can be "none" [GH-471]
450
* builder/vmware: Can now specify path to the Fusion application. [GH-677]
451
* builder/vmware: Checksum type can be "none" [GH-471]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
452 453
* provisioner/puppet-masterless: Can now specify a `manifest_dir` to
  upload manifests to the remote machine for imports. [GH-655]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
454

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
455 456
BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
457
* core: No colored output in machine-readable output. [GH-684]
458
* core: User variables can now be used for non-string fields. [GH-598]
459 460
* core: Fix bad download paths if the download URL contained a "."
  before a "/" [GH-716]
461 462
* core: "{{timestamp}}" values will always be the same for the entire
  duration of a build. [GH-744]
463 464
* builder/amazon: Handle cases where security group isn't instantly
  available. [GH-494]
465
* builder/virtualbox: don't download guest additions if disabled. [GH-731]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
466 467
* post-processor/vsphere: Uploads VM properly. [GH-694]
* post-processor/vsphere: Process user variables.
468 469
* provisioner/ansible-local: all configurations are processed as templates
  [GH-749]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
470 471
* provisioner/ansible-local: playbook paths are properly validated
  as directories, not files. [GH-710]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
472
* provisioner/chef-solo: Environments are recognized. [GH-726]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
473

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
474
## 0.4.1 (December 7, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
475

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
476 477
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
478 479
* builder/amazon/ebs: New option allows associating a public IP with
  non-default VPC instances. [GH-660]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
480 481 482
* builder/openstack: A "proxy\_url" setting was added to define an HTTP
  proxy to use when building with this builder. [GH-637]

483
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
484

485 486
* core: Don't change background color on CLI anymore, making things look
  a tad nicer in some terminals.
487
* core: multiple ISO URLs works properly in all builders. [GH-683]
488 489
* builder/amazon/chroot: Block when obtaining file lock to allow
  parallel builds. [GH-689]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
490 491
* builder/amazon/instance: Add location flag to upload bundle command
  so that building AMIs works out of us-east-1 [GH-679]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
492
* builder/qemu: Qemu arguments are templated. [GH-688]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
493 494
* builder/vmware: Cleanup of VMX keys works properly so cd-rom won't
  get stuck with ISO. [GH-685]
495 496
* builder/vmware: File cleanup is more resilient to file delete races
  with the operating system. [GH-675]
497 498
* provisioner/puppet-masterless: Check for hiera config path existence
  properly. [GH-656]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
499

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
500
## 0.4.0 (November 19, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
501 502 503

FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
504 505
* Docker builder: build and export Docker containers, easily provisioned
  with any of the Packer built-in provisioners.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
506 507 508
* QEMU builder: builds a new VM compatible with KVM or Xen using QEMU.
* Remote ESXi builder: builds a VMware VM using ESXi remotely using only
  SSH to an ESXi machine directly.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
509
* vSphere post-processor: Can upload VMware artifacts to vSphere
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
510 511
* Vagrant post-processor can now make DigitalOcean provider boxes. [GH-504]

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
512 513 514 515
IMPROVEMENTS:

* builder/amazon/all: Can now specify a list of multiple security group
  IDs to apply. [GH-499]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
516 517
* builder/amazon/all: AWS API requests are now retried when a temporary
  network error occurs as well as 500 errors. [GH-559]
518 519
* builder/virtualbox: Use VBOX\_INSTALL\_PATH env var on Windows to find
  VBoxManage. [GH-628]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
520 521
* post-processor/vagrant: skips gzip compression when compression_level=0
* provisioner/chef-solo: Encrypted data bag support [GH-625]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
522

523 524
BUG FIXES:

525
* builder/amazon/chroot: Copying empty directories works. [GH-588]
526
* builder/amazon/chroot: Chroot commands work with shell provisioners. [GH-581]
527 528
* builder/amazon/chroot: Don't choose a mount point that is a partition of
  an already mounted device. [GH-635]
529
* builder/virtualbox: Ctrl-C interrupts during waiting for boot. [GH-618]
530
* builder/vmware: VMX modifications are now case-insensitive. [GH-608]
531
* builder/vmware: VMware Fusion won't ask for VM upgrade.
532
* builder/vmware: Ctrl-C interrupts during waiting for boot. [GH-618]
533
* provisioner/chef-solo: Output is slightly prettier and more informative.
534

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
535
## 0.3.11 (November 4, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
536

537
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
538

539 540
* builder/amazon/ebs: Ability to specify which availability zone to create
  instance in. [GH-536]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
541

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
542 543
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
544 545
* core: builders can now give warnings during validation. warnings won't
  fail the build but may hint at potential future problems.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
546
* builder/digitalocean: Can now specify a droplet name
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
547 548
* builder/virtualbox: Can now disable guest addition download entirely
  by setting "guest_additions_mode" to "disable" [GH-580]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
549 550 551
* builder/virtualbox,vmware: ISO urls can now be https [GH-587]
* builder/virtualbox,vmware: Warning if shutdown command is not specified,
  since it is a common case of data loss.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
552

Matthew Hooker's avatar
Matthew Hooker committed
553 554
BUG FIXES:

555
* core: Won't panic when writing to a bad pipe. [GH-560]
556 557 558
* builder/amazon/all: Properly scrub access key and secret key from logs.
  [GH-554]
* builder/openstack: Properly scrub password from logs [GH-554]
559
* builder/virtualbox: No panic if SSH host port min/max is the same. [GH-594]
560
* builder/vmware: checks if `ifconfig` is in `/sbin` [GH-591]
561
* builder/vmware: Host IP lookup works for non-C locales. [GH-592]
Matthew Hooker's avatar
Matthew Hooker committed
562 563
* common/uuid: Use cryptographically secure PRNG when generating
  UUIDs. [GH-552]
564 565
* communicator/ssh: File uploads that exceed the size of memory no longer
  cause crashes. [GH-561]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
566

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
567
## 0.3.10 (October 20, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
568

569 570 571 572
FEATURES:

* Ansible provisioner

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
573 574 575
IMPROVEMENTS:

* post-processor/vagrant: support instance-store AMIs built by Packer. [GH-502]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
576 577
* post-processor/vagrant: can now specify compression level to use
  when creating the box. [GH-506]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
578

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
579
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
580

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
581
* builder/all: timeout waiting for SSH connection is a failure. [GH-491]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
582
* builder/amazon: Scrub sensitive data from the logs. [GH-521]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
583 584
* builder/amazon: Handle the situation where an EC2 instance might not
  be immediately available. [GH-522]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
585 586
* builder/amazon/chroot: Files copied into the chroot remove destination
  before copy, fixing issues with dangling symlinks. [GH-500]
587 588
* builder/digitalocean: don't panic if erroneous API response doesn't
  contain error message. [GH-492]
Jack Pearkes's avatar
Jack Pearkes committed
589
* builder/digitalocean: scrub API keys from config debug output [GH-516]
590
* builder/virtualbox: error if VirtualBox version cant be detected. [GH-488]
591
* builder/virtualbox: detect if vboxdrv isn't properly setup. [GH-488]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
592 593
* builder/virtualbox: sleep a bit before export to ensure the sesssion
  is unlocked. [GH-512]
594
* builder/virtualbox: create SATA drives properly on VirtualBox 4.3 [GH-547]
595 596
* builder/virtualbox: support user templates in SSH key path. [GH-539]
* builder/vmware: support user templates in SSH key path. [GH-539]
597 598
* communicator/ssh: Fix issue where a panic could arise from a nil
  dereference. [GH-525]
599
* post-processor/vagrant: Fix issue with VirtualBox OVA. [GH-548]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
600
* provisioner/salt: Move salt states to correct remote directory. [GH-513]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
601 602
* provisioner/shell: Won't block on certain scripts on Windows anymore.
  [GH-507]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
603

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
604
## 0.3.9 (October 2, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
605

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
606 607 608 609
FEATURES:

* The Amazon chroot builder is now able to run without any `sudo` privileges
  by using the "command_wrapper" configuration. [GH-430]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
610
* Chef provisioner supports environments. [GH-483]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
611

612
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
613

614
* core: default user variable values don't need to be strings. [GH-456]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
615
* builder/amazon-chroot: Fix errors with waitin for state change. [GH-459]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
616
* builder/digitalocean: Use proper error message JSON key (DO API change).
617 618
* communicator/ssh: SCP uploads now work properly when directories
  contain symlinks. [GH-449]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
619 620
* provisioner/chef-solo: Data bags and roles path are now properly
  populated when set. [GH-470]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
621 622
* provisioner/shell: Windows line endings are actually properly changed
  to Unix line endings. [GH-477]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
623

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
624
## 0.3.8 (September 22, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
625

626 627
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
628 629 630
* core: You can now specify `only` and `except` configurations on any
  provisioner or post-processor to specify a list of builds that they
  are valid for. [GH-438]
631 632
* builders/virtualbox: Guest additions can be attached rather than uploaded,
  easier to handle for Windows guests. [GH-405]
633 634
* provisioner/chef-solo: Ability to specify a custom Chef configuration
  template.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
635
* provisioner/chef-solo: Roles and data bags support. [GH-348]
636

637 638
IMPROVEMENTS:

639 640
* core: User variables can now be used for integer, boolean, etc.
  values. [GH-418]
641
* core: Plugins made with incompatible versions will no longer load.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
642
* builder/amazon/all: Interrupts work while waiting for AMI to be ready.
643 644 645
* provisioner/shell: Script line-endings are automatically converted to
  Unix-style line-endings. Can be disabled by setting "binary" to "true".
  [GH-277]
646

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
647
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
648

649 650
* core: Set TCP KeepAlives on internally created RPC connections so that
  they don't die. [GH-416]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
651 652
* builder/amazon/all: While waiting for AMI, will detect "failed" state.
* builder/amazon/all: Waiting for state will detect if the resource (AMI,
653
  instance, etc.) disappears from under it.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
654 655
* builder/amazon/instance: Exclude only contents of /tmp, not /tmp
  itself. [GH-437]
656 657
* builder/amazon/instance: Make AccessKey/SecretKey available to bundle
  command even when they come from the environment. [GH-434]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
658
* builder/virtualbox: F1-F12 and delete scancodes now work. [GH-425]
659
* post-processor/vagrant: Override configurations properly work. [GH-426]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
660 661
* provisioner/puppet-masterless: Fix failure case when both facter vars
  are used and prevent_sudo. [GH-415]
662 663
* provisioner/puppet-masterless: User variables now work properly in
  manifest file and hiera path. [GH-448]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
664

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
665
## 0.3.7 (September 9, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
666

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
667 668 669 670 671 672
BACKWARDS INCOMPATIBILITIES:

* The "event_delay" option for the DigitalOcean builder is now gone.
  The builder automatically waits for events to go away. Run your templates
  through `packer fix` to get rid of these.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
673 674
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
675 676
* **NEW PROVISIONER:** `puppet-masterless`. You can now provision with
  a masterless Puppet setup. [GH-234]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
677 678
* New globally available template function: `uuid`. Generates a new random
  UUID.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
679 680
* New globally available template function: `isotime`. Generates the
  current time in ISO standard format.
681 682
* New Amazon template function: `clean_ami_name`. Substitutes '-' for
  characters that are illegal to use in an AMI name.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
683

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
684 685
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
686 687
* builder/amazon/all: Ability to specify the format of the temporary
  keypair created. [GH-389]
688
* builder/amazon/all: Support the NoDevice flag for block mappings. [GH-396]
689
* builder/digitalocean: Retry on any pending event errors.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
690
* builder/openstack: Can now specify a project. [GH-382]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
691
* builder/virtualbox: Can now attach hard drive over SATA. [GH-391]
692
* provisioner/file: Can now upload directories. [GH-251]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
693

694
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
695

696
* core: Detect if SCP is not enabled on the other side. [GH-386]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
697 698
* builder/amazon/all: When copying AMI to multiple regions, copy
  the metadata (tags and attributes) as well. [GH-388]
699 700
* builder/amazon/all: Fix panic case where eventually consistent
  instance state caused an index out of bounds.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
701 702
* builder/virtualbox: The `vm_name` setting now properly sets the OVF
  name of the output. [GH-401]
703
* builder/vmware: Autoanswer VMware dialogs. [GH-393]
704
* command/inspect: Fix weird output for default values for optional vars.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
705

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
706
## 0.3.6 (September 2, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
707

708 709 710 711 712
FEATURES:

* User variables can now be specified as "required", meaning the user
  MUST specify a value. Just set the default value to "null". [GH-374]

713 714
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
715 716
* core: Much improved interrupt handling. For example, interrupts now
  cancel much more quickly within provisioners.
717 718
* builder/amazon: In `-debug` mode, the keypair used will be saved to
  the current directory so you can access the machine. [GH-373]
719
* builder/amazon: In `-debug` mode, the DNS is outputted.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
720
* builder/openstack: IPv6 addresses supported for SSH. [GH-379]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
721
* communicator/ssh: Support for private keys encrypted using PKCS8. [GH-376]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
722 723
* provisioner/chef-solo: You can now use user variables in the `json`
  configuration for Chef. [GH-362]
724

725
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
726

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
727 728
* core: Concurrent map access is completely gone, fixing rare issues
  with runtime memory corruption. [GH-307]
729
* core: Fix possible panic when ctrl-C during provisioner run.
730 731
* builder/digitalocean: Retry destroy a few times because DO sometimes
  gives false errors.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
732
* builder/openstack: Properly handle the case no image is made. [GH-375]
733
* builder/openstack: Specifying a region is now required in a template.
734
* provisioners/salt-masterless: Use filepath join to properly join paths.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
735

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
736
## 0.3.5 (August 28, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
737

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
738 739
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
740
* **NEW BUILDER:** `openstack`. You can now build on OpenStack. [GH-155]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
741 742
* **NEW PROVISIONER:** `chef-solo`. You can now provision with Chef
  using `chef-solo` from local cookbooks.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
743
* builder/amazon: Copy AMI to multiple regions with `ami_regions`. [GH-322]
744
* builder/virtualbox,vmware: Can now use SSH keys as an auth mechanism for
745
  SSH using `ssh_key_path`. [GH-70]
746
* builder/virtualbox,vmware: Support SHA512 as a checksum type. [GH-356]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
747 748
* builder/vmware: The root hard drive type can now be specified with
  "disk_type_id" for advanced users. [GH-328]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
749
* provisioner/salt-masterless: Ability to specfy a minion config. [GH-264]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
750
* provisioner/salt-masterless: Ability to upload pillars. [GH-353]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
751

752 753
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
754
* core: Output message when Ctrl-C received that we're cleaning up. [GH-338]
755
* builder/amazon: Tagging now works with all amazon builder types.
756 757
* builder/vmware: Option `ssh_skip_request_pty` for not requesting a PTY
  for the SSH connection. [GH-270]
758 759
* builder/vmware: Specify a `vmx_template_path` in order to customize
  the generated VMX. [GH-270]
760
* command/build: Machine-readable output now contains build errors, if any.
761 762
* command/build: An "end" sentinel is outputted in machine-readable output
  for artifact listing so it is easier to know when it is over.
763

764
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
765

766
* core: Fixed a couple cases where a double ctrl-C could panic.
767 768
* core: Template validation fails if an override is specified for a
  non-existent builder. [GH-336]
769 770
* core: The SSH connection is heartbeated so that drops can be
  detected. [GH-200]
771 772
* builder/amazon/instance: Remove check for ec2-ami-tools because it
  didn't allow absolute paths to work properly. [GH-330]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
773 774
* builder/digitalocean: Send a soft shutdown request so that files
  are properly synced before shutdown. [GH-332]
775 776
* command/build,command/validate: If a non-existent build is specified to
  '-only' or '-except', it is now an error. [GH-326]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
777 778
* post-processor/vagrant: Setting OutputPath with a timestamp now
  always works properly. [GH-324]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
779 780
* post-processor/vagrant: VirtualBox OVA formats now turn into
  Vagrant boxes properly. [GH-331]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
781 782
* provisioner/shell: Retry upload if start command fails, making reboot
  handling much more robust.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
783

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
784
## 0.3.4 (August 21, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
785

786
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
787

788 789
* post-processor/vagrant: the file being compressed will be shown
  in the UI [GH-314]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
790

791 792
BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
793
* core: Avoid panics when double-interrupting Packer.
794 795 796
* provisioner/shell: Retry shell script uploads, making reboots more
  robust if they happen to fail in this stage. [GH-282]

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
797
## 0.3.3 (August 19, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
798

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
799 800 801 802
FEATURES:

* builder/virtualbox: support exporting in OVA format. [GH-309]

803
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
804

805 806
* core: All HTTP downloads across Packer now support the standard
  proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
807 808 809 810
* builder/amazon: API requests will use HTTP proxy if specified by
  enviromental variables.
* builder/digitalocean: API requests will use HTTP proxy if specified
  by environmental variables.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
811

812 813
BUG FIXES:

814
* core: TCP connection between plugin processes will keep-alive. [GH-312]
815
* core: No more "unused key keep_input_artifact" for post processors [GH-310]
816 817
* post-processor/vagrant: `output_path` templates now work again.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
818
## 0.3.2 (August 18, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
819

820 821 822 823 824
FEATURES:

* New command: `packer inspect`. This command tells you the components of
  a template. It respects the `-machine-readable` flag as well so you can
  parse out components of a template.
825 826
* Packer will detect its own crashes (always a bug) and save a "crash.log"
  file.
827 828
* builder/virtualbox: You may now specify multiple URLs for an ISO
  using "iso_url" in a template. The URLs will be tried in order.
829 830
* builder/vmware: You may now specify multiple URLs for an ISO
  using "iso_url" in a template. The URLs will be tried in order.
831

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
832
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
833

834
* core: built with Go 1.1.2
835
* core: packer help output now loads much faster.
836 837
* builder/virtualbox: guest_additions_url can now use the `Version`
  variable to get the VirtualBox version. [GH-272]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
838 839 840 841
* builder/virtualbox: Do not check for VirtualBox as part of template
  validation; only check at execution.
* builder/vmware: Do not check for VMware as part of template validation;
  only check at execution.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
842
* command/build: A path of "-" will read the template from stdin.
843
* builder/amazon: add block device mappings [GH-90]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
844

845 846
BUG FIXES:

847 848
* windows: file URLs are easier to get right as Packer
  has better parsing and error handling for Windows file paths. [GH-284]
849 850
* builder/amazon/all: Modifying more than one AMI attribute type no longer
  crashes.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
851
* builder/amazon-instance: send IAM instance profile data. [GH-294]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
852 853
* builder/digitalocean: API request parameters are properly URL
  encoded. [GH-281]
854 855
* builder/virtualbox: dowload progress won't be shown until download
  actually starts. [GH-288]
856 857
* builder/virtualbox: floppy files names of 13 characters are now properly
  written to the FAT12 filesystem. [GH-285]
858 859
* builder/vmware: dowload progress won't be shown until download
  actually starts. [GH-288]
860
* builder/vmware: interrupt works while typing commands over VNC.
861 862
* builder/virtualbox: floppy files names of 13 characters are now properly
  written to the FAT12 filesystem. [GH-285]
863
* post-processor/vagrant: Process user variables. [GH-295]
864

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
865
## 0.3.1 (August 12, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
866

867
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
868

869 870 871
* provisioner/shell: New setting `start_retry_timeout` which is the timeout
  for the provisioner to attempt to _start_ the remote process. This allows
  the shell provisioner to work properly with reboots. [GH-260]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
872

873 874
BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
875 876
* core: Remote command output containing '\r' now looks much better
  within the Packer output.
877
* builder/vmware: Fix issue with finding driver files. [GH-279]
878
* provisioner/salt-masterless: Uploads work properly from Windows. [GH-276]
879

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
880
## 0.3.0 (August 12, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
881

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
882
BACKWARDS INCOMPATIBILITIES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
883

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
884 885 886 887 888 889
* All `{{.CreateTime}}` variables within templates (such as for AMI names)
  are now replaced with `{{timestamp}}`. Run `packer fix` to fix your
  templates.

FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
890 891 892 893
* **User Variables** allow you to specify variables within your templates
  that can be replaced using the command-line, files, or environmental
  variables. This dramatically improves the portability of packer templates.
  See the documentation for more information.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
894 895
* **Machine-readable output** can be enabled by passing the
  `-machine-readable` flag to _any_ Packer command.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
896 897 898
* All strings in a template are now processed for variables/functions,
  so things like `{{timestamp}}` can be used everywhere. More features will
  be added in the future.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
899 900
* The `amazon` builders (all of them) can now have attributes of their
  resulting AMIs modified, such as access permissions and product codes.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
901

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
902 903
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
904
* builder/amazon/all: User data can be passed to start the instances. [GH-253]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
905 906 907 908
* provisioner/salt-masterless: `local_state_tree` is no longer required,
  allowing you to use shell provisioner (or others) to bring this down.
  [GH-269]

909 910
BUG FIXES:

911 912
* builder/amazon/ebs,instance: Retry deleing security group a few times.
  [GH-278]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
913 914 915
* builder/vmware: Workstation works on Windows XP now. [GH-238]
* builder/vmware: Look for files on Windows in multiple locations
  using multiple environmental variables. [GH-263]
916 917
* provisioner/salt-masterless: states aren't deleted after the run
  anymore. [GH-265]
918 919
* provisioner/salt-masterless: error if any commands exit with a non-zero
  exit status. [GH-266]
920

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
921
## 0.2.3 (August 7, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
922

923 924 925 926
IMPROVEMENTS:

* builder/amazon/all: Added Amazon AMI tag support [GH-233]

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
927
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
928

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
929 930
* core: Absolute/relative filepaths on Windows now work for iso_url
  and other settings. [GH-240]
931 932
* builder/amazon/all: instance info is refreshed while waiting for SSH,
  allowing Packer to see updated IP/DNS info. [GH-243]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
933

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
934
## 0.2.2 (August 1, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
935

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
936 937 938 939 940
FEATURES:

* New builder: `amazon-chroot` can create EBS-backed AMIs without launching
  a new EC2 instance. This can shave minutes off of the AMI creation process.
  See the docs for more info.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
941 942
* New provisioner: `salt-masterless` will provision the node using Salt
  without a master.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
943
* The `vmware` builder now works with Workstation 9 on Windows. [GH-222]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
944
* The `vmware` builder now works with Player 5 on Linux. [GH-190]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
945

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
946 947
IMPROVEMENTS:

948
* core: Colors won't be outputted on Windows unless in Cygwin.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
949 950 951
* builder/amazon/all: Added `iam_instance_profile` to launch the source
  image with a given IAM profile. [GH-226]

952
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
953

954 955
* builder/virtualbox,vmware: relative paths work properly as URL
  configurations. [GH-215]
956 957
* builder/virtualbox,vmware: fix race condition in deleting the output
  directory on Windows by retrying.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
958

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
959
## 0.2.1 (July 26, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
960

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
961
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
962

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
963 964
* New builder: `amazon-instance` can create instance-storage backed
  AMIs.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
965
* VMware builder now works with Workstation 9 on Linux.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
966

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
967 968
IMPROVEMENTS:

969 970 971
* builder/amazon/all: Ctrl-C while waiting for state change works
* builder/amazon/ebs: Can now launch instances into a VPC for added protection [GH-210]
* builder/virtualbox,vmware: Add backspace, delete, and F1-F12 keys to the boot
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
972
  command.
973
* builder/virtualbox: massive performance improvements with big ISO files because
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
974
  an expensive copy is avoided. [GH-202]
975
* builder/vmware: CD is removed prior to exporting final machine. [GH-198]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
976

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
977 978
BUG FIXES:

979 980
* builder/amazon/all: Gracefully handle when AMI appears to not exist
  while AWS state is propogating. [GH-207]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
981 982
* builder/virtualbox: Trim carriage returns for Windows to properly
  detect VM state on Windows. [GH-218]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
983
* core: build names no longer cause invalid config errors. [GH-197]
984
* command/build: If any builds fail, exit with non-zero exit status.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
985
* communicator/ssh: SCP exit codes are tested and errors are reported. [GH-195]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
986
* communicator/ssh: Properly change slash direction for Windows hosts. [GH-218]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
987

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
988
## 0.2.0 (July 16, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
989

990 991 992 993 994 995
BACKWARDS INCOMPATIBILITIES:

* "iso_md5" in the virtualbox and vmware builders is replaced with
  "iso_checksum" and "iso_checksum_type" (with the latter set to "md5").
  See the announce below on `packer fix` to automatically fix your templates.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
996 997
FEATURES:

998 999 1000 1001
* **NEW COMMAND:** `packer fix` will attempt to fix templates from older
  versions of Packer that are now broken due to backwards incompatibilities.
  This command will fix the backwards incompatibilities introduced in this
  version.
1002 1003
* Amazon EBS builder can now optionally use a pre-made security group
  instead of randomly generating one.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1004 1005
* DigitalOcean API key and client IDs can now be passed in as
  environmental variables. See the documentatin for more details.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1006 1007
* VirtualBox and VMware can now have `floppy_files` specified to attach
  floppy disks when booting. This allows for unattended Windows installs.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1008 1009
* `packer build` has a new `-force` flag that forces the removal of
  existing artifacts if they exist. [GH-173]
1010 1011
* You can now log to a file (instead of just stderr) by setting the
  `PACKER_LOG_FILE` environmental variable. [GH-168]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1012 1013
* Checksums other than MD5 can now be used. SHA1 and SHA256 can also
  be used. See the documentation on `iso_checksum_type` for more info. [GH-175]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1014

1015 1016
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1017
* core: invalid keys in configuration are now considered validation
1018
  errors. [GH-104]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1019 1020
* core: all builders now share a common SSH connection core, improving
  SSH reliability over all the builders.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1021
* amazon-ebs: Credentials will come from IAM role if available. [GH-160]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1022
* amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169]
1023 1024 1025
* shell provisioner: the build name and builder type are available in
  the `PACKER_BUILD_NAME` and `PACKER_BUILDER_TYPE` env vars by default,
  respectively. [GH-154]
1026 1027
* vmware: error if shutdown command has non-zero exit status.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1028
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1029

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1030
* core: UI messages are now properly prefixed with spaces again.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1031 1032
* core: If SSH connection ends, re-connection attempts will take
  place. [GH-152]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1033 1034
* virtualbox: "paused" doesn't mean the VM is stopped, improving
  shutdown detection.
1035
* vmware: error if guest IP could not be detected. [GH-189]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1036

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1037
## 0.1.5 (July 7, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1038

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1039
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1040

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1041 1042
* "file" uploader will upload files from the machine running Packer to the
  remote machine.
1043 1044
* VirtualBox guest additions URL and checksum can now be specified, allowing
  the VirtualBox builder to have the ability to be used completely offline.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1045

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1046 1047
IMPROVEMENTS:

1048 1049
* core: If SCP is not available, a more descriptive error message
  is shown telling the user. [GH-127]
1050 1051 1052 1053
* shell: Scripts are now executed by default according to their shebang,
  not with `/bin/sh`. [GH-105]
* shell: You can specify what interpreter you want inline scripts to
  run with `inline_shebang`.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1054 1055 1056
* virtualbox: Delete the packer-made SSH port forwarding prior to
  exporting the VM.

1057 1058
BUG FIXES:

1059 1060
* core: Non-200 response codes on downloads now show proper errors.
  [GH-141]
1061
* amazon-ebs: SSH handshake is retried. [GH-130]
1062 1063
* vagrant: The `BuildName` template propery works properly in
  the output path.
1064 1065
* vagrant: Properly configure the provider-specific post-processors so
  things like `vagrantfile_template` work. [GH-129]
1066 1067
* vagrant: Close filehandles when copying files so Windows can
  rename files. [GH-100]
1068

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1069
## 0.1.4 (July 2, 2013)
1070

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1071 1072
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1073 1074 1075 1076 1077 1078
* virtualbox: Can now be built headless with the "Headless" option. [GH-99]
* virtualbox: <wait5> and <wait10> codes for waiting 5 and 10 seconds
  during the boot sequence, respectively. [GH-97]
* vmware: Can now be built headless with the "Headless" option. [GH-99]
* vmware: <wait5> and <wait10> codes for waiting 5 and 10 seconds
  during the boot sequence, respectively. [GH-97]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1079
* vmware: Disks are defragmented and compacted at the end of the build.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1080
  This can be disabled using "skip_compaction"
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1081

1082
IMPROVEMENTS:
1083

1084
* core: Template syntax errors now show line and character number. [GH-56]
1085 1086
* amazon-ebs: Access key and secret access key default to
  environmental variables. [GH-40]
1087 1088
* virtualbox: Send password for keyboard-interactive auth [GH-121]
* vmware: Send password for keyboard-interactive auth [GH-121]
1089

1090 1091 1092 1093 1094
BUG FIXES:

* vmware: Wait until shut down cleans up properly to avoid corrupt
  disk files [GH-111]

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1095
## 0.1.3 (July 1, 2013)
1096

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1097 1098 1099 1100 1101 1102
FEATURES:

* The VMware builder can now upload the VMware tools for you into
  the VM. This is opt-in, you must specify the `tools_upload_flavor`
  option. See the website for more documentation.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1103 1104 1105 1106
IMPROVEMENTS:

* digitalocean: Errors contain human-friendly error messages. [GH-85]

1107 1108 1109
BUG FIXES:

* core: More plugin server fixes that avoid hangs on OS X 10.7 [GH-87]
1110
* vagrant: AWS boxes will keep the AMI artifact around [GH-55]
1111
* virtualbox: More robust version parsing for uploading guest additions. [GH-69]
1112 1113 1114 1115
* virtualbox: Output dir and VM name defaults depend on build name,
  avoiding collisions. [GH-91]
* vmware: Output dir and VM name defaults depend on build name,
  avoiding collisions. [GH-91]
1116

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1117
## 0.1.2 (June 29, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1118

1119 1120
IMPROVEMENTS:

1121
* core: Template doesn't validate if there are no builders.
1122 1123 1124
* vmware: Delete any VMware files in the VM that aren't necessary for
  it to function.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1125
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1126

1127 1128
* core: Plugin servers consider a port in use if there is any
  error listening to it. This fixes I18n issues and Windows. [GH-58]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1129 1130
* amazon-ebs: Sleep between checking instance state to avoid
  RequestLimitExceeded [GH-50]
1131
* vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64]
1132
* vagrant: VMware boxes have the correct provider type.
1133 1134
* vmware: Properly populate files in artifact so that the Vagrant
  post-processor works. [GH-63]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1135

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1136
## 0.1.1 (June 28, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1137 1138 1139

BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1140
* core: plugins listen explicitly on 127.0.0.1, fixing odd hangs. [GH-37]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1141 1142
* core: fix race condition on verifying checksum of large ISOs which
  could cause panics [GH-52]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1143
* virtualbox: `boot_wait` defaults to "10s" rather than 0. [GH-44]
1144 1145
* virtualbox: if `http_port_min` and max are the same, it will no longer
  panic [GH-53]
1146
* vmware: `boot_wait` defaults to "10s" rather than 0. [GH-44]
1147 1148
* vmware: if `http_port_min` and max are the same, it will no longer
  panic [GH-53]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1149

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1150 1151 1152
## 0.1.0 (June 28, 2013)

* Initial release