Last active
March 7, 2024 21:19
-
-
Save recklessop/e0fd57999f6bc7c90de8a5c6d540e52f to your computer and use it in GitHub Desktop.
50-cloud-init.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This netplan yaml is delivered in Azure cloud images to support | |
# attaching and detaching nics after the instance first boot. | |
# Cloud-init otherwise handles initial boot network configuration in | |
# /etc/netplan/50-cloud-init.yaml | |
network: | |
version: 2 | |
ethernets: | |
ephemeral: | |
dhcp4: true | |
match: | |
driver: hv_netvsc | |
name: '!eth0' | |
optional: true | |
hotpluggedeth0: | |
dhcp4: true | |
match: | |
driver: hv_netvsc | |
name: 'eth0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment