Project

General

Profile

« Previous | Next » 

Revision b43fa642

Added by Ohad Levy about 12 years ago

  • ID b43fa642613aaedb59e5b76e3d3ed4a26d53c679

added basic ovirt vm show page, minor fixes in compute resource level

View differences:

lib/foreman/model/ovirt.rb
true
end
def console(uuid)
vm = find_vm_by_uuid(uuid)
raise "VM is not running!" if vm.status == "down"
raise "Spice display is not supported at the moment" if vm.display[:type] =~ /spice/i
VNCProxy.start(:host => vm.display[:address], :host_port => vm.display[:port], :password => vm.ticket)
end
protected
def bootstrap(args)
......
false
end
def console(uuid)
vm = find_vm_by_uuid(uuid)
raise "VM is not running!" if vm.status == "down"
raise "Spice display is not supported at the moment" if vm.display[:type] =~ /spice/i
VNCProxy.start(:host => vm.display[:address], :host_port => vm.display[:port], :password => vm.ticket)
end
private
def create_interfaces(vm, attrs)

Also available in: Unified diff