setting hostname to node name