Ansible-Bootstrap/roles/configuration/templates/network.j2

20 lines
275 B
Django/Jinja

[connection]
id=LAN
uuid={{ net_uuid.stdout }}
type=ethernet
interface-name={{ net_inf.stdout }}
[ethernet]
mac-address={{ net_mac.stdout }}
[ipv4]
address={{ vm_ip }},{{ vm_gw }}
dns={{ vm_dns }}
method=manual
[ipv6]
addr-gen-mode=stable-privacy
method=disabled
[proxy]