Sha256: 436c2927a67d33b9a579394428f8cd07fd2e0947e5a9d8efa75fcff864425d15

Contents?: true

Size: 470 Bytes

Versions: 14

Compression:

Stored size: 470 Bytes

Contents

module Vagrant
  module LXC
    module Action
      class Disconnect
        def initialize(app, env)
          @app = app
        end

        def call(env)
          @app.call env
          # FIXME: Vagrant >= 1.1.3 should not need this
          #          https://github.com/mitchellh/vagrant/compare/715539eac30bc9ae62ddbb6337d13f036f7b774d...ec1bae0#L2R128
          env[:machine].instance_variable_set(:@communicator, nil)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vagrant-lxc-0.8.0 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.7.0 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.6.4 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.6.3 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.6.2 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.6.1 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.6.0 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.5.0 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.4.0 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.3.4 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.3.3 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.3.2 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.3.1 lib/vagrant-lxc/action/disconnect.rb
vagrant-lxc-0.3.0 lib/vagrant-lxc/action/disconnect.rb