Skip to content

Instantly share code, notes, and snippets.

@neofob
Created March 23, 2019 23:52
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 neofob/fce45816b1f56b1e9855163385bceb48 to your computer and use it in GitHub Desktop.
Save neofob/fce45816b1f56b1e9855163385bceb48 to your computer and use it in GitHub Desktop.
sample netplan
network:
version: 2
renderer: networkd
ethernets:
# your ethernet interface(s)
enp6s0:
# dhcp4: true
addresses:
- 192.168.1.42/24
gateway4: 192.168.1.1
nameservers:
search: [local]
addresses: [192.168.1.1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment