net_set_dhcp() missing 1 required positional argument: 'add_ipv4'
This commit is contained in:
parent
f8415dbba5
commit
59ec894f17
@ -119,7 +119,7 @@ def index():
|
||||
#db_vm = db_vms_by_id[id]
|
||||
|
||||
current_app.config["HUB_MODEL"].vm_state_command(email=session['account'], id=id, command="force-stop")
|
||||
current_app.config["HUB_MODEL"].net_set_dhcp(email=session['account'], host_id=virt_vm['host'], network_name=virt_vm['network_name'], macs=list(virt_vm['macs'].keys()), remove_ipv4=virt_vm['public_ipv4'])
|
||||
current_app.config["HUB_MODEL"].net_set_dhcp(email=session['account'], host_id=virt_vm['host'], network_name=virt_vm['network_name'], macs=list(virt_vm['macs'].keys()), add_ipv4=None, remove_ipv4=virt_vm['public_ipv4'])
|
||||
|
||||
return redirect(f"{url_for('admin.index')}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user