mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +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…
	
	Add table
		Add a link
		
	
		Reference in a new issue