core: inherit kernelopts from the template by default
Fixes qubesos/qubes-issues#1091
This commit is contained in:
parent
7e79cd20a8
commit
da0e5dd4ba
@ -146,6 +146,7 @@ class QubesVm(object):
|
||||
"order": 31,
|
||||
"func": lambda value: value if not self.uses_default_kernelopts\
|
||||
else defaults["kernelopts_pcidevs"] if len(self.pcidevs)>0 \
|
||||
else self.template.kernelopts if self.template
|
||||
else defaults["kernelopts"] },
|
||||
"mac": { "attr": "_mac", "default": None },
|
||||
"include_in_backups": {
|
||||
|
@ -111,8 +111,10 @@ kernelopts
|
||||
VM kernel parameters (available only for PV VMs). This can be used to
|
||||
workaround some hardware specific problems (eg for NetVM). Setting to
|
||||
``default`` will use some reasonable defaults (currently different for VMs
|
||||
with PCI devices and without). Some helpful options (for debugging
|
||||
purposes): ``earlyprintk=xen``, ``init=/bin/bash``
|
||||
with PCI devices and without). For VM without PCI devices
|
||||
``default`` option means inherit this value from the VM template (if any).
|
||||
Some helpful options (for debugging purposes): ``earlyprintk=xen``,
|
||||
``init=/bin/bash``
|
||||
|
||||
name
|
||||
Accepted values: alphanumerical name
|
||||
|
Loading…
Reference in New Issue
Block a user