Skip to content

Commit

Permalink
Use jq short form instead of jq with a chained tr in Tutorial
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Timm <whiteHatTux@timmch.de>
  • Loading branch information
WhiteHatTux authored and alexellis committed Feb 6, 2021
1 parent 31fc597 commit 0e6983b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/MULTIPASS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0e6983b

Please sign in to comment.