Sha256: 9b7accf1ccefd876f8021d6c761afdd3f6e7da092465b19071e07d8d5b32e3fd

Contents?: true

Size: 338 Bytes

Versions: 13

Compression:

Stored size: 338 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
tnargav-1.2.3 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrant-shell-0.2.6 vendor/bundle/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrant-shell-0.2.5 vendor/bundle/gems/tnargav-1.2.2/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
tnargav-1.2.2 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrantup-1.1.3 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrantup-1.1.2 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrantup-1.1.1 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrantup-1.1.0 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrantup-1.1.4 plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrant-actionio-0.0.9 vendor/bundle/bundler/gems/vagrant-c74251a1d9c0/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb
vagrant-lxc-0.0.1 vendor/vagrant/plugins/providers/virtualbox/action/destroy_unused_network_interfaces.rb