sudo touch /etc/cloud/cloud-init.disabled
Add a file called 99_config.yaml
to the netplan (/etc/netplan
) folder with the following content.
IP Address should fit your CIDR block configured in your router.
resources | |
| where tolower(type) == "microsoft.network/virtualnetworks" | |
| where properties.addressSpace.addressPrefixes has "10.192" | |
| project name, location, properties.addressSpace.addressPrefixes[0], properties.subnets | |
| order by name asc |