Skip to content

Instantly share code, notes, and snippets.

@recklessop
Created January 15, 2019 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recklessop/ef3bc98927d0605475a06fc7f8cb776a to your computer and use it in GitHub Desktop.
Save recklessop/ef3bc98927d0605475a06fc7f8cb776a to your computer and use it in GitHub Desktop.
network:
version: 2
renderer: networkd
ethernets:
eth0:
match:
macaddress: 3a:8c:83:61:58:70
set-name: eth0
addresses:
- 192.168.0.40/24
dhcp4: false
gateway4: 192.168.0.1
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment