Skip to content

Instantly share code, notes, and snippets.

@sebaxakerhtc
Last active May 15, 2022 10:45
Show Gist options
  • Save sebaxakerhtc/9e706319a9cf96addd1eca987da2076d to your computer and use it in GitHub Desktop.
Save sebaxakerhtc/9e706319a9cf96addd1eca987da2076d to your computer and use it in GitHub Desktop.
New netplan static settings / gateway4 deprecated
# This is the network config written by 'subiquity'
network:
ethernets:
ens160:
dhcp4: false
addresses:
- 192.168.10.6/24
routes:
- to: default
via: 192.168.10.1
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment