I am now trying to create a Windows Server 2008R2/2012R2 image template.
I followed the below links to setup the base image:
Windows Images in Your OpenStack Cloud - OpenStack Blog for VMware - VMware Blogs
VMware Integrated OpenStack Documentation
https://www.youtube.com/watch?v=KvYMOXjus_Y
After importing and updating metadata on VIO image page.
Metadata set:
vmware_ostype = windows7Server64Guest (For Server 2008R2)
hw_vif_model= VirtualVmxnet3
vmware_adaptertype = lsiLogicsas
windows_join_workgroup = VIOGroup
(Though I cannot find one for setting Administrator password)
I provisioned instance with the template and saw that it was customized by guest customization on vCenter.
By then when I tried to login to the instance, I found that the administrator password was reset to others but not the one I set.
I added 1 more metadata "windows_auto_logon" which allows the automatic logon after provisioning and figured out the administrator password was randomly set and Windows Workgroup is set to "VIOGroup".
May I know if there is anyone who tried to setup Windows image template?
Any metadata for setting Administrator password? Or any way to retrieve the randomly set password?
Have anyone tried to install Cloudbase Init? I tried to install it with default setting but provisioned Windows instance cannot boot up normally.
Some additional information: I am now using VIO 3.0
We have created many Windows Templates for VIO by using Cloudbase.
You need to boot a Windows VM and install Cloudbase. This sets up the image similar to sysprep. It then shuts down the VM and you should then convert it to an ESXi template and use the openstack commands to create a image then link the image to the template....its called linking vSphere images to OpenStack.
Cloudbase even offers pre made Windows images but we have found it best to use the Cloudbase software to create our own so we can further customize windows.
Cloudbase can be found here Cloudbase-Init - Cloudbase Solutions