modify virtual machine image before upload it to image service (GLANCE)
Hi, I have successfully deployed Openstack with Hyper-V and I can access to a VM. As we know in Hyper-V, it only supports VHD and VHDX formats no more. The process to upload an image to Openstack is:
- First, you download a VHD file from any source.
Second, you upload it to image service.
Finally, you attach it to the new instance.
What I would like to ask is: assuming that we have a vhd file which contains windows 7 and it is already pre-installed and pre-configured, you will find a username and a password which are already set. Therefore, is there any ideas of how we change/modify the username and the password of this VHD before I upload it to the image service (Glance)? I mean I would like to access to the configuration file of windows from a CLI to have the ability of changing them. Also, is there a possibility of modifying them when creating a new instance and attaching to it a VHD? I hope you understand what I want. Best Regards