From 58d3dd662451dd89e5e2684e36b17e9ca6cffc39 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Wed, 3 May 2017 11:09:22 +0530 Subject: [PATCH] Fixed some issues. --- hosting/opennebula_functions.py | 2 +- hosting/templates/hosting/managevms.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %}