diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-07-20 22:34:01 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-07-20 22:34:01 +0200 |
commit | 7ff35ec95420023d323e394162cd124029ea7161 (patch) | |
tree | 773e57a25d74490da230c4a605a978d76d9c6c51 /roles/vm/guest/define/templates/libvirt-domain.xml.j2 | |
parent | riot is now called element (diff) |
make debian installer fetch more generic
Diffstat (limited to 'roles/vm/guest/define/templates/libvirt-domain.xml.j2')
-rw-r--r-- | roles/vm/guest/define/templates/libvirt-domain.xml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vm/guest/define/templates/libvirt-domain.xml.j2 b/roles/vm/guest/define/templates/libvirt-domain.xml.j2 index ba0dcd5a..f2b0cfe8 100644 --- a/roles/vm/guest/define/templates/libvirt-domain.xml.j2 +++ b/roles/vm/guest/define/templates/libvirt-domain.xml.j2 @@ -7,7 +7,7 @@ <type arch='x86_64' machine='pc-0.12'>hvm</type> {% if vm_define_installer %} {% if install_distro == 'debian' or install_distro == 'ubuntu' %} - <kernel>{{ installer_base_path }}/{{ install_distro }}-{{ install_codename }}/{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}-netboot/linux</kernel> + <kernel>{{ installer_tmpdir }}/linux</kernel> <initrd>{{ installer_tmpdir }}/initrd.{{ install_hostname }}.gz</initrd> <cmdline>console=ttyS0,115200n8 DEBCONF_DEBUG=5</cmdline> <boot dev='hd'/> |