Sha256: 3d1b6fe95b51d023ff977e1581f60a86a4415e0912b10f7cefb442143ead64d7

Contents?: true

Size: 399 Bytes

Versions: 16

Compression:

Stored size: 399 Bytes

Contents

module VagrantPlugins
  module GuestOpenBSD
    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

16 entries across 13 versions & 6 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/plugins/guests/openbsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-unbundled-1.8.4.2 plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-unbundled-1.8.4.1 plugins/guests/openbsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/plugins/guests/openbsd/cap/mount_nfs_folder.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-unbundled-1.8.1.2 plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-unbundled-1.8.1.1 plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/guests/openbsd/cap/mount_nfs_folder.rb
tnargav-1.3.6 plugins/guests/openbsd/cap/mount_nfs_folder.rb
tnargav-1.3.3 plugins/guests/openbsd/cap/mount_nfs_folder.rb
vagrant-guests-openbsd-0.0.3 lib/vagrant-guests-openbsd/cap/mount_nfs_folder.rb