This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
tf-modules/debian/files/network_config.cfg.tftpl

17 lines
253 B
Text
Raw Permalink Normal View History

2023-05-08 14:06:48 +00:00
version: 2
ethernets:
ens:
match:
name: ens*
%{ 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