diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-07 21:42:58 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-08 17:52:51 +0000 |
commit | 56aa88c7e272ccfd645695103d5bca653005aad4 (patch) | |
tree | 757e44da79e5d6cf8c9f572ef6c426d91fb169c6 /roles/vmm/templates/vm.conf.j2 | |
parent | ee9a624949497a4a3944b24e1b3d9c192dd3d444 (diff) | |
download | rules-56aa88c7e272ccfd645695103d5bca653005aad4.tar.gz |
roles/vmm: Use host kernels for openbsd guests
Diffstat (limited to 'roles/vmm/templates/vm.conf.j2')
-rw-r--r-- | roles/vmm/templates/vm.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ -11,6 +11,9 @@ 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 }}" interface { |