Skip to content

Commit 0f1aac3

Browse files
committed
doc: Fix IP extraction from fly machine list
1 parent 5a34218 commit 0f1aac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Kill the local Obelisk server.
9696

9797
Proxy the gRPC port 5005 of the `obelisk` VM:
9898
```sh
99-
flyctl proxy 5005 $(fly machine list | grep obelisk | awk '{print $6}')
99+
flyctl proxy 5005 $(fly machine list --json | jq -r '.[] | select(.name == "obelisk") | .private_ip')
100100
```
101101

102102
Verify the port tunneling works:

0 commit comments

Comments
 (0)