Skip to content

Instantly share code, notes, and snippets.

@apolzek
Created January 10, 2024 20:57
Show Gist options
  • Save apolzek/086ebe1a61d550c8c2f327053bdb4ada to your computer and use it in GitHub Desktop.
Save apolzek/086ebe1a61d550c8c2f327053bdb4ada to your computer and use it in GitHub Desktop.
Ubuntu network file configuration
network:
renderer: networkd
ethernets:
enp0s3:
dhcp4: false
addresses:
- 192.168.100.110/24
nameservers:
addresses: [1.1.1.1, 8.8.8.8]
routes:
- to: default
via: 192.168.100.1
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment