winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
570 stars 61 forks source link

No guest IP was given to the Vagrant core NFS helper. #88

Open hovissimo opened 8 years ago

hovissimo commented 8 years ago

I'm seeing No guest IP was given to the Vagrant core NFS helper. This is an internal error that should be reported as a bug. when I vagrant up test.

No error, and things work fine (but slowly) if I take off type: "nfs"

Win 10 host. Relevant parts of the Vagrantfile:

config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder ".", "/vagrant", type: "nfs"
config.vm.define "test" do |test|
  test.vm.box = "box-cutter/ubuntu1404-desktop"
  test.vm.provision :shell, path: "vagrant/provision_test.sh"
  test.vm.provider "virtualbox" do |v|
    v.gui = true
  end
end
config.vm.provider "virtualbox" do |v|
  v.memory = 2048
  v.cpus = 4
end
jstuyts commented 8 years ago

I have the same host environment and a FreeBSD guest. I get the same error message, but using a static IP address for the private network resolves that.

bernhardberger commented 8 years ago

I get the same message.

No guest IP was given to the Vagrant core NFS helper. This is an internal error that should be reported as a bug.

Relevant parts:

Vagrant.configure("2") do |config|
    config.vm.box = "ubuntu/trusty64"

    config.vm.network :private_network, type: :dhcp

     config.vm.synced_folder ".", "/vagrant",
        type: "nfs"

    config.hostmanager.manage_host = true
    config.hostmanager.manage_guest = false
    config.hostmanager.ignore_private_ip = false
    config.hostmanager.include_offline = true

Thing is that I can't just hardcode the IPs as I need to have multiple vagrant boxes running at the same time

Luc45 commented 6 years ago

+1