CHANGELOG.md 22.7 KB
Newer Older
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
1 2
## 0.4.0 (unreleased)

3
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
4

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

Matthew Hooker's avatar
Matthew Hooker committed
8 9 10 11
BUG FIXES:

* common/uuid: Use cryptographically secure PRNG when generating
  UUIDs. [GH-552]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
12

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
13
## 0.3.10 (October 20, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
14

15 16 17 18
FEATURES:

* Ansible provisioner

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
19 20 21
IMPROVEMENTS:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
25
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
26

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
27
* builder/all: timeout waiting for SSH connection is a failure. [GH-491]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
28
* builder/amazon: Scrub sensitive data from the logs. [GH-521]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
29 30
* builder/amazon: Handle the situation where an EC2 instance might not
  be immediately available. [GH-522]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
31 32
* builder/amazon/chroot: Files copied into the chroot remove destination
  before copy, fixing issues with dangling symlinks. [GH-500]
33 34
* builder/digitalocean: don't panic if erroneous API response doesn't
  contain error message. [GH-492]
Jack Pearkes's avatar
Jack Pearkes committed
35
* builder/digitalocean: scrub API keys from config debug output [GH-516]
36
* builder/virtualbox: error if VirtualBox version cant be detected. [GH-488]
37
* builder/virtualbox: detect if vboxdrv isn't properly setup. [GH-488]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
38 39
* builder/virtualbox: sleep a bit before export to ensure the sesssion
  is unlocked. [GH-512]
40
* builder/virtualbox: create SATA drives properly on VirtualBox 4.3 [GH-547]
41 42
* builder/virtualbox: support user templates in SSH key path. [GH-539]
* builder/vmware: support user templates in SSH key path. [GH-539]
43 44
* communicator/ssh: Fix issue where a panic could arise from a nil
  dereference. [GH-525]
45
* post-processor/vagrant: Fix issue with VirtualBox OVA. [GH-548]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
46
* provisioner/salt: Move salt states to correct remote directory. [GH-513]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
47 48
* provisioner/shell: Won't block on certain scripts on Windows anymore.
  [GH-507]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
49

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
50
## 0.3.9 (October 2, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
51

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
52 53 54 55
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
56
* Chef provisioner supports environments. [GH-483]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
57

58
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
59

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
70
## 0.3.8 (September 22, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
71

72 73
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
74 75 76
* 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]
77 78
* builders/virtualbox: Guest additions can be attached rather than uploaded,
  easier to handle for Windows guests. [GH-405]
79 80
* provisioner/chef-solo: Ability to specify a custom Chef configuration
  template.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
81
* provisioner/chef-solo: Roles and data bags support. [GH-348]
82

83 84
IMPROVEMENTS:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
93
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
94

95 96
* core: Set TCP KeepAlives on internally created RPC connections so that
  they don't die. [GH-416]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
97 98
* builder/amazon/all: While waiting for AMI, will detect "failed" state.
* builder/amazon/all: Waiting for state will detect if the resource (AMI,
99
  instance, etc.) disappears from under it.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
100 101
* builder/amazon/instance: Exclude only contents of /tmp, not /tmp
  itself. [GH-437]
102 103
* 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
104
* builder/virtualbox: F1-F12 and delete scancodes now work. [GH-425]
105
* post-processor/vagrant: Override configurations properly work. [GH-426]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
106 107
* provisioner/puppet-masterless: Fix failure case when both facter vars
  are used and prevent_sudo. [GH-415]
108 109
* provisioner/puppet-masterless: User variables now work properly in
  manifest file and hiera path. [GH-448]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
110

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
111
## 0.3.7 (September 9, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
112

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
113 114 115 116 117 118
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
119 120
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
121 122
* **NEW PROVISIONER:** `puppet-masterless`. You can now provision with
  a masterless Puppet setup. [GH-234]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
123 124
* New globally available template function: `uuid`. Generates a new random
  UUID.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
