Update gc_private_network_bridges.rb
This commit is contained in:
parent
d2c032a073
commit
5329e8837e
1 changed files with 3 additions and 2 deletions
|
@ -35,8 +35,9 @@ module Vagrant
|
||||||
|
|
||||||
if ! driver.bridge_is_in_use?(bridge)
|
if ! driver.bridge_is_in_use?(bridge)
|
||||||
env[:ui].info I18n.t("vagrant_lxc.messages.remove_bridge", name: bridge)
|
env[:ui].info I18n.t("vagrant_lxc.messages.remove_bridge", name: bridge)
|
||||||
# TODO: Output that bridge is being removed
|
if bridge_name != "lxcbr0"
|
||||||
driver.remove_bridge(bridge)
|
driver.remove_bridge(bridge)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue