Skip to content
Snippets Groups Projects

networkd: add generic customization options

Merged Lars Beckers requested to merge networkd-customized into master
4 files
+ 29
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -14,6 +14,7 @@
# address: '10.10.10.10/24'
# gateway: '10.10.10.1'
# - type: 'routed'
# identifier: 'file-name'
# interfaces:
# - 'eth0'
# addresses:
@@ -51,11 +52,16 @@
# name: transport
# bridge: true
networkd_type: 'dhcp' # if networkd not defined
networkd_ipfwd: false # works only globally anyway
### old style config follows, still supported
# if networkd not defined
networkd_type: 'dhcp'
# for static and dhcp types only
# networkd_interface: eth0
# for static type only
networkd_address: 10.10.10.10/24
networkd_gateway: 10.10.10.1
Loading