mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
guess_mac_address reads /srv/webvirtcloud/dhcpd.conf
This commit is contained in:
parent
96982ce58b
commit
a1d5edebe2
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ def inst_graph(request, compute_id, vname):
|
|||
|
||||
@login_required
|
||||
def guess_mac_address(request, vname):
|
||||
dhcp_file = '/srv/webvirtcloud/dhcpd.hype.ipv4.conf'
|
||||
dhcp_file = '/srv/webvirtcloud/dhcpd.conf'
|
||||
data = { 'vname': vname, 'mac': '52:54:00:' }
|
||||
with open(dhcp_file, 'r') as f:
|
||||
name_found = False
|
||||
|
|
Loading…
Reference in a new issue