Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
50-cloud-init.yaml
network:
ethernets:
eth0:
dhcp4: true
dhcp4-overrides:
route-metric: 100
dhcp6: false
addresses: [172.20.0.0/21]
nameservers:
addresses: [172.20.0.4, 168.63.129.16]
search: [contoso.local]
match:
driver: hv_netvsc
macaddress: 00:0d:3a:9c:99:e3
set-name: eth0
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment