New Question

How can I run Cloudbase-Init multiple times?

asked 2020-12-07 17:41:02 +0300

cfkwok gravatar image

I am trying to debug a runcmd. Is it possible to run Cloudbase-Init multiple times?

For Cloud-Init, I was able to rerun it when I do something like this:

Is there something similar for Cloudbase-Init? Where can I find the runcmd file?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2021-01-06 13:26:57 +0300

avladu gravatar image


If you refer to the runcmd from cloud-config userdata, the state of that plugin is saved in the registry keys: HKLM:\\SOFTWARE\\Cloudbase Solutions\\Cloudbase-Init\\<INSTANCE-ID>\\<PLUGIN-NAME>

In your case, PLUGIN-NAME is UserDataPlugin. You need to remove that key or if you want to do a full rerun, just remove HKLM:\\SOFTWARE\\Cloudbase Solutions\\Cloudbase-Init\\.

Thank you,
Adrian Vladu

edit flag offensive delete link more


The answer from this question has also an example in PowerShell: .

avladu gravatar imageavladu ( 2021-01-06 13:28:32 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-12-07 17:41:02 +0300

Seen: 11,958 times

Last updated: Jan 06 '21