Ask Your Question

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools


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

Seen: 1,150 times

Last updated: Oct 01 '13