Update host template to allow custom hostname.