Add support for /etc/hostname

Change-Id: I982ad2b295447c42c55f810bf14aa68ff1d1a5f6