Closed mgnkir closed 5 months ago
If you want to operate on a Linux machine via ssh from your M1 macos machine, maybe? (although last I checked, you needed to have a xsltproc binary setup in your path, not sure the status of that on macs).
If you are hoping to run kvm workloads directly on your machine... best of luck (as kvm is part of Linux).
I won't claim it is impossible (just highly improbable) as I'm not knowledgeable enough about the Mac ecosystem to make that claim. We have a colleague who was in your exact situation and he had to wait for a Linux machine before he could start working on our kvm tooling locally. He didn't manage to hack a solution around it. I haven't tried (I don't have a Mac and I'll be frank, my interest is low).
My personal advice: Either get a Linux machine or stick with containers in a Linux vm.
any update for this issue? I just wonder if possible to use this provider to create vm in macOS with apple silicon base machine.
This question isn't really specific to this terraform provider. First, figure out how to do this using libvirt, if it's possible. You'll need to determine the correct domain type and architecture. Then use those parameters with the libvirt_domain
resource.
If you can create a libvirt domain on said machine but can't do it using this provider, then definitely come back and let us know.
System Information
MacBook Pro 16" M1 Pro
Linux distribution
Macos 13.2.1
Terraform version
Provider and libvirt versions
If that gives you "was not built correctly", get the Git commit hash from your local provider repository:
Checklist
[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?
[ ] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:
Description of Issue/Question
Setup
Steps to Reproduce Issue