15 lines
220 B
Text
15 lines
220 B
Text
|
version: 2
|
||
|
ethernets:
|
||
|
ens3:
|
||
|
%{ if fixed_address }
|
||
|
dhcp4: false
|
||
|
addresses:
|
||
|
- "${fixed_address}"
|
||
|
%{ else }
|
||
|
dhcp4: true
|
||
|
%{ endif }
|
||
|
dhcp4: true
|
||
|
routes:
|
||
|
- to: 0.0.0.0/0
|
||
|
via: 192.168.30.1
|