cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
414 stars 150 forks source link

Will cloudbase-init be run if attached from an external disk? #63

Open chardch opened 3 years ago

chardch commented 3 years ago

I have a question regarding what is installed with when running the cloudbase-init installer.

Is it possible to include everything installed into an external disk, so that whatever machine has this disk attached will be able to start with cloudbase-init?

ader1990 commented 3 years ago

Hello,

This is a chicken and egg problem, there needs to be a trigger/agent configured in the instance to run cloudbase-init.

You can create a scheduled task to crawl the external disks and install/run cloudbase-init from there, which would make the process feasible.

Thank you, Adrian Vladu