Virtio 0.1.185, closes #7836 @0.5h
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
# [system.IO.file]::WriteAllBytes("C:\Temp\RedHat.cer", $CertToExportInBytesForCERFile)
|
||||
|
||||
$packageName = 'kvm-virtio-drivers'
|
||||
$version = '0.1.171'
|
||||
$version = '0.1.185'
|
||||
$url = 'https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso'
|
||||
$url64 = $url
|
||||
$virtioPath = "$env:SystemDrive" + "\Virtio_" + $version
|
||||
@ -16,7 +16,7 @@ $dpinst = Join-Path $scriptPath 'dpinstX86.exe'
|
||||
$dpinst64 = Join-Path $scriptPath 'dpinstX64.exe'
|
||||
$dpinstxml = Join-Path $scriptPath 'dpinst.xml'
|
||||
$cleanupdrv = Join-Path $scriptPath 'cleanfolder.ps1'
|
||||
$checksum = '4f37af23d97855caf37c534854bf008bbe2e8b74'
|
||||
$checksum = 'd915703d2f42eb60f5542f9ab2e6e873feb84075'
|
||||
$checksumType = 'sha1'
|
||||
$checksum64 = $checksum
|
||||
$checksumType64 = $checksumType
|
||||
@ -66,6 +66,7 @@ try {
|
||||
"*Server 2012 R2*" { Write-Host "Server 2012 R2 detected";$d="2k12R2";break }
|
||||
"*Server 2012*" { Write-Host "Server 2012 detected";$d="2k12";break }
|
||||
"*Server 2016*" { Write-Host "Server 2016 detected";$d="2k16";break }
|
||||
"*Server 2019*" { Write-Host "Server 2019 detected";$d="2k19";break }
|
||||
default {"unknown/unsupported os"; exit 1 }
|
||||
}
|
||||
|
||||
@ -104,6 +105,7 @@ try {
|
||||
Write-Host '[INFO]: removing previous virtio-driver versions'
|
||||
Remove-Item "${env:SystemDrive}\Virtio_0.1.126" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
Remove-Item "${env:SystemDrive}\Virtio_0.1.141" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
Remove-Item "${env:SystemDrive}\Virtio_0.1.171" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
} catch {
|
||||
throw $_.Exception
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
# 2017-2020 foo.li systeme + software
|
||||
|
||||
$packageName = 'kvm-virito-drivers'
|
||||
$version = '0.1.171'
|
||||
$version = '0.1.185'
|
||||
$virtioPath = "$env:SystemDrive" + "\Virtio_" + $version
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user