lib/ropenstack/image/v1.rb
def image_create(name, disk_format, container_format, create_image, tenant_id)
      data = { 
        :name => name,
        :disk_format => disk_format,
        :container_format => container_format
      }
      unless create_image.nil?
        data[:create_image] = create_image
      end

      post_request(address(tenant_id, "images"), data, @token)
    end
def image_create(name, disk_format, container_format, create_image, tenant_id)
      data = { 
        :name => name,
        :disk_format => disk_format,
        :container_format => container_format
      }
      unless create_image.nil?
        data[:create_image] = create_image
      end

      post_request(address(tenant_id, "images"), data, @token)
    end
Registers a virtual machine image.