Allow hostname to be set from dhcp.

Requires workaround for dhcp client scripts. See
http://blog.schlomo.schapiro.org/2013/11/setting-hostname-from-dhcp-in-debian.html
for more details.