src.nth.io/

summaryrefslogtreecommitdiff
path: root/rpi-base/templates/40-net.yaml.j2
blob: f473a2b8f8da5905b1b4d420211e513219816437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# {{ansible_managed}}

network:
  version: 2
  ethernets:
    eth0:
      dhcp4: true
      optional: true
{% if rpi_base_enable_wifi %}
  wifis:
    wlan0:
      regulatory-domain: "US"
      dhcp4: true
      optional: true
      access-points:
        "{{rpi_base_wifi_ssid}}":
          password: "{{rpi_base_wifi_password}}"
{% endif %}