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 @@
@@ -14,6 +14,7 @@
# address: '10.10.10.10/24'
# address: '10.10.10.10/24'
# gateway: '10.10.10.1'
# gateway: '10.10.10.1'
# - type: 'routed'
# - type: 'routed'
 
# identifier: 'file-name'
# interfaces:
# interfaces:
# - 'eth0'
# - 'eth0'
# addresses:
# addresses:
@@ -51,11 +52,16 @@
@@ -51,11 +52,16 @@
# name: transport
# name: transport
# bridge: true
# bridge: true
networkd_type: 'dhcp' # if networkd not defined
networkd_ipfwd: false # works only globally anyway
networkd_ipfwd: false # works only globally anyway
### old style config follows, still supported
### 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
# for static type only
networkd_address: 10.10.10.10/24
networkd_address: 10.10.10.10/24
networkd_gateway: 10.10.10.1
networkd_gateway: 10.10.10.1
Loading