I created a new VM from a machine image of a fully working VM. The VM was created successfully with no errors. But when I log into the new VM I see this message:
!!!!! IMPORTANT: An error occurred when initializing this installation !!!!!
│ Please check the initialization logs to get more information:
│ sudo cat /var/log/cloud-init-output.log
│ Please try and re-create this installation. If that does not fix your issue,
│ open a Bitnami support ticket at https://github.com/bitnami/vms/issues
In /var/log/cloud-init-output.log I see this:
2024-10-01 23:30:51,087 - schema.py[WARNING]: Invalid cloud-config provided: Please run 'sudo cloud-init schema --system' to see the schema errors.
Cloud-init v. 22.4.2 running 'modules:config' at Tue, 01 Oct 2024 23:30:53 +0000. Up 10.81 seconds.
When I ran 'sudo cloud-init schema --system' I saw:
# cloud-init schema --system
Error:
Cloud config schema errors: format-l1.c1: File None needs to begin with "#cloud-config"
Some answers to this issue are found here:
https://github.com/bitnami/vms/issues/1669