Skip to content

Commit 57c3f83

Browse files
committed
terraform: update ubuntu script to output to console too
1 parent 283d310 commit 57c3f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/internal-modules/tailscale-install-scripts/scripts/tailscale-ubuntu.tftpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Installs tailscale, runs `tailscale up`, and runs additional scripts if provided
44
#
55

6-
exec &>> /root/tailscale-cloud-init-user-data.log
6+
exec > >(tee /var/log/tailscale-user-data.log|logger -t tailscale-user-data -s 2>/dev/console) 2>&1
77

88
%{ for s in before_scripts }
99
${s}

0 commit comments

Comments
 (0)