Update driver.rb

Fixing https://github.com/fgrehm/vagrant-lxc/issues/353 issue
This commit is contained in:
Andriy 2015-03-16 19:34:40 +02:00 committed by Franz Pletz
parent 9b70f3daab
commit 6136ebb966

View file

@ -191,6 +191,11 @@ module Vagrant
end end
def remove_bridge(bridge_name) def remove_bridge(bridge_name)
if bridge_name == "lxcbr0"
@logger.info "Skipping removal system bridge #{bridge_name}"
return
end
return unless bridge_exists?(bridge_name) return unless bridge_exists?(bridge_name)
@logger.info "Removing bridge #{bridge_name}" @logger.info "Removing bridge #{bridge_name}"