Revision 805358df
Added by Jason Montleon over 10 years ago
app/models/compute_resources/foreman/model/ec2.rb | ||
---|---|---|
false
|
||
end
|
||
|
||
def associated_host(vm)
|
||
Host.my_hosts.where(:ip => [vm.public_ip_address, vm.private_ip_address]).first
|
||
end
|
||
|
||
private
|
||
|
||
def client
|
Also available in: Unified diff
fixes #1923 - matches vms on a compute resource to hosts