NetworkManager and ifupdown depend on hostname.