Commit cc5b0edb by Czémán Arnold

dashboard: add vlan for user networks to init command

parent 5391d0da
Pipeline #613 passed with stage
in 0 seconds
......@@ -114,6 +114,11 @@ class Command(BaseCommand):
# Add unmanged vlan for user networks
self.create(Vlan, 'vid', name='usernet', vid=5,
network4='', domain=vm_domain,
# default vlan groups
vg_all = self.create(VlanGroup, 'name', name='all')
vg_all.vlans.add(vm, man, net)
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