Skip to content

Commit

Permalink
Increase default VM specs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Romain Forlot committed Aug 14, 2019
1 parent 95bc252 commit 46341b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oz/Guest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 46341b0

Please sign in to comment.