From 31acaa82d290de532ac95d13db693dbce0c0863d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 14 Aug 2019 10:53:03 +0200 Subject: [PATCH] Increase default VM specs Increase default VM specs, this let the VM pass some timeout about Anaconda. By example the ones about loading DBus modules. With 4 vCPUs now it loads modules in time. Change-Id: I65e49c8e0b5db2e6be0fb2004174c959b57904c9 Signed-off-by: Romain Forlot --- oz/Guest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oz/Guest.py b/oz/Guest.py index 92bdc71c..257532c1 100644 --- a/oz/Guest.py +++ b/oz/Guest.py @@ -175,11 +175,11 @@ def __init__(self, tdl, config, auto, output_disk, nicmodel, clockoffset, self.bridge_name = oz.ozutil.config_get_key(config, 'libvirt', 'bridge_name', None) self.install_cpus = oz.ozutil.config_get_key(config, 'libvirt', 'cpus', - 1) + 4) # the memory in the configuration file is specified in megabytes, but # libvirt expects kilobytes, so multiply by 1024 self.install_memory = int(oz.ozutil.config_get_key(config, 'libvirt', - 'memory', 2048)) * 1024 + 'memory', 4096)) * 1024 self.image_type = oz.ozutil.config_get_key(config, 'libvirt', 'image_type', 'raw')