125 126
* New globally available template function: `isotime`. Generates the
  current time in ISO standard format.
127 128
* 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
129

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
130 131
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
132 133
* builder/amazon/all: Ability to specify the format of the temporary
  keypair created. [GH-389]
134
* builder/amazon/all: Support the NoDevice flag for block mappings. [GH-396]
135
* builder/digitalocean: Retry on any pending event errors.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
136
* builder/openstack: Can now specify a project. [GH-382]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
137
* builder/virtualbox: Can now attach hard drive over SATA. [GH-391]
138
* provisioner/file: Can now upload directories. [GH-251]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
139

140
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
141

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
152
## 0.3.6 (September 2, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
153

154 155 156 157 158
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]

159 160
IMPROVEMENTS:

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

171
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
172

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
182
## 0.3.5 (August 28, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
183

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
184 185
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
186
* **NEW BUILDER:** `openstack`. You can now build on OpenStack. [GH-155]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
187 188
* **NEW PROVISIONER:** `chef-solo`. You can now provision with Chef
  using `chef-solo` from local cookbooks.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
189
* builder/amazon: Copy AMI to multiple regions with `ami_regions`. [GH-322]
190
* builder/virtualbox,vmware: Can now use SSH keys as an auth mechanism for
191
  SSH using `ssh_key_path`. [GH-70]
192
* builder/virtualbox,vmware: Support SHA512 as a checksum type. [GH-356]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
193 194
* 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
195
* provisioner/salt-masterless: Ability to specfy a minion config. [GH-264]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
196
* provisioner/salt-masterless: Ability to upload pillars. [GH-353]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
197

198 199
IMPROVEMENTS:

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

210
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
211

212
* core: Fixed a couple cases where a double ctrl-C could panic.
213 214
* core: Template validation fails if an override is specified for a
  non-existent builder. [GH-336]
215 216
* core: The SSH connection is heartbeated so that drops can be
  detected. [GH-200]
217 218
* 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
219 220
* builder/digitalocean: Send a soft shutdown request so that files
  are properly synced before shutdown. [GH-332]
221 222
* 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
223 224
* post-processor/vagrant: Setting OutputPath with a timestamp now
  always works properly. [GH-324]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
225 226
* post-processor/vagrant: VirtualBox OVA formats now turn into
  Vagrant boxes properly. [GH-331]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
227 228
* provisioner/shell: Retry upload if start command fails, making reboot
  handling much more robust.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
229

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
230
## 0.3.4 (August 21, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
231

232
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
233

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

237 238
BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
239
* core: Avoid panics when double-interrupting Packer.
240 241 242
* 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
243
## 0.3.3 (August 19, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
244

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
245 246 247 248
FEATURES:

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

249
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
250

251 252
* 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
253 254 255 256
* 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
257

258 259
BUG FIXES:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
264
## 0.3.2 (August 18, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
265

266 267 268 269 270
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.
271 272
* Packer will detect its own crashes (always a bug) and save a "crash.log"
  file.
273 274
* builder/virtualbox: You may now specify multiple URLs for an ISO
  using "iso_url" in a template. The URLs will be tried in order.
275 276
* builder/vmware: You may now specify multiple URLs for an ISO
  using "iso_url" in a template. The URLs will be tried in order.
277

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
278
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
279

280
* core: built with Go 1.1.2
281
* core: packer help output now loads much faster.
282 283
* 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
284 285 286 287
* 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
288
* command/build: A path of "-" will read the template from stdin.
289
* builder/amazon: add block device mappings [GH-90]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
290

291 292
BUG FIXES:

293 294
* windows: file URLs are easier to get right as Packer
  has better parsing and error handling for Windows file paths. [GH-284]
295 296
* builder/amazon/all: Modifying more than one AMI attribute type no longer
  crashes.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
297
* builder/amazon-instance: send IAM instance profile data. [GH-294]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
298 299
* builder/digitalocean: API request parameters are properly URL
  encoded. [GH-281]
