7

```
me@host $ vagrant init bento/centos-7.2
me@host $ vagrant up && vagrant ssh

me@vm $ ping google.com
error: unknow host
```

ARE YOU FUCKING KIDDING ME

I FUCKING REINSTALLED BOTH, VIRTUALSHITBOX AND VAGRANTFUCK; THIS IS FROM FUCKING SCRATCH, WHAT THE FUCKING SHITFUCK DO YOU MEAN WITH UNKNOWN HOST???

Comments
  • 1
    looks like its not getting nameservers . . :/
  • 0
    Any idea how to fix it?, NAT is on
  • 2
    @rephiscorth

    this should set your nameservers if they aren't already set. Might be something else tho

    /etc/resolvconf/resolvconf.d/head

    nameserver 8.8.8.8

    nameserver 8.8.4.4 # or whatever dns u want

    - - - - - - -

    resolvconf -u

    systemctl restart systemd-networkd

    - - - - - - -

    could also set from

    /etc/network/interfaces

    iface (Device Name} inet static

    # . . . other network settings . . . . .

    dns-nameservers 8.8.8.8 8.8.4.4
Add Comment