Commit graph

8 commits

Author SHA1 Message Date
Fabio Rehm 2db9aa89a1 action/ip_from_dnsmasq: Handle nil container hwaddr value 2014-05-12 23:56:39 -03:00
Kristof Willaert 6b5c00089d Make MAC address regex check case insensitive
The regex check for the container MAC address presence in the
dnsmasq leases file is case sensitive. Dnsmasq outputs uppercase
addresses in the leases file.

As MAC addresses are generally considered case insensitive, it
makes sense to relax the regular expression check to allow for this.
2014-05-08 14:30:14 +02:00
Marcin Kulisz e84f9e2b4a Added dnsmasq leases file location for libvirt 2014-03-13 09:49:24 +00:00
Fabio Rehm ecc862f6cb Log container's mac address to ease debugging 2013-09-28 01:46:26 -03:00
Fabio Rehm b5378c7c42 Add support for reading from Ubuntu's default /var/lib/misc/dnsmasq.lxcbr0.leases 2013-07-31 23:01:08 -03:00
Fabio Rehm 1ef2c5bcad Simplify dnsmasq leases lookup 2013-07-31 23:00:35 -03:00
Fabio Rehm 4bb70fb252 Moar debugging when trying to fetch the IP from dnsmasq leases 2013-07-31 23:00:20 -03:00
Fabio Rehm 0385a64d31 Replace ugly driver builder with a more intelligent approach
References #118
2013-07-29 12:08:24 -03:00
Renamed from lib/vagrant-lxc/driver/fetch_ip_from_dnsmasq.rb (Browse further)