Skip to content

Instantly share code, notes, and snippets.

@tdchien
Created April 8, 2020 06:41
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 tdchien/eb9a7ae1a707ed9e6194d897cafcb593 to your computer and use it in GitHub Desktop.
Save tdchien/eb9a7ae1a707ed9e6194d897cafcb593 to your computer and use it in GitHub Desktop.
netplan configure /etc/netplan/50-cloud-init.yaml
network:
version: 2
renderer: networkd
ethernets:
ens5:
dhcp4: true
match:
macaddress: 06:9e:15:46:xx:yy
set-name: ens5
ens6:
dhcp4: true
dhcp4-overrides:
use-routes: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment