Created
June 22, 2024 04:05
-
-
Save supermartian/1052b7e5f1259deed817da6541b0c6ba to your computer and use it in GitHub Desktop.
install windows 10 via virsh
This file contains 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
virt-install \ | |
--name win10 \ | |
--cpu host-passthrough \ | |
--ram 32768 \ | |
--vcpus 12 \ | |
--boot cdrom \ | |
--cdrom /mnt/data/vm-images/Windows.iso \ | |
--disk /mnt/data/vm-images/virtio-win.iso,device=cdrom,bus=sata \ | |
--disk /mnt/data/vm-images/win10.qcow2,bus=virtio,size=400 \ | |
--os-type windows \ | |
--virt-type kvm \ | |
--os-variant win10 \ | |
--network default \ | |
--noautoconsole \ | |
--graphics vnc,port=5901,listen=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment