README.md in kitchen-ec2-1.0.0.beta.1 vs README.md in kitchen-ec2-1.0.0

- old
+ new

@@ -282,16 +282,23 @@ The EC2 IAM profile name to use. The default is `nil`. -### `price` +### `spot_price` The price you bid in order to submit a spot request. An additional step will be required during the spot request process submission. If no price is set, it will use an on-demand instance. The default is `nil`. +### block_duration_minutes + +The [specified duration](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#fixed-duration-spot-instances) for a spot instance, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360). +If no duration is set, the spot instance will remain active until it is terminated. + +The default is `nil`. + ### `http_proxy` Specify a proxy to send AWS requests through. Should be of the format `http://<host>:<port>`. The default is `ENV["HTTPS_PROXY"] || ENV["HTTP_PROXY"]`. If you have these environment variables set and do not want to use a proxy when contacting aws set `http_proxy: nil`. @@ -363,16 +370,24 @@ If you don't set this it will default to whatever DHCP address EC2 hands out. #### `interface` -The place from which to derive the hostname for communicating with the instance. May be `dns`, `public` or `private`. If this is unset, the driver will derive the hostname by failing back in the following order: +The place from which to derive the hostname for communicating with the instance. May be `dns`, `public`, `private` or `private_dns`. If this is unset, the driver will derive the hostname by failing back in the following order: 1. DNS Name 2. Public IP Address 3. Private IP Address +4. Private DNS Name -The default is unset. +The default is unset. Under normal circumstances, the lookup will return the `Private IP Address`. + +If the `Private DNS Name` is preferred over the private IP, it must be specified in the `.kitchen.yml` file + +```ruby +driver: + interface: private_dns +``` ## Example The following could be used in a `.kitchen.yml` or in a `.kitchen.local.yml` to override default configuration.