Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: hostname (Ubuntu) Status: New => Confirmed
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to hostname in Ubuntu. https://bugs.launchpad.net/bugs/1573015 Title: xenial cloudimage with missing hostname on hosts Status in hostname package in Ubuntu: Confirmed Bug description: Install Vagrant / Virtualbox On Terminal run: $> vagrant init Edit the Vagrantfile to change the box name from "base" to "ubuntu/xenial64" Then on the terminal again do: $> vagrant up After installing do: $> vagrant ssh $> sudo su You will get a message stating: "sudo: unable to resolve host ubuntu- xenial" The reason for this message is because the entry on /etc/hostname (which have "ubuntu-xenial") doesn't exist on /etc/hosts To Fix: Edit the /etc/hosts: $> sudo vim /etc/hosts (for instance) And on the entry: 127.0.0.1 localhost Change to: 127.0.0.1 localhost ubuntu-xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hostname/+bug/1573015/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp