Sure, not a problem. Here's the contents of /etc/netplan/*
ubuntu@machine-2:~$ cat /etc/netplan/*
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true dhcp4-overrides: route-metric: 100
dhcp6: false
match: driver: hv_netvsc macaddress: 00:22:48:0a:47:80 set-name: eth0
version: 2
Sure, not a problem. Here's the contents of /etc/netplan/*
ubuntu@machine-2:~$ cat /etc/netplan/* cloud.cfg. d/99-disable- network- config. cfg with the following:
dhcp4- overrides:
route- metric: 100
driver: hv_netvsc
macaddress: 00:22:48:0a:47:80
set- name: eth0
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true
dhcp6: false
match:
version: 2