Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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