Follow these steps to prepare the installation:
Download a Windows Server 2012 installation ISO. Evaluation images are available from the Microsoft website (registration required).
Download the signed VirtIO drivers ISO from the Fedora website.
Create a 25 GB qcow2 image:
$ qemu-img create -f qcow2 windows-2012.qcow2 25G
First start virt-manager
Then choose memory and CPU settings that suit you and then hit Forward
For the storage browse and choose the windows-2012.qcow2 image you created earlier, then click Forward
Then click Finish and start installing the image
From Add Hardware:
First add New Storage and make sure that the Bus type is VirtIO
Second add Network device and make sure that the device model is VirtIO
Then add the VirtIO image that you downloaded earlier:
From Server Manager on Tools choose computer management and from it
Go to Device Kanager and try to install the new drivers you added before with the VirtIO image you connected the virtual machine with:
Choose Browse my computer for driver software:
Then browse for the virtio image that you will find loaded on CD Drive (D:), hit Next, and then Install
Repeat all previous steps for all uninstalled drivers.
Now go to your virtual machine web browser and download Cloudbase init from this link.
While installing, add Cloudscalers as a new user:
First go to
C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf
cloudbase-init.conf file and add this at the end of it:
The second file is in
C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common
setuserpassword.py and change:
Shutdown the virtual machine.