diff --git a/Terraform/main.tf b/Terraform/main.tf index 734f680..860e011 100644 --- a/Terraform/main.tf +++ b/Terraform/main.tf @@ -207,7 +207,7 @@ resource "aws_instance" "dc" { provisioner "remote-exec" { inline = [ "choco install -force -y winpcap", - "powershell -c \"$ifindex = get-netipinterface | where-object InterfaceAlias -eq 'Ethernet' | where-object AddressFamily -eq 2 | select-object -ExpandProperty ifIndex; set-dnsclientserveraddress -InterfaceIndex $ifindex\"", + "powershell -c \"$ifindex = get-netipinterface | where-object InterfaceAlias -eq 'Ethernet' | where-object AddressFamily -eq 2 | select-object -ExpandProperty ifIndex; set-dnsclientserveraddress -InterfaceIndex $ifindex -ServerAddresses ('127.0.0.1','8.8.8.8')\"", "ipconfig /all" ] diff --git a/Vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_500.tgz b/Vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_500.tgz deleted file mode 100644 index 7cfb67c..0000000 Binary files a/Vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_500.tgz and /dev/null differ diff --git a/Vagrant/resources/splunk_server/splunk-add-on-for-microsoft-windows_700.tgz b/Vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_700.tgz similarity index 100% rename from Vagrant/resources/splunk_server/splunk-add-on-for-microsoft-windows_700.tgz rename to Vagrant/resources/splunk_forwarder/splunk-add-on-for-microsoft-windows_700.tgz diff --git a/Vagrant/scripts/install-windows_ta.ps1 b/Vagrant/scripts/install-windows_ta.ps1 index bcf5d3f..baf74b9 100755 --- a/Vagrant/scripts/install-windows_ta.ps1 +++ b/Vagrant/scripts/install-windows_ta.ps1 @@ -9,7 +9,7 @@ If (test-path "C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_wind } # Install Windows TA (this only needs to be done on the WEF server) -$windowstaPath = "C:\vagrant\resources\splunk_forwarder\splunk-add-on-for-microsoft-windows_500.tgz" +$windowstaPath = "C:\vagrant\resources\splunk_forwarder\splunk-add-on-for-microsoft-windows_700.tgz" $inputsPath = "C:\Program Files\SplunkUniversalForwarder\etc\apps\Splunk_TA_windows\local\inputs.conf" Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Installing the Windows TA" Start-Process -FilePath "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" -ArgumentList "install app $windowstaPath -auth admin:changeme" -NoNewWindow