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:
Christopher Timm 2021-02-05 16:59:12 -05:00 committed by Alex Ellis
parent 31fc597205
commit 0e6983b351

View File

@ -69,7 +69,7 @@ export IP="192.168.64.14"
You can also try to use `jq` to get the IP into a variable:
```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: