New Question
0

Updating Windows image/sysprep , how to rearm Clouldbase-init

asked 2016-02-19 03:44:46 +0200

kingtut101 gravatar image

This should be a pretty easy questions to answer. After all is well , and your Windows images are sealed, sysprep'ed and Cloudbase-init has installed and shut down the guest, how do you re-arm Cloudbase-init if you have to power the box back online ? I know I have to re-sysprep the box , but do I need to uninstall , reboot , install Cloudbase-init again ? or is there an easy command line option I can do to re-run properly after a power up?

Thx

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-03-30 19:10:09 +0200

jrack gravatar image

To replicate what is done by the installer to re-sysprep is the best commandline

sysprep.exe /generalize /oobe /shutdown /unattend:C:\progra~1\cloudb~1\cloudb~1\conf\Unattend.xml

edit flag offensive delete link more
0

answered 2016-02-19 13:10:18 +0200

alexpilotti gravatar image

Yes, it's very easy, just delete the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Cloudbase Solutions\Cloudbase-Init

Or, if running an x86 version on x64:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cloudbase Solutions\Cloudbase-Init

Please note that configurations are specific to each instance id, this means that if you snapshot an image in OpenStack and boot from the snapshot, it's not necessary to delete the key.

edit flag offensive delete link more

Comments

I seem to be missing something in my reseal recipe. Thus far I have found it more effective to uninstall and reinstall and use init MSI GUI to call sysprep. Any recommendations on calls I might need to do after re-opening a template? Del key, run sysprep using the cb unattend?

jrack gravatar imagejrack ( 2016-04-07 21:14:37 +0200 )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

2 followers

Stats

Asked: 2016-02-19 03:44:46 +0200

Seen: 12,300 times

Last updated: Mar 30 '16