Log container's mac address to ease debugging
This commit is contained in:
parent
bcfb7b3e00
commit
ecc862f6cb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Vagrant
|
|||
ip = nil
|
||||
10.times do
|
||||
dnsmasq_leases = read_dnsmasq_leases
|
||||
@logger.debug 'Attempting to load ip from dnsmasq leases'
|
||||
@logger.debug "Attempting to load ip from dnsmasq leases (mac: #{mac_address})"
|
||||
@logger.debug dnsmasq_leases
|
||||
if dnsmasq_leases =~ /#{Regexp.escape mac_address}\s+([0-9.]+)\s+/
|
||||
ip = $1.to_s
|
||||
|
|
Loading…
Reference in a new issue