mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
config: If --test-first-run, fill in some default package names
Simplifies testing the feature from git
This commit is contained in:
parent
69449d7b94
commit
08a7eaed4d
@ -178,6 +178,14 @@ class vmmConfig(object):
|
||||
self.default_hvs = CLIConfig.default_hvs
|
||||
self.cli_usbredir = None
|
||||
|
||||
if self.test_first_run:
|
||||
# Populate some package defaults to simplify git testing
|
||||
if not self.libvirt_packages:
|
||||
self.libvirt_packages = ["libvirt-daemon",
|
||||
"libvirt-daemon-config-network"]
|
||||
if not self.hv_packages:
|
||||
self.hv_packages = ["qemu-kvm"]
|
||||
|
||||
self.default_storage_format_from_config = "qcow2"
|
||||
self.cpu_default_from_config = CPU.SPECIAL_MODE_HOST_MODEL_ONLY
|
||||
self.default_console_resizeguest = 0
|
||||
|
Loading…
Reference in New Issue
Block a user