vagrant/plugins/providers/virtualbox/action/destroy_unused_network_inte...

17 lines
338 B
Ruby
Raw Normal View History

2012-08-14 06:31:12 +00:00
module VagrantPlugins
module ProviderVirtualBox
module Action
class DestroyUnusedNetworkInterfaces
def initialize(app, env)
@app = app
end
def call(env)
env[:machine].provider.driver.delete_unused_host_only_networks
@app.call(env)
end
end
end
end
end