Actually, I need a little more because I'll start the vm, copy my test to there then execute after all turn off the vm, so I have 4 steps. Just call vmrun does not solve the problem. Is there a way to pass a rule instead of a name ?