bumplzz69 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Cloud SDK doesn't install remotely #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Because the script downloaded by the script at https://sdk.cloud.google.com 
uses /dev/tty on line 117 it's not fit to install with a remote ssh command. 
The prompts don't help either.

This is my current workaround, but it would be nice if it worked out of the box 
and you could parameterize the prompts:

gcloud compute ssh --zone <ZONE> <INSTANCE> --command "sudo curl 
https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | sed 
's/install < \/dev\/tty/install/g' | HOME=/opt sudo 
CLOUDSDK_CORE_DISABLE_PROMPTS=true bash"

Original issue reported on code.google.com by jsalve...@travix.com on 15 Jun 2015 at 9:16