From ecc862f6cbe9bd78b16707a3399a8ba170161456 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sat, 28 Sep 2013 01:34:26 -0300 Subject: [PATCH] Log container's mac address to ease debugging --- lib/vagrant-lxc/action/fetch_ip_from_dnsmasq_leases.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/action/fetch_ip_from_dnsmasq_leases.rb b/lib/vagrant-lxc/action/fetch_ip_from_dnsmasq_leases.rb index 88e2264..ee0325e 100644 --- a/lib/vagrant-lxc/action/fetch_ip_from_dnsmasq_leases.rb +++ b/lib/vagrant-lxc/action/fetch_ip_from_dnsmasq_leases.rb @@ -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