Sha256: 3c0488deb50c5cd32dc1b4dcf2b3067414a81a0b622f1d9e32df67db4dfee0fd

Contents?: true

Size: 438 Bytes

Versions: 11

Compression:

Stored size: 438 Bytes

Contents

module VagrantPlugins
  module SyncedFolderNFSGuest
    module ProviderDocker
      module Cap

        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
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-nfs_guest-1.0.5 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-1.0.3 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-1.0.2 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-1.0.0 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-0.1.11 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-0.1.10 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-0.1.9 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest_vbfix-0.1.10 lib/vagrant-nfs_guest_vbfix/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest_vbfix-0.1.9 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-0.1.8 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb
vagrant-nfs_guest-0.1.7 lib/vagrant-nfs_guest/providers/docker/cap/nfs_settings.rb