VirtualBox 5.0.12 r104815
Any hints or help appreciated!
tia!
This worked before El Capitan.
Kind regards
Wolfgang Klinger
Vagrant.configure(2) do |config|
config.vm.box = "cbednarski/ubuntu-1404"
config.vm.network "private_network", ip: "192.168.33.10"
end
If still doesn't work, please run this:
ifconfig 2>&1 | grep -B2 -i '192.168.33'
And using the VirtualBox gui -> preferences -> network -> host only network,. delete that interface and let Vagrant to create it again.
Full output:
root@ubuntu-1404-vbox:~# ping 10.0.2.2
PING 10.0.2.2 (10.0.2.2) 56(84) bytes of data.
64 bytes from 10.0.2.2: icmp_seq=1 ttl=63 time=0.165 ms
^C
--- 10.0.2.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.165/0.165/0.165/0.000 ms
root@ubuntu-1404-vbox:~# ssh -XY kik...@10.0.2.2
The authenticity of host '10.0.2.2 (10.0.2.2)' can't be established.
ECDSA key fingerprint is e4:29:24:62:83:c2:22:99:38:e0:a0:63:f5:17:db:d4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.2.2' (ECDSA) to the list of known hosts.
Password:
mini:~ kikitux$
Added the network ip, and works for me:
mini:ubuntu1404 kikitux$ vagrant ssh -c "sudo su -"
root@ubuntu-1404-vbox:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 08:00:27:5b:04:72
inet addr:192.168.33.10 Bcast:192.168.33.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe5b:472/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:231 (231.0 B) TX bytes:1526 (1.5 KB)
root@ubuntu-1404-vbox:~# ping 192.168.33.1
PING 192.168.33.1 (192.168.33.1) 56(84) bytes of data.
64 bytes from 192.168.33.1: icmp_seq=1 ttl=64 time=0.577 ms
64 bytes from 192.168.33.1: icmp_seq=2 ttl=64 time=0.466 ms
^C
--- 192.168.33.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.466/0.521/0.577/0.060 ms
root@ubuntu-1404-vbox:~# ssh kik...@192.168.33.1
The authenticity of host '192.168.33.1 (192.168.33.1)' can't be established.
ECDSA key fingerprint is e4:29:24:62:83:c2:22:99:38:e0:a0:63:f5:17:db:d4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.33.1' (ECDSA) to the list of known hosts.
Password:
mini:~ kikitux$
Thanks
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5a1734d0-7d00-4398-8b8f-8b46a03d038b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vagrant.configure(2) do |config|
config.vm.box = "cbednarski/ubuntu-1404"
config.vm.network "private_network", ip: "192.168.33.10"
end
Can you share your Vagrantfile?
Thanks
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
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 vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2e1cd8d3-921e-4d32-9dfe-ef5f46a4614e%40googlegroups.com.