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