You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that for customers using images that have "Azure apply_network_config" set to true on disk, there is no way for customers to opt out of this behavior during VM deployment. This is because the sole location that cloud-init reads for the "Azure apply_network_config" option is from the disk.
For customers that want to opt out of this behavior, the mitigation for customers would be to (1) deploy the VM, (2) ssh into the VM, (3) set the "Azure apply_network_config" option to false on disk, (4) then reboot the VM in order for the changes to take effect and prevent cloud-init from applying network config on subsequent boots.
Since there is no way to opt out of this behavior on first boot, a good feature request would be for cloud-init to support reading the "Azure apply_network_config" option through cloud-configs passed in through Azure instance metadata.
The text was updated successfully, but these errors were encountered:
This bug was originally filed in Launchpad as LP: #1889112
Launchpad details
Launchpad user Johnson Shi(johnsonshi) wrote on 2020-07-27T17:49:49.392976+00:00
cloud-init currently only supports reading and setting the Azure apply_network_config option from disk (see https://cloudinit.readthedocs.io/en/latest/topics/datasources/azure.html#configuration).
This means that for customers using images that have "Azure apply_network_config" set to true on disk, there is no way for customers to opt out of this behavior during VM deployment. This is because the sole location that cloud-init reads for the "Azure apply_network_config" option is from the disk.
For customers that want to opt out of this behavior, the mitigation for customers would be to (1) deploy the VM, (2) ssh into the VM, (3) set the "Azure apply_network_config" option to false on disk, (4) then reboot the VM in order for the changes to take effect and prevent cloud-init from applying network config on subsequent boots.
Since there is no way to opt out of this behavior on first boot, a good feature request would be for cloud-init to support reading the "Azure apply_network_config" option through cloud-configs passed in through Azure instance metadata.
The text was updated successfully, but these errors were encountered: