diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/vmm/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/vmm/templates/vm.conf.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/vmm/defaults/main.yml b/roles/vmm/defaults/main.yml index e91c7a1..5ba92c6 100644 --- a/roles/vmm/defaults/main.yml +++ b/roles/vmm/defaults/main.yml @@ -10,7 +10,7 @@ vmm_default_fallback_http: true vmm_default_password: "{{ lookup('password', lookup('env', 'PWD') ~ '/files/secrets/hosts/default/root-password') }}" vmm_default_ssh_key: "{{ lookup('file', lookup('env', 'PWD') ~ '/files/keys/rgoncalves.pub') }}" -vmm_image_openbsd_kernel_prefix: /bsd.vm +vmm_image_openbsd_kernel_prefix: /bsd.vmm vmm_network_forwarded_ips: ["", 6] diff --git a/roles/vmm/templates/vm.conf.j2 b/roles/vmm/templates/vm.conf.j2 index 32e4316..df15c7b 100644 --- a/roles/vmm/templates/vm.conf.j2 +++ b/roles/vmm/templates/vm.conf.j2 @@ -12,7 +12,7 @@ vm "{{ vm.name }}" { disable {% endif %} {% if vm.image == "openbsd" %} - boot "/bsd.vm.{{ vm.name }}" + boot "{{ vmm_image_openbsd_kernel_prefix }}.{{ vm.name }}" {% endif %} memory {{ vm.memory }} disk "{{ vmm_disk_dir }}/{{ vm.name }}.{{ vmm_disk_format }}" |