Commit 40056847 by Kálmán Viktor

dashboard: fix disk list in vm create

parent af8f3f28
...@@ -116,7 +116,7 @@ class VmCreate(TemplateView): ...@@ -116,7 +116,7 @@ class VmCreate(TemplateView):
context.update({ context.update({
'templates': InstanceTemplate.objects.all(), 'templates': InstanceTemplate.objects.all(),
'vlans': Vlan.objects.all(), 'vlans': Vlan.objects.all(),
'disks': Disk.objects.all() 'disks': Disk.objects.exclude(type="qcow2-snap")
}) })
return context return context
......
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