diff --git a/hosting/opennebula_functions.py b/hosting/opennebula_functions.py index 76029c2d..f71d7249 100644 --- a/hosting/opennebula_functions.py +++ b/hosting/opennebula_functions.py @@ -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 diff --git a/hosting/templates/hosting/managevms.html b/hosting/templates/hosting/managevms.html index f8c7e873..d1b76ac2 100644 --- a/hosting/templates/hosting/managevms.html +++ b/hosting/templates/hosting/managevms.html @@ -5,8 +5,8 @@ {% csrf_token %}