# File lib/vagrant-lxc/driver.rb, line 183 def bridge_has_an_ip?(bridge_name) @logger.info "Checking whether the bridge #{bridge_name} has an IP" `ip -4 addr show scope global #{bridge_name}` =~ /^\s+inet ([0-9.]+)\/[0-9]+\s+/ end