KhaosT / MacVM

macOS VM for Apple Silicon using Virtualization API
Apache License 2.0
1.31k stars 95 forks source link

Start multiple VMs on boot? #32

Open jmif opened 2 years ago

jmif commented 2 years ago

Thanks so much for this project! Wondering if its possible to start a few VMs via launchctl on boot? I'm able to start multiple VMs manually but I can't figure out the CLI equivalent.

hokadiri commented 1 year ago

hey @jmif , i'm having issues starting multiple VMs manually. I just clicked the play button multiple times. But i get this error

2023-01-11 10:14:07.418600-0800 MacVM[80007:1292474] Error: Error Domain=VZErrorDomain Code=2 "Failed to lock auxiliary storage." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=Failed to lock auxiliary storage., NSUnderlyingError=0x6000004d4510 {Error Domain=NSPOSIXErrorDomain Code=35 "Resource temporarily unavailable"}}

Could you please let me know how you were able to start multiple VMs?