diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 08:27:31 -0400 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-09-16 08:27:31 -0400 |
| commit | 0cb7d5176e3c0522d10eb4963e0940f7c7faacdf (patch) | |
| tree | c111706e689e6d05d1d37dc5697c9cb0f6686c3e /build-windows.sh | |
| parent | eefb7546a2dffa647d21df63082d7d1ccca06b6d (diff) | |
build->linux && build-windows->windows
Diffstat (limited to 'build-windows.sh')
| -rwxr-xr-x | build-windows.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/build-windows.sh b/build-windows.sh deleted file mode 100755 index ed8bc74..0000000 --- a/build-windows.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -if [ "$#" -ne 1 ]; then - echo "Usage: $0 [vm_name]" - exit -fi - -VM_NAME="$1" - -VIRTIO_WIN="isos/virtio-win*.iso" -WINDOWS="isos/Win11_24H2_English_x64.iso" - -if [ ! -f $VIRTIO_WIN ]; then - pushd imgs - aria2c https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso - popd -fi - -sudo virt-install --import \ - --os-variant win11 \ - --name $VM_NAME \ - --ram 32768 \ - --cpu host-passthrough,cache.mode=passthrough \ - --vcpus 12,sockets=1,cores=6,threads=2 \ - --cdrom $WINDOWS \ - --disk path=imgs/$VM_NAME.img,format=raw,bus=virtio,size="256" \ - --video virtio \ - --graphics spice \ - --noautoconsole \ - --noreboot \ - --shmem name="looking-glass",model.type="ivshmem-plain",size=32,size.unit="M" |
