Deploy vm from a pattern