ubuntu/xenial vagrant box has /etc/hosts misconfigured
I'm using the ubuntu/xenial-64 vagrant box from this location: https:/
Trying to start it up gives me this error:
Stdout from the command:
Stderr from the command:
sudo: unable to resolve host ubuntu-xenial
mesg: ttyname failed: Inappropriate ioctl for device
hostname: Name or service not known
Logging into the box and running hostname -f also returns the same error.
cat /etc/hostname shows ubunu-xenial
ubuntu-xenial should also be set in /etc/hosts, but is not.
Adding ubuntu-xenial to 127.0.0.1 will allow the hostname -f command to execute correctly.