-
Notifications
You must be signed in to change notification settings - Fork 712
Closed
Labels
Description
Description
The command line used is not universally supported:
lima/pkg/store/instance_windows.go
Line 128 in 2c84e0c
| cmd := exec.Command("wsl.exe", "-d", distroName, "bash", "-c", `hostname -I | cut -d ' ' -f1`) |
Example output from Alpine:
~$ 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