Commit 1e2a59ed by Kálmán Viktor

dashboard: set max ram size on customized vm create

Closes #254
parent 156473d4
...@@ -1922,6 +1922,7 @@ class VmCreate(LoginRequiredMixin, TemplateView): ...@@ -1922,6 +1922,7 @@ class VmCreate(LoginRequiredMixin, TemplateView):
'num_cores': post['cpu_count'], 'num_cores': post['cpu_count'],
'ram_size': post['ram_size'], 'ram_size': post['ram_size'],
'priority': post['cpu_priority'], 'priority': post['cpu_priority'],
'max_ram_size': post['ram_size'],
} }
networks = [InterfaceTemplate(vlan=l, managed=l.managed) networks = [InterfaceTemplate(vlan=l, managed=l.managed)
for l in post['networks']] for l in post['networks']]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment