1
0
IaC/ansible/roles/vm_deploy/templates/eno1.network.j2

21 lines
319 B
Plaintext
Raw Permalink Normal View History

2022-10-23 09:54:34 -04:00
[Match]
MACAddress={{ vm_mac_prefix }}{{ vm_number }}
[Link]
ARP=yes
2022-10-23 09:54:34 -04:00
[Address]
Address={{ vm_subnet_prefix }}{{ vm_number }}{{ vm_subnet_suffix }}
2022-10-23 09:54:34 -04:00
[Route]
Gateway={{ vm_gateway }}
Destination=0.0.0.0/0
Metric=10
2022-10-23 09:54:34 -04:00
[Network]
DHCP=no
LinkLocalAddressing=no
2022-10-23 09:54:34 -04:00
DNS={{ vm_gateway }}
Domains={{ vm_domain }}
NTP={{ vm_ntp }}