New Question
0

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

asked Feb 19 '16

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

Preview: (hide)

2 answers

Sort by » oldest newest most voted
0

answered Mar 30 '16

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

Preview: (hide)
link
0

answered Feb 19 '16

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.

Preview: (hide)
link

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 (Apr 7 '16)

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: Feb 19 '16

Seen: 12,760 times

Last updated: Mar 30 '16