blob: 5b4ab1859705ed57376265d9585d3b0e0c45e670 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
[connection]
id={{ network_wifi_ssid }}
uuid={{ network_wifi_ssid | to_uuid }}
type=wifi
autoconnect=true
[wifi]
mode=infrastructure
ssid={{ network_wifi_ssid }}
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk={{ network_wifi_pass }}
[ipv4]
{% if network_ipv4_address is defined %}
method=manual
addresses={{ network_ipv4_address }}
gateway={{ network_ipv4_gateway }}
{% if network_ipv4_dns is defined %}
dns={{ network_ipv4_dns }}
{% endif %}
{% else %}
method=auto
{% endif %}
[ipv6]
addr-gen-mode=default
method=auto
{% if network_ipv6_gateway is defined %}
routes=::/0,{{ network_ipv6_gateway }},100
{% endif %}
[proxy]
|