300 301
* builder/virtualbox: dowload progress won't be shown until download
  actually starts. [GH-288]
302 303
* builder/virtualbox: floppy files names of 13 characters are now properly
  written to the FAT12 filesystem. [GH-285]
304 305
* builder/vmware: dowload progress won't be shown until download
  actually starts. [GH-288]
306
* builder/vmware: interrupt works while typing commands over VNC.
307 308
* builder/virtualbox: floppy files names of 13 characters are now properly
  written to the FAT12 filesystem. [GH-285]
309
* post-processor/vagrant: Process user variables. [GH-295]
310

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
311
## 0.3.1 (August 12, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
312

313
IMPROVEMENTS:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
314

315 316 317
* 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
318

319 320
BUG FIXES:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
326
## 0.3.0 (August 12, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
327

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
328
BACKWARDS INCOMPATIBILITIES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
329

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
330 331 332 333 334 335
* 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
336 337 338 339
* **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
340 341
* **Machine-readable output** can be enabled by passing the
  `-machine-readable` flag to _any_ Packer command.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
342 343 344
* 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
345 346
* 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
347

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
348 349
IMPROVEMENTS:

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

355 356
BUG FIXES:

357 358
* builder/amazon/ebs,instance: Retry deleing security group a few times.
  [GH-278]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
359 360 361
* 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]
362 363
* provisioner/salt-masterless: states aren't deleted after the run
  anymore. [GH-265]
364 365
* provisioner/salt-masterless: error if any commands exit with a non-zero
  exit status. [GH-266]
366

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
367
## 0.2.3 (August 7, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
368

369 370 371 372
IMPROVEMENTS:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
373
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
374

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
375 376
* core: Absolute/relative filepaths on Windows now work for iso_url
  and other settings. [GH-240]
377 378
* 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
379

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
380
## 0.2.2 (August 1, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
381

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
382 383 384 385 386
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
387 388
* New provisioner: `salt-masterless` will provision the node using Salt
  without a master.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
389
* The `vmware` builder now works with Workstation 9 on Windows. [GH-222]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
390
* The `vmware` builder now works with Player 5 on Linux. [GH-190]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
391

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
392 393
IMPROVEMENTS:

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

398
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
399

400 401
* builder/virtualbox,vmware: relative paths work properly as URL
  configurations. [GH-215]
402 403
* builder/virtualbox,vmware: fix race condition in deleting the output
  directory on Windows by retrying.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
404

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
405
## 0.2.1 (July 26, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
406

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
407
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
408

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
409 410
* New builder: `amazon-instance` can create instance-storage backed
  AMIs.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
411
* VMware builder now works with Workstation 9 on Linux.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
412

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
413 414
IMPROVEMENTS:

415 416 417
* 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
418
  command.
419
* builder/virtualbox: massive performance improvements with big ISO files because
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
420
  an expensive copy is avoided. [GH-202]
421
* builder/vmware: CD is removed prior to exporting final machine. [GH-198]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
422

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
423 424
BUG FIXES:

425 426
* 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
427 428
* builder/virtualbox: Trim carriage returns for Windows to properly
  detect VM state on Windows. [GH-218]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
429
* core: build names no longer cause invalid config errors. [GH-197]
430
* command/build: If any builds fail, exit with non-zero exit status.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
431
* communicator/ssh: SCP exit codes are tested and errors are reported. [GH-195]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
432
* communicator/ssh: Properly change slash direction for Windows hosts. [GH-218]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
433

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
434
## 0.2.0 (July 16, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
435

436 437 438 439 440 441
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
442 443
FEATURES:

444 445 446 447
* **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.
448 449
* Amazon EBS builder can now optionally use a pre-made security group
  instead of randomly generating one.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
450 451
* 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
452 453
* 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
454 455
* `packer build` has a new `-force` flag that forces the removal of
  existing artifacts if they exist. [GH-173]
456 457
* 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
458 459
* 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
460

461 462
IMPROVEMENTS:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
463
* core: invalid keys in configuration are now considered validation
464
  errors. [GH-104]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
