Sha256: d321d1a5ad145d794d5c4b7a485d1cb4f6783a764822dc18400b500de9fa8b9a
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.2.0 | vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/guests/openbsd/cap/mount_nfs_folder.rb |