forked from p15670423/monkey
Make deploy_windows.ps1.sh download the configuration, avoiding need for duplicate git clone.
This commit is contained in:
parent
43adea0728
commit
cb8d2eb0ef
|
@ -7,6 +7,9 @@ function Deploy-Windows([String] $monkey_home = (Get-Item -Path ".\").FullName,
|
|||
|
||||
|
||||
# Import the config variables
|
||||
$config_filename = "config.ps1"
|
||||
$config_url = "https://raw.githubusercontent.com/guardicore/monkey/" + $branch + "/deployment_scripts/config.ps1"
|
||||
$webClient.DownloadFile($config_url, $config_filename)
|
||||
. ./config.ps1
|
||||
"Config variables from config.ps1 imported"
|
||||
|
||||
|
|
Loading…
Reference in New Issue