Skip to content

Instantly share code, notes, and snippets.

@kimh
Last active March 30, 2016 15:47
Show Gist options
  • Save kimh/d421a6215e9f87663536b1b5289568a8 to your computer and use it in GitHub Desktop.
Save kimh/d421a6215e9f87663536b1b5289568a8 to your computer and use it in GitHub Desktop.
Installing gcloud
machine:
pre:
- sudo bash -c 'curl "https://sdk.cloud.google.com" | CLOUDSDK_CORE_DISABLE_PROMPTS=1 CLOUDSDK_INSTALL_DIR=/opt bash'
- sudo chown -R "ubuntu:ubuntu" "/opt/google-cloud-sdk"
- sudo chown -R "ubuntu:ubuntu" "/home/ubuntu/.config/gcloud"
@soupdiver
Copy link

You also need to add - sudo chown -R "ubuntu:ubuntu" "/home/ubuntu/.config/gcloud"

@kimh
Copy link
Author

kimh commented Mar 30, 2016

Removed source ~ since it's done by the installation script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment