Ansible-Bootstrap/roles/virtualization/templates/cloud-network-config.yml.j2

11 lines
242 B
Plaintext
Raw Normal View History

2024-03-19 23:02:50 +01:00
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']