This updates the guest capabilities to run in as few communicator commands as possible. Additionally, it fixes a number of issues around hostname and idempotency. This patch was tested against: - puphpet/debian75-x64 - debian/jessie64 - debian/wheezy64 with custom networking, custom hostname, and rsync shared folders.
16 lines
346 B
Ruby
16 lines
346 B
Ruby
module VagrantPlugins
|
|
module GuestDebian
|
|
module Cap
|
|
class NFSClient
|
|
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
|
|
EOH
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|