Sha256: ad50c6ebf70970824de96a6cbdca41b71f95a4a6fdbcefa2698487b5aac522fa
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
module VagrantPlugins module GuestOmniOS module Cap class MountNFSFolder def self.mount_nfs_folder(machine, ip, folders) su_cmd = machine.config.solaris.suexec_cmd folders.each do |name, opts| machine.communicate.execute("#{su_cmd} mkdir -p #{opts[:guestpath]}") machine.communicate.execute("#{su_cmd} /sbin/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/omnios/cap/mount_nfs_folder.rb |