mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-09 08:26:47 +00:00
Use jq short form instead of jq with a chained tr in Tutorial
Signed-off-by: Christopher Timm <whiteHatTux@timmch.de>
This commit is contained in:
parent
31fc597205
commit
0e6983b351
@ -69,7 +69,7 @@ export IP="192.168.64.14"
|
|||||||
You can also try to use `jq` to get the IP into a variable:
|
You can also try to use `jq` to get the IP into a variable:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export IP=$(multipass info faasd --format json| jq '.info.faasd.ipv4[0]' | tr -d '\"')
|
export IP=$(multipass info faasd --format json| jq -r '.info.faasd.ipv4[0]')
|
||||||
```
|
```
|
||||||
|
|
||||||
Connect to the IP listed:
|
Connect to the IP listed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user