{%- if 'frontend-dev' in options %} {%- elif options.get('devtype', 'disk') == 'cdrom' and not vm.kernel %} {%- else %} {% set i = i + 1 %} {%- endif %} {%- if options.get('read-only', 'no') == 'yes' %} {%- endif %} {%- if device.backend_domain.name != 'dom0' %} {%- endif %}