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
|
||||
gcloud compute instances describe ${instance} \
|
||||
--format 'value[separator=" "](networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||
--format '(networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||
done
|
||||
```
|
||||
|
||||
|
@ -24,7 +24,7 @@ done
|
|||
```
|
||||
@('worker-0','worker-1','worker-2') | ForEach-Object {
|
||||
gcloud compute instances describe $_ `
|
||||
--format 'value[separator=" "](networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||
--format '(networkInterfaces[0].networkIP,metadata.items[0].value)'
|
||||
}
|
||||
```
|
||||
> output
|
||||
|
|
Loading…
Reference in New Issue