{{ hostname }}
{{ hostvars[hostname].install_cooked.mem * 1024 }}
{{ hostvars[hostname].install_cooked.mem * 1024 }}
{{ hostvars[hostname].install_cooked.numcpu }}
hvm
{% if run_installer %}
{{ debian_installer_path }}/{{ install_distro }}-{{ install_codename }}/{{ hostvars[hostname].install_cooked.arch | default('amd64') }}/linux
{{ preseed_tmpdir }}/initrd.preseed.gz
console=ttyS0,115200n8
{% endif %}
destroy
{% if run_installer %}
destroy
destroy
{% else %}
restart
restart
{% endif %}
/usr/bin/kvm
/dev/urandom
{% if 'virtio' in hostvars[hostname].install_cooked.disks %}
{% for device, lv in hostvars[hostname].install_cooked.disks.virtio.items() %}
{% endfor %}
{% endif %}
{% if 'scsi' in hostvars[hostname].install_cooked.disks %}
{% for device, lv in hostvars[hostname].install_cooked.disks.scsi.items() %}
{% endfor %}
{% endif %}
{% if hostvars[hostname].install_cooked.interfaces %}
{% for if in hostvars[hostname].install_cooked.interfaces %}
{% endfor %}
{% endif %}