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

15 lines
226 B
Text
Raw Normal View History

2023-04-07 16:05:37 +00:00
version: 2
ethernets:
ens3:
2023-04-08 16:44:46 +00:00
%{ if fixed_address != "" }
2023-04-07 16:05:37 +00:00
dhcp4: false
addresses:
- "${fixed_address}"
%{ else }
dhcp4: true
%{ endif }
dhcp4: true
routes:
- to: 0.0.0.0/0
via: 192.168.30.1