# File lib/deltacloud/drivers/rimuhosting/rimuhosting_driver.rb, line 111 def create_instance(credentials, image_id, opts) rh = RimuHostingClient.new(credentials) # really need to raise an exception here. hwp_id = opts[:hwp_id] || 1 # really bad, but at least its a fqdn name = Time.now.to_s + '.com' if (opts[:name]) then name = opts[:name] end convert_srv_to_instance(rh.create_server(image_id, hwp_id, name)) end