[rhel7 1/2] refactor into _setupInstallDevice (#882279)