hostname configuration

Signed-off-by: Conke Hu <conke.hu@maxwit.com>
rename and add dep

Signed-off-by: Conke Hu <conke.hu@maxwit.com>