Update driver.rb
Fixing https://github.com/fgrehm/vagrant-lxc/issues/353 issue
This commit is contained in:
parent
9b70f3daab
commit
6136ebb966
1 changed files with 5 additions and 0 deletions
|
@ -191,6 +191,11 @@ module Vagrant
|
|||
end
|
||||
|
||||
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)
|
||||
|
||||
@logger.info "Removing bridge #{bridge_name}"
|
||||
|
|
Loading…
Reference in a new issue