Sha256: d4105a47d623da980a448926bbcaf776ccccfd91ff6e39945e51dd6c3e30110c

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Attaches an ISO to a virtual machine.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/attachIso.html]
        def attach_iso(id, virtualmachineid, options={})
          options.merge!(
            'command' => 'attachIso', 
            'id' => id, 
            'virtualmachineid' => virtualmachineid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/attach_iso.rb