mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
instance/settings: inputs renamed according to action type (net -> clone-net-mac, net -> net-mac)
instance/network: correct multiple interfaces handling, add mac handling
This commit is contained in:
parent
71c6161291
commit
96982ce58b
3 changed files with 11 additions and 13 deletions
|
|
@ -511,7 +511,7 @@ def instance(request, compute_id, vname):
|
|||
network_data = {}
|
||||
|
||||
for post in request.POST:
|
||||
if 'net-' in post:
|
||||
if post.startswith('net-'):
|
||||
network_data[post] = request.POST.get(post, '')
|
||||
|
||||
conn.change_network(network_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue