New Question
0

SetHostNamePlugin' execution already done

asked 2016-07-12 13:10:47 +0300

long gravatar image

updated 2016-07-12 13:16:22 +0300

Dear Cloudbase init,

i already complete the first boot cloudbase. But i change the config driver data and running again is not work. Follow is log file,Always is execution already done, skipping execplugin, How can i rexecuted the the plugin config?

Plugin 'SetHostNamePlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 Plugin 'CreateUserPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 Plugin 'NetworkConfigPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 Plugin 'WindowsLicensingPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70 Plugin 'SetUserSSHPublicKeysPlugin' execution already done, skipping execplugin c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py:70

i not using openstack in my kvm server.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-07-12 16:42:48 +0300

avladu gravatar image

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

edit flag offensive delete link more

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

Stats

Asked: 2016-07-12 13:10:47 +0300

Seen: 156 times

Last updated: Jul 12 '16