def create_vm(self, vm_name):
        """Clone prebuilt VM template and start it."""

        virt_url = self._get_virt_connection_url(self.config["connection"])
        cmd = ["virt-clone", "--connect=%s" % virt_url,
               "-o", self.config["template_name"],
               "-n", vm_name, "--auto-clone"]
        subprocess.check_call(cmd)
        cmd = ["virsh", virt_url % "--connect=%s", "start", vm_name]
        subprocess.check_call(cmd)
        self.resources.create({"name": vm_name})

        return provider.Server(
            self._determine_vm_ip(vm_name),
            self.config["template_user"],
            password=self.config.get("template_password"),
        )
dataset/ETHPy150Open openstack/rally/rally/deployment/serverprovider/providers/virsh.py/VirshProvider.create_vm/swapped operands of `%`