Merge pull request #2200 from mikerowehl/virtualbox_destroy_unused_interfaces_fix
providers/virtualbox: call rest of destroy middleware stack
This commit is contained in:
commit
1900f5ecc2
|
@ -13,10 +13,10 @@ module VagrantPlugins
|
||||||
if env[:machine].provider_config.destroy_unused_network_interfaces
|
if env[:machine].provider_config.destroy_unused_network_interfaces
|
||||||
@logger.info("Destroying unused network interfaces...")
|
@logger.info("Destroying unused network interfaces...")
|
||||||
env[:machine].provider.driver.delete_unused_host_only_networks
|
env[:machine].provider.driver.delete_unused_host_only_networks
|
||||||
|
end
|
||||||
@app.call(env)
|
@app.call(env)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue