diff options
Diffstat (limited to 'tools/gce/linux_worker_init.sh')
-rwxr-xr-x | tools/gce/linux_worker_init.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gce/linux_worker_init.sh b/tools/gce/linux_worker_init.sh index a5d2706ddb..05855354ff 100755 --- a/tools/gce/linux_worker_init.sh +++ b/tools/gce/linux_worker_init.sh @@ -66,7 +66,10 @@ rm linux-* # Add pubkey of jenkins@grpc-jenkins-master to authorized keys of jenkins@ # This needs to happen as the last step to prevent Jenkins master from connecting # to a machine that hasn't been properly setup yet. -cat jenkins_master.pub | sudo tee --append ~jenkins/.ssh/authorized_keys + +# disable superfluous warning by shellcheck: +# shellcheck disable=SC2024 +sudo tee --append ~jenkins/.ssh/authorized_keys < jenkins_master.pub # Restart for docker to pick up the config changes. echo 'Successfully initialized the linux worker, going for reboot in 10 seconds' |