Method: OpenNebula::Image#allocate

Defined in:
lib/opennebula/image.rb

#allocate(description, ds_id, check_capacity = true) ⇒ nil, OpenNebula::Error

Allocates a new Image in OpenNebula

Parameters:

  • description (String)

    A string containing the template of the Image.

  • ds_id (Integer)

    the target datastore ID

Returns:



118
119
120
# File 'lib/opennebula/image.rb', line 118

def allocate(description, ds_id, check_capacity=true)
    super(IMAGE_METHODS[:allocate],description, ds_id, check_capacity)
end