copr-be-dev: correctly start Power9 machines with 4 CPUs

This commit is contained in:
Pavel Raiskup 2022-05-17 07:29:31 +02:00
parent c8353a0124
commit dacc97b581

View file

@ -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__))