Revert "Add an option to change the device hostname (2/2)."

This reverts commit 70af5ddc798e0b8c2f4fae8b9c08b6b0d4a84960.

Change-Id: Ie1db4db35389f548bd3ad401f251e9ab307dfc11