a
This commit is contained in:
parent
edb63e2211
commit
fb940b60d7
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ def need_running_vm(func):
|
|||
|
||||
|
||||
def create(vm_entry: VMEntry):
|
||||
vm_hdd = int(bitmath.Byte(int(vm_entry.specs["hdd"])).to_MB())
|
||||
vm_hdd = int(bitmath.Byte(int(vm_entry.specs["hdd"])).to_GB())
|
||||
|
||||
if WITHOUT_CEPH:
|
||||
_command_to_create = [
|
||||
|
@ -135,7 +135,7 @@ def create(vm_entry: VMEntry):
|
|||
"resize",
|
||||
"uservms/{}".format(vm_entry.uuid),
|
||||
"--size",
|
||||
vm_hdd,
|
||||
"{}G".format(vm_hdd),
|
||||
]
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue