How Do You Solve the Login Prompt Message “Cloud-init…modules:final…Datasource”?

Problem scenario #1
You just installed Linux on a new VM. You boot up your Debian distribution of Linux (e.g., running via Oracle VirtualBox). You see at the login prompt, "cloud-init…running modules:config…DataSourceNone…cc_final_message.py[WARNING]: Used fallback datasource". What should you do?

Problem scenario #2
You recently created a new server. When you boot your Debian/Ubuntu/Mint server, it seems to hang with an error message about "cloud-init cc_final_message_py [warning]: used fallback datasource." What should you do?

Possible Solution #1 (preferred)
Run this command:
sudo touch /etc/cloud/cloud-init.disabled

Possible solution #2 (not recommended, workaround)
Run this command: sudo apt -y remove cloud-init
(This is a workaround. You will no longer have cloud-init. In many cases you will be OK without cloud-init).

Leave a comment

Your email address will not be published. Required fields are marked *