mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 13:31:28 +02:00
feat(coreos-base/oem-gce): Add a message about the cloud sdk container
Since it isn't simple for us to provide the Python based Google Cloud SDK tools users should be directed to the Docker container instead. Also fix the bug report URL, not that anyone looks at it... :)
This commit is contained in:
parent
51089609e7
commit
b3cf93c6dc
@ -106,4 +106,23 @@ coreos:
|
|||||||
id: gce
|
id: gce
|
||||||
name: Google Compute Engine
|
name: Google Compute Engine
|
||||||
home-url: https://cloud.google.com/products/compute-engine/
|
home-url: https://cloud.google.com/products/compute-engine/
|
||||||
bug-report-url: https://github.com/coreos/coreos-overlay
|
bug-report-url: https://github.com/coreos/bugs/issues
|
||||||
|
|
||||||
|
write_files:
|
||||||
|
- path: /etc/profile.d/google-cloud-sdk.sh
|
||||||
|
permissions: 0644
|
||||||
|
content: |
|
||||||
|
#!/bin/sh
|
||||||
|
function _fake_gcloud {
|
||||||
|
cat >&2 <<EOF
|
||||||
|
gcloud, gcutil, and other Google Cloud SDK tools are available from
|
||||||
|
Google via a Docker container named google/cloud-sdk.
|
||||||
|
|
||||||
|
See https://index.docker.io/u/google/cloud-sdk/
|
||||||
|
EOF
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
alias gcloud=_fake_gcloud
|
||||||
|
alias gcutil=_fake_gcloud
|
||||||
|
alias gsutil=_fake_gcloud
|
||||||
|
Loading…
x
Reference in New Issue
Block a user