Skip to content

Commit d6bb447

Browse files
committed
Use ip instead of deprecated ifconfig
Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 01e0410 commit d6bb447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Pick a number `0 <= ID < 4000`. For this example `42` was chosen.
8585
```bash
8686
ID="42"
8787
# get the IP for that microVM
88-
ifconfig fc-$ID-tap0 | grep "inet "
88+
ip addr show fc-$ID-tap0 | grep "inet "
8989
inet 169.254.0.170 netmask 255.255.255.252 broadcast 0.0.0.0
9090

9191
# IP of microVM on other side is *one less*

0 commit comments

Comments
 (0)