summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/netplan/elevate-festival.yaml.j2
blob: 3bd97cb6d1ca84b486a86dc249a9372d0dee5ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
network:
  version: 2
  renderer: networkd
  ethernets:
    {{ network.primary.interface }}:
      addresses: [ {{ (network.primary.ip + '/' + network.primary.mask) | ipaddr('address/prefix') }} ]
      gateway4: {{ network.primary.gateway }}
      accept-ra: false
      nameservers:
        search: [ {{ network.domain }} ]
        addresses: {{ network.nameservers | to_json }}