Class: Chef::Resource::MachineImage

Inherits:
Machine
  • Object
show all
Defined in:
lib/chef/resource/machine_image.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ MachineImage

Returns a new instance of MachineImage.



9
10
11
12
13
# File 'lib/chef/resource/machine_image.rb', line 9

def initialize(*args)
  super
  @image_options = run_context.chef_metal.current_image_options
  @machine_options = run_context.chef_metal.current_machine_options
end