spaces as separators don't work right in windows, changing both for consistency
Signed-off-by: Mike Stevenson <Mike.Stevenson@us.logicalis.com>pull/252/head
parent
1def1264e6
commit
905485f57c
|
@ -16,7 +16,7 @@ Print the internal IP address and Pod CIDR range for each worker instance:
|
||||||
```
|
```
|
||||||
for instance in worker-0 worker-1 worker-2; do
|
for instance in worker-0 worker-1 worker-2; do
|
||||||
gcloud compute instances describe ${instance} \
|
gcloud compute instances describe ${instance} \
|
||||||
--format 'value[separator=" "](networkInterfaces[0].networkIP,metadata.items[0].value)'
|
--format '(networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ done
|
||||||
```
|
```
|
||||||
@('worker-0','worker-1','worker-2') | ForEach-Object {
|
@('worker-0','worker-1','worker-2') | ForEach-Object {
|
||||||
gcloud compute instances describe $_ `
|
gcloud compute instances describe $_ `
|
||||||
--format 'value[separator=" "](networkInterfaces[0].networkIP,metadata.items[0].value)'
|
--format '(networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
> output
|
> output
|
||||||
|
|
Loading…
Reference in New Issue