def deleteSnapshot(self, vmx, snapshot):
        sys.stdout.write("[%s] Deleting snapshot %s.\n" % (vmx, snapshot))
        self._run_cmd(vmx, "deleteSnapshot", [snapshot])