Created
January 14, 2021 23:53
-
-
Save d-demirci/3b6d73bb0b2771ecee45ffbea8afc2e0 to your computer and use it in GitHub Desktop.
Install Windows Serer on kvm with drivers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo virt-install \ | |
--name=WindowsServer2019 \ | |
--ram=4096 \ | |
--cpu host --hvm \ | |
--vcpus=2 \ | |
--os-type=windows \ | |
--os-variant=win8.1 \ | |
--disk /var/lib/libvirt/images/vms-win10,size=64,bus=virtio \ | |
--disk /var/lib/libvirt/boot/winsrv2k16.iso,device=cdrom,bus=ide \ | |
--disk /var/lib/libvirt/boot/virtio-win.iso,device=cdrom,bus=ide \ | |
--network bridge=virbr0 \ | |
--graphics vnc,listen=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment