Determine hostname while installation