core-admin/qubes/tests
Marek Marczykowski-Górecki af2435c0d4
Make some properties default to template's value (if any)
Multiple properties are related to system installed inside the VM, so it
makes sense to have them the same for all the VMs based on the same
template. Modify default value getter to first try get the value from a
template (if any) and only if it fails, fallback to original default
value.
This change is made to those properties:
 - default_user (it was already this way)
 - kernel
 - kernelopts
 - maxmem
 - memory
 - qrexec_timeout
 - vcpus
 - virt_mode

This is especially useful for manually installed templates (like
Windows).

Related to QubesOS/qubes-issues#3585
2018-07-16 22:02:58 +02:00
..
integ Merge branch 'lvm-snapshots' 2018-07-16 16:40:35 +02:00
tools Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
vm Make some properties default to template's value (if any) 2018-07-16 22:02:58 +02:00
__init__.py tests: collect all SIGCHLD before cleaning event loop 2018-07-12 16:52:47 +02:00
api_admin.py api/admin: expose volume path in admin.vm.volume.Info 2018-07-12 16:52:48 +02:00
api_misc.py Update windows-related feature requests 2018-07-16 22:02:58 +02:00
api.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
app.py app: kill default_fw_netvm property 2017-12-07 01:40:29 +01:00
devices_block.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
devices.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
events.py events: add support for wildcard event handlers 2018-01-06 00:40:19 +01:00
ext.py Update windows-related feature requests 2018-07-16 22:02:58 +02:00
extra.py tests: fix loading tests for templates 2018-07-15 21:57:34 +02:00
firewall.py tests: fix firewall tests after 6e8e48e3 "Avoid UTC datetime" 2018-03-22 01:47:41 +01:00
init.py remove unused netid code 2017-11-11 02:37:37 +01:00
run.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
storage_file.py Merge branch 'devel-storage-fixes' 2018-03-21 02:06:25 +01:00
storage_kernels.py storage/kernel: skip modules.img block device if kernel dir doesn't have it 2018-02-27 04:35:05 +01:00
storage_lvm.py tests: fix handling app.pools iteration 2018-07-15 21:31:48 +02:00
storage.py file-reflink, a storage driver optimized for CoW filesystems 2018-02-12 21:20:05 +00:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00