465 466
* core: all builders now share a common SSH connection core, improving
  SSH reliability over all the builders.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
467
* amazon-ebs: Credentials will come from IAM role if available. [GH-160]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
468
* amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169]
469 470 471
* 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]
472 473
* vmware: error if shutdown command has non-zero exit status.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
474
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
475

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
483
## 0.1.5 (July 7, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
484

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
485
FEATURES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
486

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
487 488
* "file" uploader will upload files from the machine running Packer to the
  remote machine.
489 490
* 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
491

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
492 493
IMPROVEMENTS:

494 495
* core: If SCP is not available, a more descriptive error message
  is shown telling the user. [GH-127]
496 497 498 499
* 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
500 501 502
* virtualbox: Delete the packer-made SSH port forwarding prior to
  exporting the VM.

503 504
BUG FIXES:

505 506
* core: Non-200 response codes on downloads now show proper errors.
  [GH-141]
507
* amazon-ebs: SSH handshake is retried. [GH-130]
508 509
* vagrant: The `BuildName` template propery works properly in
  the output path.
510 511
* vagrant: Properly configure the provider-specific post-processors so
  things like `vagrantfile_template` work. [GH-129]
512 513
* vagrant: Close filehandles when copying files so Windows can
  rename files. [GH-100]
514

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
515
## 0.1.4 (July 2, 2013)
516

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
517 518
FEATURES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
519 520 521 522 523 524
* 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
525
* vmware: Disks are defragmented and compacted at the end of the build.
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
526
  This can be disabled using "skip_compaction"
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
527

528
IMPROVEMENTS:
529

530
* core: Template syntax errors now show line and character number. [GH-56]
531 532
* amazon-ebs: Access key and secret access key default to
  environmental variables. [GH-40]
533 534
* virtualbox: Send password for keyboard-interactive auth [GH-121]
* vmware: Send password for keyboard-interactive auth [GH-121]
535

536 537 538 539 540
BUG FIXES:

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

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
541
## 0.1.3 (July 1, 2013)
542

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
543 544 545 546 547 548
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
549 550 551 552
IMPROVEMENTS:

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

553 554 555
BUG FIXES:

* core: More plugin server fixes that avoid hangs on OS X 10.7 [GH-87]
556
* vagrant: AWS boxes will keep the AMI artifact around [GH-55]
557
* virtualbox: More robust version parsing for uploading guest additions. [GH-69]
558 559 560 561
* 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]
562

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
563
## 0.1.2 (June 29, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
564

565 566
IMPROVEMENTS:

567
* core: Template doesn't validate if there are no builders.
568 569 570
* vmware: Delete any VMware files in the VM that aren't necessary for
  it to function.

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
571
BUG FIXES:
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
572

573 574
* 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
575 576
* amazon-ebs: Sleep between checking instance state to avoid
  RequestLimitExceeded [GH-50]
577
* vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64]
578
* vagrant: VMware boxes have the correct provider type.
579 580
* vmware: Properly populate files in artifact so that the Vagrant
  post-processor works. [GH-63]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
581

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
582
## 0.1.1 (June 28, 2013)
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
583 584 585

BUG FIXES:

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
586
* core: plugins listen explicitly on 127.0.0.1, fixing odd hangs. [GH-37]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
587 588
* core: fix race condition on verifying checksum of large ISOs which
  could cause panics [GH-52]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
589
* virtualbox: `boot_wait` defaults to "10s" rather than 0. [GH-44]
590 591
* virtualbox: if `http_port_min` and max are the same, it will no longer
  panic [GH-53]
592
* vmware: `boot_wait` defaults to "10s" rather than 0. [GH-44]
593 594
* vmware: if `http_port_min` and max are the same, it will no longer
  panic [GH-53]
Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
595

Mitchell Hashimoto's avatar
Mitchell Hashimoto committed
596 597 598
## 0.1.0 (June 28, 2013)

* Initial release