{{ install_hostname }} {{ ((hostvars[install_hostname].install_cooked.vm.memory | human_to_bytes) / 1024) | int }} {{ ((hostvars[install_hostname].install_cooked.vm.memory | human_to_bytes) / 1024) | int }} {{ hostvars[install_hostname].install_cooked.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=true {% 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 'virtio' in hostvars[install_hostname].install_cooked.disks %} {% for device, src in hostvars[install_hostname].install_cooked.disks.virtio.items() %} {% if src.type == 'lvm' %} {% elif src.type == 'zfs' %} {% endif %} {% endfor %} {% endif %} {% if 'scsi' in hostvars[install_hostname].install_cooked.disks %} {% for device, src in hostvars[install_hostname].install_cooked.disks.scsi.items() %} {% if src.type == 'lvm' %} {% elif src.type == 'zfs' %} {% endif %} {% endfor %} {% endif %} {% if hostvars[install_hostname].install_cooked.interfaces %} {% for if in hostvars[install_hostname].install_cooked.interfaces %} {% if 'mac' in if %} {% endif %}
{% endfor %} {% endif %}