Open osy opened 2 years ago
I just discovered you all and would love to work this into my processes. Consider me a willing tester if/when you get around to this.
Looks like Orb won't do this so I think its worth doing it here for UTM instead. https://github.com/orbstack/orbstack/issues/105
Any work done on this? Given that QEMU 8.1.0 creates major issues with broken x86_64 VMs, I would love to use UTM through Vagrant.
Hey UTM team !
Is a Vagrant provider plugin is on the roadmap ?
I'm just moving on Mac and was looking for a Virtualization software (I was looking for an open source one and not a big fan of VirtualBox) and I have to say that I'm used to Vagrant to provision things on my laptop.
Hello!
Thank you for exposing UTM via APIs. I was able to build a Vagrant plugin for UTM using those. (https://github.com/hashicorp/vagrant/issues/12518#issuecomment-2278629170)
Check out https://naveenrajm7.github.io/vagrant_utm/ and please share your feedback.
For some Vagrant actions, the plugin currently works around the existing UTM APIs, which can be improved by simply exposing the existing functionality via API either through the command line (ideal) or Apple Scripting Bridge.
I will list a couple here .
utmctl import <file.utm> --name <name>
Imports utm file with given name and returns uuid , this is basically the utm://downloadVM?url=.. with few changes.utmctl export <name/uuid> -o <file.utm>
Exports the VM to the given path, this is exactly the 'Share..' action button.I also have a working Packer plugin for UTM which enables building reproducible UTM images. Exposing existing functions through API , can improve the packer plugin to do unattended OS installs. Required API support includes the ability to add Qemu additional arguments to VM config, add/remove devices through AppleScript.
I can create issues for each and possibly work towards that. Please share your thoughts.
Cross referencing with https://github.com/hashicorp/vagrant/issues/12518
This has been requested by quite a bit of users and this issue should track it.