mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Revert 530122d
This commit reverts commit530122d
. Commit530122d
contained changes to how the mac address for an domain's interfaces was retrieved. The change was made due to an broken development environment and was unnecessary.
This commit is contained in:
parent
831be2d4f7
commit
5b0b1218f7
1 changed files with 1 additions and 3 deletions
|
@ -241,9 +241,7 @@ module Fog
|
|||
# Currently only one ip address is returned, but in the future this could be multiple
|
||||
# if the server has multiple network interface
|
||||
def addresses(connection=connection, options={})
|
||||
unless mac = self.mac
|
||||
mac = Nokogiri::XML(`virsh dumpxml #{self.name}`).xpath('//domain/devices/interface/mac').first.attribute('address').content
|
||||
end
|
||||
mac=self.mac
|
||||
|
||||
# Aug 24 17:34:41 juno arpwatch: new station 10.247.4.137 52:54:00:88:5a:0a eth0.4
|
||||
# Aug 24 17:37:19 juno arpwatch: changed ethernet address 10.247.4.137 52:54:00:27:33:00 (52:54:00:88:5a:0a) eth0.4
|
||||
|
|
Loading…
Reference in a new issue