core-admin/qubes
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
..
api Update windows-related feature requests 2018-07-16 22:02:58 +02:00
ext Update windows-related feature requests 2018-07-16 22:02:58 +02:00
qmemman qmemman: fix early crash 2018-01-18 17:36:37 +01:00
storage Merge branch 'lvm-snapshots' 2018-07-16 16:40:35 +02:00
tests Make some properties default to template's value (if any) 2018-07-16 22:02:58 +02:00
tools qmemman: do not close stdout/stderr in daemon mode 2018-01-18 17:36:37 +01:00
vm Make some properties default to template's value (if any) 2018-07-16 22:02:58 +02:00
__init__.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
app.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
backup.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
config.py Add IPv6 related VM properties 2017-12-07 01:40:30 +01:00
core2migration.py Make pylint happy 2017-12-21 18:19:10 +01:00
devices.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
dochelpers.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
events.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
exc.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
firewall.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00