OpenBSD-current now runs as guest under Apple Hypervisor
51 points by hoistbypetard
51 points by hoistbypetard
This makes me irrationally happy. I like OpenBSD. It's more practical for me to daily drive an Apple laptop than anything else right now, but sometimes I want to just spin up a quick test box for OpenBSD. I'm happier to do that locally than on a VPS somewhere, for some reason... I don't have a concrete, strong reason to like this, and it's certainly not a "need" for me, but I'm happy about it.
I just tried a .iso snapshot from last night under VirtualBuddy - the installer worked fine and the networking worked fine, was able to pull sets over the web, but after rebooting the vio interface didn't come up and nothing I tried could get it to start. Maybe the set of commits mentioned will be in tonight's snap and I'll try again, I don't actually know if the one I tried had them.
And now I know about VirtualBuddy! Thanks!
I had been looking at the UTM app in the App Store, but I didn't know if there was something Open Source that took advantage of the existing virtual infrastructure Apple provided (for better or worse).
Related - what are people’s favorite ways to use the Hypervisor framework? I’ve used UTM for spinning up macOS VMs but curious what other options are out there.
https://github.com/lima-vm/lima
It Works For Me and the CLI is so much better than docker.
Lima launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2).
The original goal of Lima was to promote containerd including nerdctl (contaiNERD ctl) to Mac users, but Lima can be used for non-container applications as well.
Lima also supports other container engines (Docker, Podman, Kubernetes, etc.) and non-macOS hosts (Linux, NetBSD, etc.).
I love OrbStack, the integration and ease-of-use is best in class. It isn’t general purpose though, as both OCI (Docker Desktop alternative) and all virtual machines share just one kernel (so it’s only one real vm under the hood), minimizing resource usage. If one can live with the limits this imposes, I can just recommend to try it.