Commit 39e8cdff by Kálmán Viktor

dashboard: fix networks in vm create

parent a43eefdb
...@@ -477,7 +477,7 @@ class VmCreate(LoginRequiredMixin, TemplateView): ...@@ -477,7 +477,7 @@ class VmCreate(LoginRequiredMixin, TemplateView):
networks = ( networks = (
[InterfaceTemplate(vlan=l, managed=True) [InterfaceTemplate(vlan=l, managed=True)
for l in post['unmanaged_networks']] + for l in post['managed_networks']] +
[InterfaceTemplate(vlan=l, managed=False) [InterfaceTemplate(vlan=l, managed=False)
for l in post['unmanaged_networks']]) for l in post['unmanaged_networks']])
disks = post['disks'] disks = post['disks']
......
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