{{ inventory_hostname }} {{ ((install.vm.memory | human_to_bytes) / 1024) | int }} {{ ((install.vm.memory | human_to_bytes) / 1024) | int }} {{ install.vm.numcpus }} hvm {% if vm_define_installer %} {% if install_distro == 'debian' or install_distro == 'ubuntu' %} {{ installer_tmpdir }}/linux {{ installer_tmpdir }}/initrd.gz console=ttyS0,115200n8 auto {% elif install_distro == 'openbsd' %} {% endif %} {% else %} {% endif %} destroy {% if vm_define_installer %} destroy destroy {% else %} restart restart {% endif %} /usr/bin/kvm /dev/random {% if vm_define_installer and install_distro == 'openbsd' %} {% endif %} {% if install.disks %} {% if 'scsi' in install.disks %} {% endif %} {% for bus in ['virtio', 'scsi'] %} {% for device, src in (install.disks[bus] | default({})).items() %} {% if src.type == 'lvm' %} {% elif src.type == 'zfs' %} {% elif src.type == 'blockdev' %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% if install.interfaces %} {% for if in install.interfaces %} {% if 'mac' in if %} {% endif %}
{% endfor %} {% endif %}