Open chyyran opened 1 year ago
I also see the errors in #801 but their resolution steps do not help.
* eth0 ...udhcpc: started, v1.36.0
udhcpc: broadcasting discover
udhcpc: broadcasting select for 192.168.5.15, server 192.168.5.2
udhcpc: lease of 192.168.5.15 obtained from 192.168.5.2, lease time 86400
[ ok ]
* col0 ...udhcpc: started, v1.36.0
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc failed to get a DHCP lease
udhcpc: no lease, forking to background
I tried resigning the included qemu binary
❯ cat >entitlements.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.hypervisor</key>
<true/>
</dict>
</plist>
EOF
❯ codesign --sign - --entitlements entitlements.xml --force /Users/chyyran/.colima/_wrapper/3a9197e1ca3cd2da076da2b473d7a7eb118e2cca/bin/qemu-system-aarch64
/Users/chyyran/.colima/_wrapper/3a9197e1ca3cd2da076da2b473d7a7eb118e2cca/bin/qemu-system-aarch64: replacing existing signature
This fixes the QEMU binary \"/Users/chyyran/.colima/_wrapper/3a9197e1ca3cd2da076da2b473d7a7eb118e2cca/bin/qemu-system-aarch64\" is not properly signed with the \"com.apple.security.hypervisor\" entitlement" error="binary \"/Users/chyyran/.colima/_wrapper/3a9197e1ca3cd2da076da2b473d7a7eb118e2cca/bin/qemu-system-aarch64\" seems signed but lacking the \"com.apple.security.hypervisor\" entitlement"
error, but still does not expose an IP address.
I got IP address using vm-type vz, see if https://github.com/abiosoft/colima/issues/458#issuecomment-1989839779 helps for you?
Description
I think this issue showed up since macOS 13.5.2, but
--network-address
no longer exposes an address. I tried the steps in #801 but it does not help.Version
Colima Version:
Lima Version:
Qemu version: 8.1.0_2
Operating System
Output of
colima status
Reproduction Steps
colima start --network-address
Expected behaviour
colima status has an address
Additional context
No response