github.com/phobos182/packer@v0.2.3-0.20130819023704-c84d2aeffc68/CHANGELOG.md (about) 1 ## 0.3.3 (unreleased) 2 3 IMPROVEMENTS: 4 5 * core: All HTTP downloads across Packer now support the standard 6 proxy environmental variables (`HTTP_PROXY`, `NO_PROXY`, etc.) [GH-252] 7 * builder/amazon: API requests will use HTTP proxy if specified by 8 enviromental variables. 9 * builder/digitalocean: API requests will use HTTP proxy if specified 10 by environmental variables. 11 12 BUG FIXES: 13 14 * post-processor/vagrant: `output_path` templates now work again. 15 16 ## 0.3.2 (August 18, 2013) 17 18 FEATURES: 19 20 * New command: `packer inspect`. This command tells you the components of 21 a template. It respects the `-machine-readable` flag as well so you can 22 parse out components of a template. 23 * Packer will detect its own crashes (always a bug) and save a "crash.log" 24 file. 25 * builder/virtualbox: You may now specify multiple URLs for an ISO 26 using "iso_url" in a template. The URLs will be tried in order. 27 * builder/vmware: You may now specify multiple URLs for an ISO 28 using "iso_url" in a template. The URLs will be tried in order. 29 30 IMPROVEMENTS: 31 32 * core: built with Go 1.1.2 33 * core: packer help output now loads much faster. 34 * builder/virtualbox: guest_additions_url can now use the `Version` 35 variable to get the VirtualBox version. [GH-272] 36 * builder/virtualbox: Do not check for VirtualBox as part of template 37 validation; only check at execution. 38 * builder/vmware: Do not check for VMware as part of template validation; 39 only check at execution. 40 * command/build: A path of "-" will read the template from stdin. 41 * builder/amazon: add block device mappings [GH-90] 42 43 BUG FIXES: 44 45 * windows: file URLs are easier to get right as Packer 46 has better parsing and error handling for Windows file paths. [GH-284] 47 * builder/amazon/all: Modifying more than one AMI attribute type no longer 48 crashes. 49 * builder/amazon-instance: send IAM instance profile data. [GH-294] 50 * builder/digitalocean: API request parameters are properly URL 51 encoded. [GH-281] 52 * builder/virtualbox: dowload progress won't be shown until download 53 actually starts. [GH-288] 54 * builder/virtualbox: floppy files names of 13 characters are now properly 55 written to the FAT12 filesystem. [GH-285] 56 * builder/vmware: dowload progress won't be shown until download 57 actually starts. [GH-288] 58 * builder/vmware: interrupt works while typing commands over VNC. 59 * builder/virtualbox: floppy files names of 13 characters are now properly 60 written to the FAT12 filesystem. [GH-285] 61 * post-processor/vagrant: Process user variables. [GH-295] 62 63 ## 0.3.1 (August 12, 2013) 64 65 IMPROVEMENTS: 66 67 * provisioner/shell: New setting `start_retry_timeout` which is the timeout 68 for the provisioner to attempt to _start_ the remote process. This allows 69 the shell provisioner to work properly with reboots. [GH-260] 70 71 BUG FIXES: 72 73 * core: Remote command output containing '\r' now looks much better 74 within the Packer output. 75 * builder/vmware: Fix issue with finding driver files. [GH-279] 76 * provisioner/salt-masterless: Uploads work properly from Windows. [GH-276] 77 78 ## 0.3.0 (August 12, 2013) 79 80 BACKWARDS INCOMPATIBILITIES: 81 82 * All `{{.CreateTime}}` variables within templates (such as for AMI names) 83 are now replaced with `{{timestamp}}`. Run `packer fix` to fix your 84 templates. 85 86 FEATURES: 87 88 * **User Variables** allow you to specify variables within your templates 89 that can be replaced using the command-line, files, or environmental 90 variables. This dramatically improves the portability of packer templates. 91 See the documentation for more information. 92 * **Machine-readable output** can be enabled by passing the 93 `-machine-readable` flag to _any_ Packer command. 94 * All strings in a template are now processed for variables/functions, 95 so things like `{{timestamp}}` can be used everywhere. More features will 96 be added in the future. 97 * The `amazon` builders (all of them) can now have attributes of their 98 resulting AMIs modified, such as access permissions and product codes. 99 100 IMPROVEMENTS: 101 102 * builder/amazon/all: User data can be passed to start the instances. [GH-253] 103 * provisioner/salt-masterless: `local_state_tree` is no longer required, 104 allowing you to use shell provisioner (or others) to bring this down. 105 [GH-269] 106 107 BUG FIXES: 108 109 * builder/amazon/ebs,instance: Retry deleing security group a few times. 110 [GH-278] 111 * builder/vmware: Workstation works on Windows XP now. [GH-238] 112 * builder/vmware: Look for files on Windows in multiple locations 113 using multiple environmental variables. [GH-263] 114 * provisioner/salt-masterless: states aren't deleted after the run 115 anymore. [GH-265] 116 * provisioner/salt-masterless: error if any commands exit with a non-zero 117 exit status. [GH-266] 118 119 ## 0.2.3 (August 7, 2013) 120 121 IMPROVEMENTS: 122 123 * builder/amazon/all: Added Amazon AMI tag support [GH-233] 124 125 BUG FIXES: 126 127 * core: Absolute/relative filepaths on Windows now work for iso_url 128 and other settings. [GH-240] 129 * builder/amazon/all: instance info is refreshed while waiting for SSH, 130 allowing Packer to see updated IP/DNS info. [GH-243] 131 132 ## 0.2.2 (August 1, 2013) 133 134 FEATURES: 135 136 * New builder: `amazon-chroot` can create EBS-backed AMIs without launching 137 a new EC2 instance. This can shave minutes off of the AMI creation process. 138 See the docs for more info. 139 * New provisioner: `salt-masterless` will provision the node using Salt 140 without a master. 141 * The `vmware` builder now works with Workstation 9 on Windows. [GH-222] 142 * The `vmware` builder now works with Player 5 on Linux. [GH-190] 143 144 IMPROVEMENTS: 145 146 * core: Colors won't be outputted on Windows unless in Cygwin. 147 * builder/amazon/all: Added `iam_instance_profile` to launch the source 148 image with a given IAM profile. [GH-226] 149 150 BUG FIXES: 151 152 * builder/virtualbox,vmware: relative paths work properly as URL 153 configurations. [GH-215] 154 * builder/virtualbox,vmware: fix race condition in deleting the output 155 directory on Windows by retrying. 156 157 ## 0.2.1 (July 26, 2013) 158 159 FEATURES: 160 161 * New builder: `amazon-instance` can create instance-storage backed 162 AMIs. 163 * VMware builder now works with Workstation 9 on Linux. 164 165 IMPROVEMENTS: 166 167 * builder/amazon/all: Ctrl-C while waiting for state change works 168 * builder/amazon/ebs: Can now launch instances into a VPC for added protection [GH-210] 169 * builder/virtualbox,vmware: Add backspace, delete, and F1-F12 keys to the boot 170 command. 171 * builder/virtualbox: massive performance improvements with big ISO files because 172 an expensive copy is avoided. [GH-202] 173 * builder/vmware: CD is removed prior to exporting final machine. [GH-198] 174 175 BUG FIXES: 176 177 * builder/amazon/all: Gracefully handle when AMI appears to not exist 178 while AWS state is propogating. [GH-207] 179 * builder/virtualbox: Trim carriage returns for Windows to properly 180 detect VM state on Windows. [GH-218] 181 * core: build names no longer cause invalid config errors. [GH-197] 182 * command/build: If any builds fail, exit with non-zero exit status. 183 * communicator/ssh: SCP exit codes are tested and errors are reported. [GH-195] 184 * communicator/ssh: Properly change slash direction for Windows hosts. [GH-218] 185 186 ## 0.2.0 (July 16, 2013) 187 188 BACKWARDS INCOMPATIBILITIES: 189 190 * "iso_md5" in the virtualbox and vmware builders is replaced with 191 "iso_checksum" and "iso_checksum_type" (with the latter set to "md5"). 192 See the announce below on `packer fix` to automatically fix your templates. 193 194 FEATURES: 195 196 * **NEW COMMAND:** `packer fix` will attempt to fix templates from older 197 versions of Packer that are now broken due to backwards incompatibilities. 198 This command will fix the backwards incompatibilities introduced in this 199 version. 200 * Amazon EBS builder can now optionally use a pre-made security group 201 instead of randomly generating one. 202 * DigitalOcean API key and client IDs can now be passed in as 203 environmental variables. See the documentatin for more details. 204 * VirtualBox and VMware can now have `floppy_files` specified to attach 205 floppy disks when booting. This allows for unattended Windows installs. 206 * `packer build` has a new `-force` flag that forces the removal of 207 existing artifacts if they exist. [GH-173] 208 * You can now log to a file (instead of just stderr) by setting the 209 `PACKER_LOG_FILE` environmental variable. [GH-168] 210 * Checksums other than MD5 can now be used. SHA1 and SHA256 can also 211 be used. See the documentation on `iso_checksum_type` for more info. [GH-175] 212 213 IMPROVEMENTS: 214 215 * core: invalid keys in configuration are now considered validation 216 errors. [GH-104] 217 * core: all builders now share a common SSH connection core, improving 218 SSH reliability over all the builders. 219 * amazon-ebs: Credentials will come from IAM role if available. [GH-160] 220 * amazon-ebs: Verify the source AMI is EBS-backed before launching. [GH-169] 221 * shell provisioner: the build name and builder type are available in 222 the `PACKER_BUILD_NAME` and `PACKER_BUILDER_TYPE` env vars by default, 223 respectively. [GH-154] 224 * vmware: error if shutdown command has non-zero exit status. 225 226 BUG FIXES: 227 228 * core: UI messages are now properly prefixed with spaces again. 229 * core: If SSH connection ends, re-connection attempts will take 230 place. [GH-152] 231 * virtualbox: "paused" doesn't mean the VM is stopped, improving 232 shutdown detection. 233 * vmware: error if guest IP could not be detected. [GH-189] 234 235 ## 0.1.5 (July 7, 2013) 236 237 FEATURES: 238 239 * "file" uploader will upload files from the machine running Packer to the 240 remote machine. 241 * VirtualBox guest additions URL and checksum can now be specified, allowing 242 the VirtualBox builder to have the ability to be used completely offline. 243 244 IMPROVEMENTS: 245 246 * core: If SCP is not available, a more descriptive error message 247 is shown telling the user. [GH-127] 248 * shell: Scripts are now executed by default according to their shebang, 249 not with `/bin/sh`. [GH-105] 250 * shell: You can specify what interpreter you want inline scripts to 251 run with `inline_shebang`. 252 * virtualbox: Delete the packer-made SSH port forwarding prior to 253 exporting the VM. 254 255 BUG FIXES: 256 257 * core: Non-200 response codes on downloads now show proper errors. 258 [GH-141] 259 * amazon-ebs: SSH handshake is retried. [GH-130] 260 * vagrant: The `BuildName` template propery works properly in 261 the output path. 262 * vagrant: Properly configure the provider-specific post-processors so 263 things like `vagrantfile_template` work. [GH-129] 264 * vagrant: Close filehandles when copying files so Windows can 265 rename files. [GH-100] 266 267 ## 0.1.4 (July 2, 2013) 268 269 FEATURES: 270 271 * virtualbox: Can now be built headless with the "Headless" option. [GH-99] 272 * virtualbox: <wait5> and <wait10> codes for waiting 5 and 10 seconds 273 during the boot sequence, respectively. [GH-97] 274 * vmware: Can now be built headless with the "Headless" option. [GH-99] 275 * vmware: <wait5> and <wait10> codes for waiting 5 and 10 seconds 276 during the boot sequence, respectively. [GH-97] 277 * vmware: Disks are defragmented and compacted at the end of the build. 278 This can be disabled using "skip_compaction" 279 280 IMPROVEMENTS: 281 282 * core: Template syntax errors now show line and character number. [GH-56] 283 * amazon-ebs: Access key and secret access key default to 284 environmental variables. [GH-40] 285 * virtualbox: Send password for keyboard-interactive auth [GH-121] 286 * vmware: Send password for keyboard-interactive auth [GH-121] 287 288 BUG FIXES: 289 290 * vmware: Wait until shut down cleans up properly to avoid corrupt 291 disk files [GH-111] 292 293 ## 0.1.3 (July 1, 2013) 294 295 FEATURES: 296 297 * The VMware builder can now upload the VMware tools for you into 298 the VM. This is opt-in, you must specify the `tools_upload_flavor` 299 option. See the website for more documentation. 300 301 IMPROVEMENTS: 302 303 * digitalocean: Errors contain human-friendly error messages. [GH-85] 304 305 BUG FIXES: 306 307 * core: More plugin server fixes that avoid hangs on OS X 10.7 [GH-87] 308 * vagrant: AWS boxes will keep the AMI artifact around [GH-55] 309 * virtualbox: More robust version parsing for uploading guest additions. [GH-69] 310 * virtualbox: Output dir and VM name defaults depend on build name, 311 avoiding collisions. [GH-91] 312 * vmware: Output dir and VM name defaults depend on build name, 313 avoiding collisions. [GH-91] 314 315 ## 0.1.2 (June 29, 2013) 316 317 IMPROVEMENTS: 318 319 * core: Template doesn't validate if there are no builders. 320 * vmware: Delete any VMware files in the VM that aren't necessary for 321 it to function. 322 323 BUG FIXES: 324 325 * core: Plugin servers consider a port in use if there is any 326 error listening to it. This fixes I18n issues and Windows. [GH-58] 327 * amazon-ebs: Sleep between checking instance state to avoid 328 RequestLimitExceeded [GH-50] 329 * vagrant: Rename VirtualBox ovf to "box.ovf" [GH-64] 330 * vagrant: VMware boxes have the correct provider type. 331 * vmware: Properly populate files in artifact so that the Vagrant 332 post-processor works. [GH-63] 333 334 ## 0.1.1 (June 28, 2013) 335 336 BUG FIXES: 337 338 * core: plugins listen explicitly on 127.0.0.1, fixing odd hangs. [GH-37] 339 * core: fix race condition on verifying checksum of large ISOs which 340 could cause panics [GH-52] 341 * virtualbox: `boot_wait` defaults to "10s" rather than 0. [GH-44] 342 * virtualbox: if `http_port_min` and max are the same, it will no longer 343 panic [GH-53] 344 * vmware: `boot_wait` defaults to "10s" rather than 0. [GH-44] 345 * vmware: if `http_port_min` and max are the same, it will no longer 346 panic [GH-53] 347 348 ## 0.1.0 (June 28, 2013) 349 350 * Initial release