Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Stretch goal spoiler

@Mattias the current worker-startup-script.sh on github has Windows-line-endings so it can’t be used with startup-script-url metadata. Running the file through dos2unix fixed the issue

2 Answers

Hey, thanks for the heads-up that this is not currently working for you!  I’ll have to look into that.

Steve, I just retried this and I didn’t have any problems getting it to work when I set the startup-script-url metadata key to have the value https://raw.githubusercontent.com/ACloudGuru/gcp-cloud-engineer/master/compute-labs/worker-startup-script.sh.  Could it be possible that you unknowingly introduced the Windows-stye CRLF line endings when downloading the script, maybe?  Could you please describe a bit more about what you had done before you noticed the problem?  Thanks!

Mattias

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?