Merge pull request #4694 from legal90/devel
providers/virtualbox: Remove unused method "using_nfs?"
This commit is contained in:
commit
3529de364f
|
@ -30,13 +30,6 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
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
|
# Extracts the proper host and guest IPs for NFS mounts and stores them
|
||||||
# in the environment for the SyncedFolder action to use them in
|
# in the environment for the SyncedFolder action to use them in
|
||||||
# mounting.
|
# mounting.
|
||||||
|
|
Loading…
Reference in New Issue