From c2d868f213fe2a84bf8df29bda34da99c06555f9 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sun, 30 Sep 2018 22:02:11 +0200 Subject: [PATCH] =?UTF-8?q?(Disabled)=20Exfiltrate=20IP=C2=A0addresses=20f?= =?UTF-8?q?or=20new=20generic-worker=20instances?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/taskcluster/windows/first-boot.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/etc/taskcluster/windows/first-boot.ps1 b/etc/taskcluster/windows/first-boot.ps1 index e96b7d5cda2..e4986c4ddc3 100644 --- a/etc/taskcluster/windows/first-boot.ps1 +++ b/etc/taskcluster/windows/first-boot.ps1 @@ -46,5 +46,17 @@ Start-Process C:\generic-worker\generic-worker.exe -ArgumentList ( -RedirectStandardOutput C:\generic-worker\install.log ` -RedirectStandardError C:\generic-worker\install.err +# # For debugging, let us know the worker’s IP address through: +# # ssh servo-master.servo.org tail -f /var/log/nginx/access.log | grep ping +# Start-Process C:\nssm-2.24\win64\nssm.exe -ArgumentList ` +# "install", "servo-ping", "powershell", "-Command", @" +# (New-Object system.net.WebClient).DownloadData( +# 'http://servo-master.servo.org/ping/generic-worker') +# "@ + +# # This "service" isn’t a long-running service: it runs once on boot and then terminates. +# Start-Process C:\nssm-2.24\win64\nssm.exe -ArgumentList ` +# "set", "servo-ping", "AppExit", "Default", "Exit" + # Now shutdown, in preparation for creating an image shutdown -s \ No newline at end of file