mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
feature #3532: fix bug with ruby 1.8
This commit is contained in:
parent
21bee73dc3
commit
6d747c7aac
@ -340,10 +340,10 @@ module KVM
|
||||
"/domain/devices/interface[@type='bridge']") do |i|
|
||||
mac = REXML::XPath.first(i, '//interface/mac').
|
||||
attributes['address']
|
||||
bridge = REXML::XPath.first(i, '//interface/source')
|
||||
.attributes['bridge']
|
||||
model = REXML::XPath.first(i, '//interface/model')
|
||||
.attributes['type']
|
||||
bridge = REXML::XPath.first(i, '//interface/source').
|
||||
attributes['bridge']
|
||||
model = REXML::XPath.first(i, '//interface/model').
|
||||
attributes['type']
|
||||
|
||||
interfaces << {
|
||||
:mac => mac,
|
||||
|
Loading…
x
Reference in New Issue
Block a user