mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fixes for issues 616 and 617
This commit is contained in:
parent
f203e99fb1
commit
114dba494b
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ module Fog
|
||||||
class Libvirt < Fog::Service
|
class Libvirt < Fog::Service
|
||||||
|
|
||||||
requires :libvirt_uri
|
requires :libvirt_uri
|
||||||
|
recognizes :libvirt_username, :libvirt_password
|
||||||
|
|
||||||
model_path 'fog/libvirt/models/compute'
|
model_path 'fog/libvirt/models/compute'
|
||||||
model :server
|
model :server
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Fog
|
||||||
node_info[param]=nil
|
node_info[param]=nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
node_info[:uri]=connection.connection.uri
|
node_info[:uri]=connection.uri
|
||||||
data << { :raw => node_info }
|
data << { :raw => node_info }
|
||||||
require 'pp'
|
require 'pp'
|
||||||
pp node_info
|
pp node_info
|
||||||
|
|
Loading…
Reference in a new issue