[Bug 1561250] Re: Xenial vagrant image is missing its hostname in /etc/hosts

Dan Watkins daniel.watkins at canonical.com
Tue Jul 5 08:05:22 UTC 2016


Hello all,

The Vagrant boxes are important to us, and we do want them to be a high-
quality Ubuntu experience.  That said, our limited resources have been
focussed on improving that experience in the images which people use in
production.  We would like to have the time to work on everything that
needs attention but, regrettably, that isn't the situation we're in.

Louis Zuckerman has very kindly taken the time to work out how the
images are built, and contributed a patch which may address this; I've
built a (yakkety) box from his changes at
http://people.canonical.com/~dwatkins/livecd.ubuntu-cpc.vagrant.box;
please test it and let me know if it resolves this issue.


Thanks,

Dan

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1561250

Title:
  Xenial vagrant image is missing its hostname in /etc/hosts

Status in cloud-images:
  Confirmed
Status in livecd-rootfs package in Ubuntu:
  Confirmed

Bug description:
  The vagrant build for xenial is missing an in /etc/hosts. This
  generates an error when running sudo.

  ubuntu at ubuntu-xenial:~$ cat /etc/hosts
  127.0.0.1 localhost

  # The following lines are desirable for IPv6 capable hosts
  ::1 ip6-localhost ip6-loopback
  fe00::0 ip6-localnet
  ff00::0 ip6-mcastprefix
  ff02::1 ip6-allnodes
  ff02::2 ip6-allrouters
  ff02::3 ip6-allhosts
  ubuntu at ubuntu-xenial:~$ sudo echo see the error ^^^^
  sudo: unable to resolve host ubuntu-xenial
  see the error ^^^^
  ubuntu at ubuntu-xenial:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1561250/+subscriptions



More information about the foundations-bugs mailing list