Sha256: b8ba9be1f69abe0b83dfb821082c9321141c750295c547de8deec93a2dcdcdc1
Contents?: true
Size: 412 Bytes
Versions: 17
Compression:
Stored size: 412 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
17 entries across 17 versions & 1 rubygems