| author | |
| committer | |
| log | 91df6befa2b0bd5a5d0ea7da1ee70e708950dd61 |
| tree | 3d51e58709a0703d859c28700d8ae595a858a70e |
| parent | 7f860aab053035563df54ed0b49ff69fe611286f |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
hostAddress was 10.0.0.189, which nothing answers; the Mac is 10.0.0.222,
so the dashboard reported both Mac VMs offline. gui-agent drops to 20 GiB.
m3-phoenix-box gets a revive LaunchAgent like gui-agent's, and a dashboard
stop leaves a marker so revive keeps it down.
Assisted-by: claude-sonnet-5.54 files changed, 11 insertions(+), 5 deletions(-)
config/mac-studio-sandbox.json+1-1| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | { |
| 2 | 2 | "dataset": "globe/clover/mac-studio-sandbox", |
| 3 | 3 | "mountPoint": "/srv/mac-studio-vm/sandbox", |
| 4 | "hostAddress": "10.0.0.189", | |
| 4 | "hostAddress": "10.0.0.222", | |
| 5 | 5 | "guestAddress": "10.0.0.124" |
| 6 | 6 | } |
tools/mac-agent-vm.md+4-4| ... | ... | @@ -79,13 +79,13 @@ Hub with **+ → Pair Nearby Device…** and Settings → Privacy & Security → |
| 79 | 79 | Developer Mode on the phone. Older iOS needs a cable, which the guest cannot |
| 80 | 80 | have. |
| 81 | 81 | |
| 82 | The guest has 28 vCPUs, 48 GiB RAM, and a 1440×900 display. vCPUs do not reserve | |
| 82 | The guest has 28 vCPUs, 20 GiB RAM, and a 1440×900 display. vCPUs do not reserve | |
| 83 | 83 | physical cores. CPU count and RAM changes require a cold boot. No automatic |
| 84 | lock/unlock controller or CPU affinity is installed. The guest's 48 GiB budget | |
| 84 | lock/unlock controller or CPU affinity is installed. The guest's 20 GiB budget | |
| 85 | 85 | is fixed for a run. Apple [allocates physical memory on demand](https://developer.apple.com/documentation/virtualization/vzvirtualmachineconfiguration/memorysize), |
| 86 | so it need not occupy 48 GiB immediately. Stock Tart has no verified balloon or | |
| 86 | so it need not occupy 20 GiB immediately. Stock Tart has no verified balloon or | |
| 87 | 87 | guest-aware reclaim path; sizing assumes previously used pages may remain |
| 88 | backed until the VM stops. This follows Clover's 48 GiB fallback. | |
| 88 | backed until the VM stops. Clover chose 20 GiB on 2026-11-22. | |
| 89 | 89 | |
| 90 | 90 | The 128 GB sparse disk contains a system APFS container of about 122 GB, |
| 91 | 91 | a 5.4 GB recovery partition, and the original boot container. The system |
tools/mac-vm-bridge.py+1| ... | ... | @@ -123,6 +123,7 @@ def lifecycle(action): |
| 123 | 123 | |
| 124 | 124 | def locked_power(name, action): |
| 125 | 125 | if action in {"stop", "reboot"}: |
| 126 | (vm.PRIVATE / name / "stopped").touch() | |
| 126 | 127 | vm.tart("stop", name, timeout=120) |
| 127 | 128 | if action in {"start", "reboot"}: |
| 128 | 129 | subprocess.run([str(LOCKED_START)], check=True, stdout=subprocess.DEVNULL, timeout=30) |
tools/phoenix-box.md+5| ... | ... | @@ -11,6 +11,11 @@ flags: headless, `--vnc-experimental`, and Softnet with every destination blocke |
| 11 | 11 | Softnet filters by address, not port, so the VM can reach every port Snow Globe accepts |
| 12 | 12 | on the tailnet. |
| 13 | 13 | |
| 14 | - **Recovery:** the `net.paperclover.m3-phoenix-box-revive` LaunchAgent runs | |
| 15 | `start-m3-phoenix-box revive` every 30 seconds through `ssh localhost`, so a crash or | |
| 16 | host reboot restarts the VM unless a dashboard stop left `private/m3-phoenix-box/stopped` | |
| 17 | (any start clears it). Restarts log to `~/Library/Logs/m3-phoenix-box-revive.log`. | |
| 18 | After a host reboot nothing runs until Clover unlocks FileVault and logs in. | |
| 14 | 19 | - **Names:** the guest has no DNS (its gateway is blocked), so `/etc/hosts` maps |
| 15 | 20 | `spacebar.paperclover.net` to `100.64.0.1`. Go ignores `/etc/hosts` on macOS unless |
| 16 | 21 | `GODEBUG=netdns=go`, which `run-phoenix-spacebar` sets for the Caddy relay. |