blob: 6a6481c4b97f40b178b571e3c3198caa4aafb2c9 (
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
36
37
38
39
40
41
42
|
[connection]
id=ethernet
type=ethernet
autoconnect=true
{% if network_bridge is defined %}
controller={{ network_bridge }}
port-type=bridge
{% endif %}
[ethernet]
cloned-mac-address=permanent
[ipv4]
{% if network_bridge is defined %}
method=disabled
{% elif 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
{% if network_bridge is defined %}
method=disabled
{% elif network_ipv6_address is defined %}
method=manual
addresses={{ network_ipv6_address }}
gateway={{ network_ipv6_gateway }}
{% if network_ipv6_dns is defined %}
dns={{ network_ipv6_dns }}
{% endif %}
{% else %}
method=disabled
{% endif %}
[proxy]
|