Module: VagrantPlugins::Dotvm::Injector::SharedFolder
- Extended by:
- AbstractInjector
- Defined in:
- lib/vagrant-dotvm/injector/sharedfolder.rb
Overview
Injects DotVm shared folder configuration into Vagrant
Constant Summary collapse
- OPTIONS =
[ :disabled, :create, :type, :group, :mount_options, :owner, :nfs_export, :nfs_udp, :nfs_version, :rsync__args, :rsync__auto, :rsync__chown, :rsync__exclude, :rsync__rsync_path, :rsync__verbose, :smb_host, :smb_password, :smb_username ]
Class Method Summary collapse
Methods included from AbstractInjector
generate_hash, rewrite_hash, rewrite_options
Class Method Details
.inject(folder: nil, machine: nil) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/vagrant-dotvm/injector/sharedfolder.rb', line 31 def inject(folder: nil, machine: nil) machine.vm.synced_folder( folder.host, folder.guest, **generate_hash(folder, OPTIONS) ) end |