Revision 04327448
Added by Dominik Hlavac Duran about 5 years ago
app/models/compute_resources/foreman/model/libvirt.rb | ||
---|---|---|
end
|
||
|
||
def associated_host(vm)
|
||
associate_by("mac", vm.mac)
|
||
associate_by("mac", vm.interfaces.map(&:mac))
|
||
end
|
||
|
||
def vm_compute_attributes_for(uuid)
|
Also available in: Unified diff
Fixes #16520 - Associating VM-mac is case sensitive