Better vCPU count
The `virsh vcpucount` can output the maximum or current values, but only one of the flags should be used at the same time.
This commit is contained in:
parent
029073c3b0
commit
5133a159d1
|
@ -67,7 +67,7 @@ do
|
|||
echo "$VM"
|
||||
|
||||
# cpu
|
||||
virsh vcpucount --maximum --current "$VM"
|
||||
virsh vcpucount --current "$VM"
|
||||
|
||||
# mem
|
||||
# libvirt store memory in KiB, POW must be lowered by 1
|
||||
|
|
Loading…
Reference in New Issue