Skip to content

Commit

Permalink
install built xdp
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Nov 14, 2024
1 parent bbe4aac commit 980e783
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/prepare-machine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,10 @@ function Install-SigningCertificates {
# NB: XDP can be uninstalled via Uninstall-Xdp
function Install-Xdp-Driver {
if (!$IsWindows) { return } # Windows only
Write-Host "Downloading XDP msi"
# Write-Host "Downloading XDP msi"
ls artifacts
$MsiPath = Join-Path $ArtifactsPath "xdp.msi"
Invoke-WebRequest -Uri (Get-Content (Join-Path $PSScriptRoot "xdp.json") | ConvertFrom-Json).installer -OutFile $MsiPath
# Invoke-WebRequest -Uri (Get-Content (Join-Path $PSScriptRoot "xdp.json") | ConvertFrom-Json).installer -OutFile $MsiPath
Write-Host "Installing XDP driver"
msiexec.exe /i $MsiPath /quiet | Out-Null
}
Expand Down

0 comments on commit 980e783

Please sign in to comment.