/etc/hosts: include entry for local hostname

Systems installed by d-i get such an entry, but chroots created with debootstrap don't. That sometimes causes issues, e.g. cups fails to build in a chroot that doesn't have an entry for the local hostname.

This patch makes /etc/hosts in chroots consistent with the one in systems installed by d-i.

Merge request reports

Loading