/srv/irclogs.ubuntu.com/2025/02/09/#cloud-init.txt

beantaxiI'm looking for a way to truly rerun cloud-init as though it is running for the first time. There are some docs that come close here -> https://cloudinit.readthedocs.io/en/latest/howto/rerun_cloud_init.html, as well as many outdated SO suggestions that come close as well00:50
beantaxiBut my use case is "I've created a new VM or VPS with a 3rd party provider, and their cloud-init support is broken, or I couldn't figure it out, or they don't support cloud-init at all, and instead of spending an indefinite amount of time sorting that out, I'd rather just invoke a cloud-init feature and be done"00:52
beantaxiThe docs linked above come with a blanket warning of "Making cloud-init run again may be destructive and must never be done on a production system. " so I unforunately can't use any of their suggestions. Perhaps what I am asking for constitutes  a feature request00:53
minimalbeantaxi: "or they don't support cloud-init at all" - then if cloud-init ran before I assume it selected the "None" DataSource. What DataSource would you expect to use if you re-run cloud-init "from scratch" and how would you provide the meta-info/network-config/user-data ?19:48
minimalbeantaxi: "their cloud-init support is broken" - depending on how exactly it is broken then how would you fix it?19:49
minimalbeantaxi: have you tried following the cloud-init docs you linked to? if so, did it not work? and if so, what went wrong?19:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!