#793942 rootskel: Support `hostname -f` command when unavailable in dns

#793942#5
Date:
2015-07-29 08:26:36 UTC
From:
To:
Dear Maintainer,

When running d-i in a dhcp environment and when fqdn is only provided
with dhcp and not available dns, udhcpc will drop the domainname in
/etc/hosts like:

But `hostname -d` will never read this file because the nsswitch.conf is
incorrectly configured (will only query dns by default). A patch is
provided to fix this.

Thanks!