{% if prepare_dvm %}%NAME%{% else %}{{ vm.name }}{% endif %} {{ vm.uuid }} {{ vm.maxmem }} {{ vm.memory }} {{ vm.vcpus }} {% if vm.hvm %} hvm hvmloader {% else %} linux {{ vm.storage.kernels_dir }}/vmlinuz {{ vm.storage.kernels_dir }}/initramfs root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH 3 {{ vm.kernelopts }} {% endif %} {% if vm.hvm %} {% set timezone = vm.features.check_with_template('timezone', 'localtime').lower() %} {% if timezone == 'localtime' %} {% elif timezone.isdigit() %} {% else %} {% endif %} {% else %} {% endif %} destroy destroy destroy {# {% for device in vm.storage %} {% if not device.rw %} {% endif %} {% if device.domain %} {% endif %} {% if device.script %} {% endif %} {% endfor %} #} {{ vm.storage.root_dev_config() }} {% if not prepare_dvm %}{{ vm.storage.private_dev_config() }}{% endif %} {{ vm.storage.other_dev_config() }} {% if not vm.hvm %} {{ vm.storage.volatile_dev_config() }} {% endif %} {% if vm.netvm %} {% endif %} {% for device in vm.devices.pci %}
{% endfor %} {% if vm.hvm %}