From dacc97b581a7cd11fb18fb180ee917469936976c Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 17 May 2022 07:29:31 +0200 Subject: [PATCH] copr-be-dev: correctly start Power9 machines with 4 CPUs --- roles/copr/backend/templates/provision/libvirt-new | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/provision/libvirt-new b/roles/copr/backend/templates/provision/libvirt-new index e01b9f29c3..850971ddcc 100755 --- a/roles/copr/backend/templates/provision/libvirt-new +++ b/roles/copr/backend/templates/provision/libvirt-new @@ -117,7 +117,7 @@ class LibvirtSpawner: # The Power9 machine has not enough storage to host 2CPU/VM. Let's # double the quote on CPU (at least for now). if host_id in [6]: - cpu_count = 4 + self.cpu_count = 4 self.workdir = tempfile.mkdtemp() self.script_path = os.path.dirname(os.path.realpath(__file__))