14 lines
226 B
Text
14 lines
226 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
|