diff options
author | binary <me@rgoncalves.se> | 2020-12-02 18:36:25 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-12-02 18:36:25 +0100 |
commit | c4edd14b8aaf65d1db86074b0109b89ae609d4b3 (patch) | |
tree | 94e123449ce228ce1bff2dcb701f72956b1ad72c /roles/vmm/templates/vm.conf.j2 | |
parent | 8478e90356b6738a13eed3878000d0e112074960 (diff) | |
download | infrastructure-c4edd14b8aaf65d1db86074b0109b89ae609d4b3.tar.gz |
Refactor based on bhyve setup
Diffstat (limited to 'roles/vmm/templates/vm.conf.j2')
-rw-r--r-- | roles/vmm/templates/vm.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vmm/templates/vm.conf.j2 b/roles/vmm/templates/vm.conf.j2 index f9fa6f5..ed20468 100644 --- a/roles/vmm/templates/vm.conf.j2 +++ b/roles/vmm/templates/vm.conf.j2 @@ -18,7 +18,7 @@ switch "{{ vmm.switch.name }}" { {% for vm in vms if hostvars[vm.name] is defined %} {% set guest = hostvars[vm.name] %} vm "{{ guest.ansible_host }}" { - {% if vm.enabled and vm.enabled is defined %} + {% if vm.enable is defined and vm.enable %} enable {% else %} disable |