Getting deployment to work on a managed VM