fix curl region command
parent
79a3f79b27
commit
7a1b07eed4
|
@ -63,8 +63,7 @@ INTERNAL_IP=$(curl -s -H "Metadata-Flavor: Google" \
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
REGION=$(curl -s -H "Metadata-Flavor: Google" \
|
REGION=$(curl -s -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/zone | cut -d/ -f 4 | sed 's/.\{2\}$//')
|
||||||
http://metadata.google.internal/computeMetadata/v1/project/attributes/google-compute-default-region)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue