providers/virtualbox: Remove unused method "using_nfs?"

Related to [GH-4344]
This commit is contained in:
Mikhail Zholobov 2014-10-23 11:04:21 +04:00
parent 30c8f0708f
commit 5197945e56
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.