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