win 2k12(r2) 要用旧版驱动

This commit is contained in:
bin456789 2023-06-04 19:05:17 +08:00
parent cc8afec08c
commit 5a43deaaa6
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -253,12 +253,14 @@ if [ "$distro" = "windows" ]; then
'windows 7'*) sys=w7 ;;
esac
if [ $sys = w7 ]; then
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/40
dir=archive-virtio/virtio-win-0.1.173-9
else
dir=stable-virtio
fi
case "$sys" in
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/40
w7) dir=archive-virtio/virtio-win-0.1.173-9 ;;
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/61
2k12*) dir=archive-virtio/virtio-win-0.1.215-1 ;;
*) dir=stable-virtio ;;
esac
download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/$dir/virtio-win.iso /os/virtio-win.iso
mkdir /virtio
mount /os/virtio-win.iso /virtio