https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/helpers/vmware/imc/config_nic.py#L277 is the line that should be changed.
See https://github.com/TheRealFalcon/cloud-init/commit/a6faf3acef02bd8cd4d46ac9efeebf24b3f21d81 . Stock Debian installs use a regex that doesn't include .cfg files.
https:/ /github. com/canonical/ cloud-init/ blob/main/ cloudinit/ sources/ helpers/ vmware/ imc/config_ nic.py# L277 is the line that should be changed.
See https:/ /github. com/TheRealFalc on/cloud- init/commit/ a6faf3acef02bd8 cd4d46ac9efeebf 24b3f21d81 . Stock Debian installs use a regex that doesn't include .cfg files.