Sha256: 137eeb8f1576ee3fee2ca2f2451017130687583cd421a35f4bea96a6b3815c8b
Contents?: true
Size: 383 Bytes
Versions: 14
Compression:
Stored size: 383 Bytes
Contents
# vim: ai ts=2 sts=2 et sw=2 ft=ruby module VagrantPlugins module OVirtProvider module Cap module NicMacAddresses def self.nic_mac_addresses(machine) ovirt = OVirtProvider.ovirt_connection interfaces = ovirt.list_vm_interfaces(machine.id.to_s) Hash[interfaces.map{ |i| [i[:name], i[:mac]] }] end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems