2014-01-10 00:58:20 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module GuestDebian
|
|
|
|
module Cap
|
2016-06-25 01:17:45 +00:00
|
|
|
class NFS
|
2014-01-10 00:58:20 +00:00
|
|
|
def self.nfs_client_install(machine)
|
2016-06-05 01:31:41 +00:00
|
|
|
comm = machine.communicate
|
|
|
|
comm.sudo <<-EOH.gsub(/^ {12}/, '')
|
2016-06-25 01:17:45 +00:00
|
|
|
set -e
|
2016-06-05 01:31:41 +00:00
|
|
|
apt-get -yqq update
|
|
|
|
apt-get -yqq install nfs-common portmap
|
|
|
|
EOH
|
2014-01-10 00:58:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|