Merge pull request #4694 from legal90/devel

providers/virtualbox: Remove unused method "using_nfs?"
This commit is contained in:
Mitchell Hashimoto 2014-10-23 08:30:17 -07:00
commit 3529de364f
1 changed files with 0 additions and 7 deletions

View File

@ -30,13 +30,6 @@ module VagrantPlugins
end
end
# We're using NFS if we have any synced folder with NFS configured. If
# we are not using NFS we don't need to do the extra work to
# populate these fields in the environment.
def using_nfs?
@machine.config.vm.synced_folders.any? { |_, opts| opts[:type] == :nfs }
end
# Extracts the proper host and guest IPs for NFS mounts and stores them
# in the environment for the SyncedFolder action to use them in
# mounting.