[libvirt] expose node hostname
This commit is contained in:
parent
131259f0a5
commit
1ed7a6b2ee
|
@ -24,6 +24,7 @@ module Fog
|
|||
attribute :manufacturer
|
||||
attribute :product
|
||||
attribute :serial
|
||||
attribute :hostname
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ module Fog
|
|||
node_hash[attr] = node_attr(attr, xml)
|
||||
end
|
||||
|
||||
node_hash[:hostname] = client.hostname
|
||||
[node_hash]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue