Sets and persists node hostname