aboutsummaryrefslogblamecommitdiffstats
path: root/roles/vmm/templates/vm.conf.j2
blob: d45c398cb2fa92bea93039408e27b9300f77a41a (plain) (tree)





















                                                                     
# managed by Ansible

# network
switch "{{ vmm_network_switch.name }}" {
	interface {{ vmm_network_switch.interface }}
}

# virtual machines
{% for vm in __vms %}
vm "{{ vm.name }}" {
{% if vm.enabled is defined and not vm.enabled %}
	disable
{% endif %}
	memory {{ vm.memory }}
	disk "{{ vmm_disk_dir }}/{{ vm.name }}.{{ vmm_disk_format }}"
	interface {
		switch "{{ vmm_network_switch.name }}"
		lladdr {{ vm.lladdr }}
	}
}

{% endfor %}
remember that computers suck.