Sha256: 3c77833fa13fc35422c76d49d745a8cb664c4d6f39ef057f0f2cda3b99a89c0b
Contents?: true
Size: 411 Bytes
Versions: 5
Compression:
Stored size: 411 Bytes
Contents
module VagrantPlugins module ProviderLibvirt 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.connection.servers.all.map(&:id) @app.call(env) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems