Open jrodan opened 2 years ago
my best guess: cloud init runs a apt-get update && apt-get upgrade. Somehow there occurs a timing issue with this script. Changing to the following works:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt install mariadb-server -y
But it only works because it takes more time - time in which the init can be finished? had not further looked into it.
I have found that perhaps due to apt mirror timeouts, that the apt installations don't complete and things continue but ultimately fail, as things have not been installed correctly.
Looks like that might have happened here and mariadb did not actually get installed.
I wondered about a way to add the mirror being used depending on your location, but have not explored it any further.
Describe the bug Running the example with a ubuntu 18 LTS template in proxmox leads to the following result for the support-node:
Running the install command afterwards directly in the shell works as expected.