module VagrantPlugins::ProviderLibvirt::Util::Nfs

Public Instance Methods

using_nfs?() click to toggle source

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.

# File lib/vagrant-libvirt/util/nfs.rb, line 13
def using_nfs?
  !!synced_folders(@machine)[:nfs]
end