Update DeployVirtuaMachine function

Make virtualzation type variable.