From 56aa88c7e272ccfd645695103d5bca653005aad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 7 Dec 2021 21:42:58 +0000 Subject: roles/vmm: Use host kernels for openbsd guests --- roles/vmm/templates/vm.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/vmm/templates/vm.conf.j2') diff --git a/roles/vmm/templates/vm.conf.j2 b/roles/vmm/templates/vm.conf.j2 index 8653616..32e4316 100644 --- a/roles/vmm/templates/vm.conf.j2 +++ b/roles/vmm/templates/vm.conf.j2 @@ -10,6 +10,9 @@ switch "{{ vmm_network_switch.name }}" { vm "{{ vm.name }}" { {% if vm.enabled is defined and not vm.enabled %} disable +{% endif %} +{% if vm.image == "openbsd" %} + boot "/bsd.vm.{{ vm.name }}" {% endif %} memory {{ vm.memory }} disk "{{ vmm_disk_dir }}/{{ vm.name }}.{{ vmm_disk_format }}" -- cgit v1.2.3