On 5/25/2015 9:16 AM, Robert Dailey wrote:
I am using VirtualBox and Ubuntu/Trusty32. I ran the following to setup my VM:

$ vagrant box add ubuntu/trusty32
$ vagrant init ubunty/trusty32
$ vagrant up

I did modify my Vagrantfile a bit, since DNS resolution wasn't working
in the guest through NAT network mode. I've attached my Vagrantfile
and logs showing the TCP port forward failure for port 22:

00:00:00.973356 NAT: set redirect TCP host 0.0.0.0:2222 => guest 10.0.2.15:22
00:00:00.973441 NAT: failed to redirect TCP 0.0.0.0:2222 => 10.0.2.15:22

Note in my test, I am launching the VM directly from VirtualBox and
not through the 'vagrant' command. However both yield the same
results.

Anyone know how to fix this issue?

It appears my Vagrantfile failed to send through to the mailing list as an 
attachment. I will inline my config below.

# -*- mode: ruby -*-
# vi: set ft=ruby :

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

    config.vm.provider "virtualbox" do |vb|
        # Display the VirtualBox GUI when booting the machine
        vb.gui = true

        vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
        vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]

        # Customize the amount of memory on the VM:
        vb.memory = "1024"
    end
end

--
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to