Hello All,
Is there anyway to make cloud init perform certain modules in a certain order?
Context: Atm i'm stuck in some sort of catch22 scenario. I have an repo thats lives on an s3 bucket, I want to add this to the sources using cloud init. For this i need to do 4 things in order:
- apt-get update (so its finds the python-configobj package)
- install python-configobj using apt
- download apt-transport-s3 and install it using dpkg
- add the s3 repo to the sources
Cloud init will first add the repo, then the update. But because apt-transport-s3 isn't installed yet the update failes. no update -> no able to install python-configobj and so on.
So long story short: Any way to rearrange the execution of the cloud init modules?
Thanks in advance!
[link] [comments]