Build Windows Image
Preparationβ
Obtain the followoing files before attempting to create a new Windows cloud image.
Virtual Machine Managerβ
Create New Virtual Machineβ
Choose your downloaded Windows installation isoβ
Configure your VMβ
Create a disk with raw formatβ
Customize VMβ
Check Customize configuration before install
β
[Disk] Change the Disk bus using virtIOβ
[Disk] Create another Disk using scsi (for driver attachment)β
[CDROM] Make sure CDROM is loaded with Windows installation isoβ
[CDROM] Create another CDROM and loaded with virtIO driver isoβ
[Network] Change the network interface using virtioβ
All done, Let begin installationβ
Windows Server Installationβ
Select Custom: Install Windows only (advanced)β
Load Network Driver, Choose your CDROM look for Drivers\NetKVMβ
Then, VirtIO disk driverβ
The VirtIO disk is shownβ
Install Scsi Disk Driver (to make sure scsi drive is supported as well)β
Disk Sumaryβ
Letβs start the Windows installation on Drive 0β
- continue Windows installation step by step until finish
Windows Remote Desktop(RDP) settingβ
- Allow RDP from the firewall, open PowerShell as Administrator and run:
Enable-NetFirewallRule -name RemoteDesktop-UserMode-In-TCP
- Click on Start > Settings, and search for remote desktop, now choose allow remote desktop access to your computer.
- In the popup choose for Allow remote connections to this computer, Click OK to close the popup.
- uncheck - NLA (Network Level Authentication)
- Click on Apply and OK.
Cloudbase initialization permissionβ
- To be able to use Cloud-Init (we need this to, for example, be able to set an admin passphrase when deploying) we have to configure this
- Open PowerShell as Administrator and run:
Set-ExecutionPolicy Unrestricted
Driver Installationβ
Install Qemu-guest-agentβ
Delete recovery partitionβ
Run powershell as administratorβ
Use diskpart
to remove the partitionβ
Download Cloudbase-init installer & run the setupβ
-
The default settings will be fine, again click Next
-
Check everything be except for the Serial port for logging, set that to COM1
-
In my case, the username has set to Admin , Openstack password retriever(private key) will work on this account
-
The default account Administrator require setting a new password before using it, you must use the horizon compute console to change the password