Commit a84fd086 by César Galvis

refactor: added small changes in wireguard install script

parent 1a34c9e6
# Wireguard setup # Wireguard install
# install-wireguard.ps1
# Define download URL for WireGuard official MSI installer # Define download URL for WireGuard official MSI installer
$wgInstallerUrl = "https://download.wireguard.com/windows-client/wireguard-installer.exe" $wgInstallerUrl = "https://download.wireguard.com/windows-client/wireguard-installer.exe"
...@@ -21,9 +19,9 @@ Start-Sleep -Seconds 10 ...@@ -21,9 +19,9 @@ Start-Sleep -Seconds 10
$wgPath = "C:\Program Files\WireGuard" $wgPath = "C:\Program Files\WireGuard"
$configPath = "$wgPath\Configurations" $configPath = "$wgPath\Configurations"
$serverConfigFile = "$configPath\server.conf" $serverConfigFile = "$configPath\server.conf"
$outputPath = "C:\vagrant\files\wireguard\Configurations" $outputPath = "C:\vagrant\files\wireguard"
# Create configuration and outpot folders if it doesn't exist # Create configuration and output folders if it doesn't exist
New-Item -ItemType Directory -Force -Path $configPath New-Item -ItemType Directory -Force -Path $configPath
New-Item -ItemType Directory -Force -Path $outputPath New-Item -ItemType Directory -Force -Path $outputPath
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment