hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.23k stars 4.43k forks source link

13.10 Ubuntu setting the hostname is wrong and cannot be resolved #3455

Closed jimmykane closed 10 years ago

jimmykane commented 10 years ago

Vagrant sets at /etc/hosts/

127.0.1.1   host.fqdn.com host.fqdn host

Which is incorrect and machine cannot resolve on eg sudo.

sudo: unable to resolve host

Running image:

config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/saucy/current/saucy-server-cloudimg-amd64-vagrant-disk1.box"

Vagrant version Vagrant 1.5.2

Related info:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316099

Is this intentional?

jimmykane commented 10 years ago

Sorry this was not finally my problem... Still having issues with this image and setting the hostname

mitchellh commented 10 years ago

This is related to another issue with the ubuntu cloud images. Its on page one somewhere sorry don't know the exact # off the top of my head.