Class: Vagrant::LXC::Action::Disconnect
- Inherits:
-
BaseAction
- Object
- BaseAction
- Vagrant::LXC::Action::Disconnect
- Defined in:
- lib/vagrant-lxc/action/disconnect.rb
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Vagrant::LXC::Action::BaseAction
Instance Method Details
#call(env) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/vagrant-lxc/action/disconnect.rb', line 5 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 |