# File lib/client/vm_api.rb, line 16 def create_vm(opts) opts[:cluster_name] ||= clusters.first.name OVIRT::VM::new(self, http_post("/vms",OVIRT::VM.to_xml(opts)).root) end