20 lines
429 B
Ruby

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
module VagrantPlugins
module GuestDebian
module Cap
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