Closed StefanScherer closed 4 years ago
On macOS we already validate the user-data yaml file, but this does not include a check for the #cloud-config comment in the first line.
#cloud-config
According to https://cloudinit.readthedocs.io/en/latest/topics/faq.html#how-can-i-debug-my-user-data it is one of the two top most problems. In my experience it IS the top most problem and to be honest I do not understand why this cannot be fixed in cloud-init 😅
Two of the most common issues with user data, that also happens to be cloud-config is: Incorrectly formatted YAML First line does not contain #cloud-config
Two of the most common issues with user data, that also happens to be cloud-config is:
Helps #177 to find problems before users run into boot problems.
On macOS we already validate the user-data yaml file, but this does not include a check for the
#cloud-config
comment in the first line.According to https://cloudinit.readthedocs.io/en/latest/topics/faq.html#how-can-i-debug-my-user-data it is one of the two top most problems. In my experience it IS the top most problem and to be honest I do not understand why this cannot be fixed in cloud-init 😅
Helps #177 to find problems before users run into boot problems.