Revision 40df7dfb
Added by Daniel Lobato Garcia about 11 years ago
- ID 40df7dfbfcde38f06d133fea97f0d30904155916
lib/fog_extensions/libvirt/server.rb | ||
---|---|---|
attributes[:memory_size] = mem.to_i / 1024 if mem
|
||
end
|
||
|
||
def reset
|
||
poweroff
|
||
start
|
||
end
|
||
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #426 expose BMC information in foreman UI
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
This patch also adds an abstracted power management class for both VM
and BM