cleanup, set tmpfile after setting hostname