From 9f0325dad7b7401e5d8d1bea636e28f302752c3e Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Wed, 15 Oct 2025 22:30:36 -0400 Subject: fix windows.sh && use git.compromyse.xyz --- windows.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'windows.sh') diff --git a/windows.sh b/windows.sh index ed8bc74..aa33532 100755 --- a/windows.sh +++ b/windows.sh @@ -7,11 +7,11 @@ fi VM_NAME="$1" -VIRTIO_WIN="isos/virtio-win*.iso" +VIRTIO_WIN="$(ls isos/virtio-win*.iso)" WINDOWS="isos/Win11_24H2_English_x64.iso" if [ ! -f $VIRTIO_WIN ]; then - pushd imgs + pushd isos aria2c https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso popd fi @@ -23,6 +23,7 @@ sudo virt-install --import \ --cpu host-passthrough,cache.mode=passthrough \ --vcpus 12,sockets=1,cores=6,threads=2 \ --cdrom $WINDOWS \ + --disk path=$VIRTIO_WIN,device=cdrom \ --disk path=imgs/$VM_NAME.img,format=raw,bus=virtio,size="256" \ --video virtio \ --graphics spice \ -- cgit v1.2.3