vagrant/plugins/guests/debian/cap/nfs.rb

17 lines
360 B
Ruby
Raw Normal View History

module VagrantPlugins
module GuestDebian
module Cap
2016-06-25 01:17:45 +00:00
class NFS
def self.nfs_client_install(machine)
comm = machine.communicate
comm.sudo <<-EOH.gsub(/^ {12}/, '')
apt-get -yqq update
apt-get -yqq install nfs-common portmap
exit $?
EOH
end
end
end
end
end