mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Inconsistent usage of cpus / vpcus in libvirt / requests.
Reported number of cpus was always 1 for libvirt domains.
This commit is contained in:
parent
397b015257
commit
f64b770f00
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ module Fog
|
|||
:max_memory_size => dom.info.max_mem,
|
||||
:cputime => dom.info.cpu_time,
|
||||
:memory_size => dom.info.memory,
|
||||
:vcpus => dom.info.nr_virt_cpu,
|
||||
:cpus => dom.info.nr_virt_cpu,
|
||||
:autostart => dom.autostart?,
|
||||
:os_type => dom.os_type,
|
||||
:active => dom.active?,
|
||||
|
@ -89,7 +89,7 @@ module Fog
|
|||
:max_memory_size => 8,
|
||||
:cputime => 7,
|
||||
:memory_size => 6,
|
||||
:vcpus => 5,
|
||||
:cpus => 5,
|
||||
:autostart => false,
|
||||
:os_type => "RHEL6",
|
||||
:active => false,
|
||||
|
|
Loading…
Reference in a new issue