Ask Your Question
0

Change windows hostname when creating instance from snapshot.

asked 2013-09-13 13:48:07 -0500

ab5124 gravatar image

Looking for a way to set the hostname of a new windows instance when creating it from a preexisting snapshot. I have tried to do a sysprep creating my snapshot then starting a new instance. Gets random name assigned and I have tried without doing sysprep w/ same results.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-01 08:45:20 -0500

ab5124 gravatar image

The solution is to use the cloudbase service and delete the registry key CloudBase-Init under HKLM\SOFTWARE\Wow6432Node\Cloudbase Solutions. When that is delete start to shut down your instance and create a snapshot during the shutdown process. After Windows reboots it will rename the computer to the name listed in Openstack.

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-09-13 13:48:07 -0500

Seen: 1,014 times

Last updated: Oct 01 '13