From a1d5edebe2f054e95124193f93135e311a0e99db Mon Sep 17 00:00:00 2001 From: Jan Krcmar Date: Thu, 11 Feb 2016 12:56:36 +0100 Subject: [PATCH] guess_mac_address reads /srv/webvirtcloud/dhcpd.conf --- instances/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/views.py b/instances/views.py index 314148f..57caf46 100644 --- a/instances/views.py +++ b/instances/views.py @@ -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