Sha256: d71304bc180bf750812238e88416003ca540138a3c125a19a99dfde652f01783

Contents?: true

Size: 397 Bytes

Versions: 63

Compression:

Stored size: 397 Bytes

Contents

module VagrantPlugins
  module ProviderVirtualBox
    module Action
      class PrepareNFSValidIds
        def initialize(app, env)
          @app = app
          @logger = Log4r::Logger.new("vagrant::action::vm::nfs")
        end

        def call(env)
          env[:nfs_valid_ids] = env[:machine].provider.driver.read_vms.values
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

63 entries across 56 versions & 8 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb