You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~$ hostname -I
hostname: unrecognized option: I
BusyBox v1.37.0 (2024-12-13 21:18:49 UTC) multi-call binary.
Usage: hostname [-sidf] [HOSTNAME | -F FILE]
Show or set hostname or DNS domain name
-s Short
-i Addresses for the hostname
-d DNS domain name
-f Fully qualified domain name
-F FILE Use FILE's content as hostname
~$ echo $?
1
The text was updated successfully, but these errors were encountered:
arixmkii
changed the title
getWslSSHAddress would fail on busybox distros
[WSL2] getWslSSHAddress would fail on busybox distros
Feb 16, 2025
If there is ip command then this command chain produced the needed result for me on Ubuntu and Alpine ip -4 -o addr show eth0 | awk '{print $4}' | cut -d/ -f1
Description
The command line used is not universally supported:
lima/pkg/store/instance_windows.go
Line 128 in 2c84e0c
Example output from Alpine:
The text was updated successfully, but these errors were encountered: