1 | initial version |
Hello,
The cloudbase-init plugins' execution state is persisted in the registry. To reexecute all the plugins, you can:
Remove-Item -Recurse "HKLM:\\Software\Cloudbase Solutions"
If you desire to reexecute only one plugin, you need to navigate to the correct registry key, with the name of the plugin and delete it:
Remove-Item -Recurse "HKLM:\\Software\Cloudbase Solutions\<random-GUID>\Plugins\SetHostNamePlugin"
Although this is possible for testing scenarios, it is advisable not to rely on the registry keys deletion(as this is an implementation detail, and not a documented feature) and it might change in the future.
I would stronlgy suggest to regenerate the image or change the image before it has been spawned.
Thank you.
Adrian Vladu