lib/builderator/config/defaults.rb in builderator-2.0.4 vs lib/builderator/config/defaults.rb in builderator-2.1.0

- old
+ new

@@ -77,9 +77,26 @@ # Packer default is 300 seconds. Specify as a string to give units # such as s (seconds), ms (milliseconds), ns (nanoseconds), etc. # Ints will be interpreted as ns. Buyer beware. build.ssh_timeout '300s' + # Clear the AMI and launch block device mappings for the default + # c3.large instance type. + build.ami_block_device_mappings [{ + 'device_name' => '/dev/sdb', + 'no_device' => true, + }, { + 'device_name' => '/dev/sdc', + 'no_device' => true, + }] + build.launch_block_device_mappings [{ + 'device_name' => '/dev/sdb', + 'no_device' => true, + }, { + 'device_name' => '/dev/sdc', + 'no_device' => true, + }] + build.ami_name [Config.build_name, Config.version, Config.build_number].reject(&:nil?).join('-') build.ami_description Config.description end end end