Open gernotstarke opened 2 years ago
@gernotstarke The provider is based on executing the multipass binary locally.
For a remote host, how do you foresee it working? Maybe ssh command?
I found this in the docs: https://multipass.run/docs/how-to-use-multipass-remotely-a-preview
The multipassd listens on unix socket by default, and the multipass command uses that, so by making multipassd listen on TCP with "--address
". The multipass then needs to have the MULTIPASS_SERVER_ADDRESS
environment variable set to use it.
The plugin needs to support provider configuration, and then I suppose it can configure several providers on different hosts using provider aliases[1].
So, this should be possible.
[1] https://www.terraform.io/language/providers/configuration#alias-multiple-provider-configurations
+1
Hi, I'd like to create a number of multipass VMs, but some on a different host...
is that possible with your provider?
(awesome work, btw, thanx!)