From 6136ebb9663ea7ca36b20c0c7d18c204d79288ad Mon Sep 17 00:00:00 2001 From: Andriy Date: Mon, 16 Mar 2015 19:34:40 +0200 Subject: [PATCH] Update driver.rb Fixing https://github.com/fgrehm/vagrant-lxc/issues/353 issue --- lib/vagrant-lxc/driver.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/vagrant-lxc/driver.rb b/lib/vagrant-lxc/driver.rb index 5e87b8a..918dbd7 100644 --- a/lib/vagrant-lxc/driver.rb +++ b/lib/vagrant-lxc/driver.rb @@ -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}"