extracted common part for the workstation installation script