win 2k12(r2) 要用旧版驱动
This commit is contained in:
parent
cc8afec08c
commit
5a43deaaa6
12
trans.sh
12
trans.sh
@ -253,12 +253,14 @@ if [ "$distro" = "windows" ]; then
|
|||||||
'windows 7'*) sys=w7 ;;
|
'windows 7'*) sys=w7 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $sys = w7 ]; then
|
case "$sys" in
|
||||||
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/40
|
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/40
|
||||||
dir=archive-virtio/virtio-win-0.1.173-9
|
w7) dir=archive-virtio/virtio-win-0.1.173-9 ;;
|
||||||
else
|
# https://github.com/virtio-win/virtio-win-pkg-scripts/issues/61
|
||||||
dir=stable-virtio
|
2k12*) dir=archive-virtio/virtio-win-0.1.215-1 ;;
|
||||||
fi
|
*) dir=stable-virtio ;;
|
||||||
|
esac
|
||||||
|
|
||||||
download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/$dir/virtio-win.iso /os/virtio-win.iso
|
download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/$dir/virtio-win.iso /os/virtio-win.iso
|
||||||
mkdir /virtio
|
mkdir /virtio
|
||||||
mount /os/virtio-win.iso /virtio
|
mount /os/virtio-win.iso /virtio
|
||||||
|
Loading…
Reference in New Issue
Block a user