Ansible-Bootstrap/roles/virtualization/templates/cloud-network-config.yml.j2
2024-03-19 23:02:50 +01:00

11 lines
242 B
Django/Jinja

network:
version: 2
ethernets:
id0:
match:
macaddress: "{{ mac_address_output.stdout }}"
addresses:
- "{{ vm_ip }}"
gateway4: "{{ vm_gw }}"
nameservers:
addresses: ['1.1.1.1', '1.0.0.1']