Last active
August 29, 2015 14:15
-
-
Save ubermuda/62a11981d2ef15a53618 to your computer and use it in GitHub Desktop.
wtf in a vmware VM managed with vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant:~$ curl http://google.fr | |
curl: (6) Couldn't resolve host 'google.fr' | |
vagrant:~$ ping google.fr | |
PING google.fr (173.194.40.127) 56(84) bytes of data. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> www.google.com @192.168.173.2 | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41221 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;www.google.com. IN A | |
;; ANSWER SECTION: | |
www.google.com. 5 IN A 216.58.211.100 | |
;; Query time: 70 msec | |
;; SERVER: 192.168.173.2#53(192.168.173.2) | |
;; WHEN: Mon Feb 9 18:32:22 2015 | |
;; MSG SIZE rcvd: 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 localhost | |
127.0.1.1 planetvision.dev planetvision | |
# The following lines are desirable for IPv6 capable hosts | |
::1 localhost ip6-localhost ip6-loopback | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vim:set ft=ruby: | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubermuda/symfony2" | |
config.vm.hostname = 'planetvision.dev' | |
config.vm.synced_folder '.', '/vagrant', type: 'nfs', :mount_options => ['actimeo=1'] | |
config.vm.provision :shell, :path => 'bin/vagrant-provision' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment