Sha256: c6e69f83a285cb6956b387039fba3f607d7cd581c6e698fc0321672f4c956094

Contents?: true

Size: 399 Bytes

Versions: 12

Compression:

Stored size: 399 Bytes

Contents

module VagrantPlugins
  module GuestFreeBSD
    module Cap
      class MountNFSFolder
        def self.mount_nfs_folder(machine, ip, folders)
          folders.each do |name, opts|
            machine.communicate.sudo("mkdir -p #{opts[:guestpath]}")
            machine.communicate.sudo("mount '#{ip}:#{opts[:hostpath]}' '#{opts[:guestpath]}'")
          end
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tnargav-1.3.6 plugins/guests/freebsd/cap/mount_nfs_folder.rb
tnargav-1.3.3 plugins/guests/freebsd/cap/mount_nfs_folder.rb
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tnargav-1.2.3 plugins/guests/freebsd/cap/mount_nfs_folder.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/mount_nfs_folder.rb
vagrant-shell-0.2.6 vendor/bundle/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/mount_nfs_folder.rb
vagrant-shell-0.2.5 vendor/bundle/gems/tnargav-1.2.2/plugins/guests/freebsd/cap/mount_nfs_folder.rb
tnargav-1.2.2 plugins/guests/freebsd/cap/mount_nfs_folder.rb