Module: VagrantPlugins::SyncedFolderNFSGuest::ProviderDocker::Cap
- Defined in:
- lib/vagrant-nfs_guest_vbfix/providers/docker/cap/nfs_settings.rb
Class Method Summary collapse
Class Method Details
.nfs_settings(machine) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/vagrant-nfs_guest_vbfix/providers/docker/cap/nfs_settings.rb', line 6 def self.nfs_settings(machine) provider = machine.provider host_ip = provider.driver.docker_bridge_ip machine_ip = provider.ssh_info[:host] raise Vagrant::Errors::NFSNoHostonlyNetwork if !host_ip || !machine_ip return host_ip, machine_ip end |