Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust logic for virtio driver download setup #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,12 @@ tmp/%-vsphere/autounattend.xml: %/autounattend.xml
windows-10-20h2/autounattend.xml

drivers:
rm -rf drivers.tmp
mkdir -p drivers.tmp
@# see https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html
@# see https://github.com/virtio-win/virtio-win-guest-tools-installer
@# see https://github.com/virtio-win/virtio-win-pkg-scripts
wget -P drivers.tmp https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.190-1/virtio-win-0.1.190.iso
7z x -odrivers.tmp drivers.tmp/virtio-win-*.iso
mv drivers.tmp drivers
if [ ! -f drivers/virtio-win-guest-tools.exe ]; then \
mkdir -p drivers.tmp; \
wget -P drivers.tmp https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.190-1/virtio-win-0.1.190.iso; \
7z x -odrivers.tmp drivers.tmp/virtio-win-*.iso; \
mv drivers.tmp drivers; \
fi;