Sha256: 1fc726a59541311a0fca445ef6ee78771f65573e26b97e1626d2d5f0c723ca72
Contents?: true
Size: 631 Bytes
Versions: 28
Compression:
Stored size: 631 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Add a new guest OS type # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addGuestOs.html] def add_guest_os(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'addGuestOs') else options.merge!('command' => 'addGuestOs', 'osdisplayname' => args[0], 'oscategoryid' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems