[compass] merge the scripts of compass-deploy-bare.sh and compass-deploy-virtual