Skip to content

Instantly share code, notes, and snippets.

@mrcomoraes
Created January 9, 2020 20:50
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 mrcomoraes/8bc6d6880d0b66ded3fac753bf82fc59 to your computer and use it in GitHub Desktop.
Save mrcomoraes/8bc6d6880d0b66ded3fac753bf82fc59 to your computer and use it in GitHub Desktop.
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
addresses: [192.168.0.10/24]
gateway4: 192.168.0.1
nameservers:
search: [example.com]
addresses: [192.168.0.1,8.8.8.8]
match:
macaddress: b8:27:eb:a9:ef:4a
set-name: eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment