We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c195ab7 commit 18260c3Copy full SHA for 18260c3
1 file changed
terraform-aws-github-runner/modules/runners-instances/templates/user-data.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash -xe
2
-
+set -x
3
exec > >(tee /var/log/user-data.log | logger -t user-data -s 2>/dev/console) 2>&1
4
5
${pre_install}
@@ -21,6 +21,7 @@ yum install -y curl jq git
21
USER_NAME=ec2-user
22
${install_config_runner}
23
24
+echo Checking if nvidia install required ${nvidia_driver_install}
25
%{ if nvidia_driver_install ~}
26
set +e
27
sudo curl -fsL -o /tmp/nvidia_driver "https://s3.amazonaws.com/ossci-linux/nvidia_driver/NVIDIA-Linux-x86_64-535.54.03.run"
0 commit comments