Add Powershell script to resolve expiration issues
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
# Installs the AWS Enhanced Networking for Windows
|
||||
Write-Host "Installing the AWS Enhanced Networking Driver"
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
$url="https://s3.amazonaws.com/ec2-windows-drivers-downloads/ENA/Latest/AwsEnaNetworkDriver.zip"
|
||||
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\AwsEnaNetworkDriver.zip")
|
||||
Expand-Archive -Path $env:TEMP\AwsEnaNetworkDriver.zip -DestinationPath $env:TEMP\AwsEnaNetworkDriver -Force
|
||||
. $env:TEMP\AwsEnaNetworkDriver\install.ps1
|
||||
|
||||
rm $env:TEMP\AwsEnaNetworkDriver.zip
|
||||
rm -recurse $env:TEMP\AwsEnaNetworkDriver
|
||||
@@ -154,8 +154,7 @@
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts": [
|
||||
"./scripts/debloat-windows.ps1",
|
||||
"./scripts/install-aws-ena.ps1"
|
||||
"./scripts/debloat-windows.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user