diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 2829b0f9..a2c80287 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -43,7 +43,11 @@ {{ vm.storage.kernels_dir }}/initramfs {% endif %} {% if vm.kernel %} + {% if vm.features.check_with_template('no-default-kernelopts', False) -%} + {{ vm.kernelopts }} + {% else -%} root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 {{ vm.kernelopts }} + {% endif -%} {% endif %} {% endblock %}