Fixed some issues.
This commit is contained in:
parent
7cc2af420b
commit
58d3dd6624
2 changed files with 3 additions and 3 deletions
|
|
@ -120,7 +120,7 @@ class HostingManageVMAdmin(admin.ModelAdmin):
|
|||
"""
|
||||
vm_id = oca.VirtualMachine.allocate(self.client,
|
||||
vm_string_formatter.format(
|
||||
ssh_key='' # public key of the user
|
||||
ssh_key='', # public key of the user
|
||||
memory=1024 * vm_template_int, # memory in MB
|
||||
vcpu=vm_template_int, # vpcu
|
||||
cpu=0.1 * vm_template_int, # cpu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue