cloud-init icon indicating copy to clipboard operation
cloud-init copied to clipboard

Remove DataSourceNone warning in cc_final_message

Open TheRealFalcon opened this issue 4 months ago • 1 comments

Bug report

In the past, DataSourceNone was used purely as a fallback for when a primary datasource failed. However, DataSourceNone can be a datasource in an of itself and preferrable to NoCloud if all configuration is baked into the image. Because of this, it no longer makes sense to issue a warning in cc_final_message if None was expected. If there is defined userdata/metadata under the datasource definition in /etc/cloud or DataSourceNone is the only entry in the datasource_list, we should not warn that DataSourceNone was used.

TheRealFalcon avatar Apr 19 '24 00:04 TheRealFalcon