Refer to the following steps to use cloudbase-init for initializing a Windows virtual machine.
Note:
- For Windows 7 and Windows Server 2016 virtual machines created from a cloudbase-init VM template, the system will restart three times after entering the password at startup. Once the restarts are complete, the virtual machine will be ready for use.
- When creating Windows virtual machines using cloudbase-init templates, configuring static routes and DHCP is not supported, which need to be manually configured after the creation process is complete.
- If you choose not to configure the network or set up DHCP networking via cloudbase-init, the DNS server configuration will not take effect as the data provided by ConfigDrive does not meet the data format requirements of cloudbase-init for network configuration.