0

I installed xubuntu-core on a usb (with debootstrap) while following this guide.

It's all successful but it still has the hostname of the laptop it was installed through. That bumps me the error sudo: unable to resolve host <UnwantedLaptopHostname> whenever I sudo, and it's generally irritating.

Can anyone please help me with sorting things out?

Oded Sayar
  • 405
  • 1
  • 5
  • 14

1 Answers1

1

Add an entry for UnwantedLaptopHostname to /etc/hosts or you DNS server, or change /etc/hostname to a name that is known by /etc/hosts or you DNS.

Florian Diesch
  • 86,013
  • 17
  • 224
  • 214