vagrant-multipass
vagrant-multipass copied to clipboard
clarification re: networking
Hi, since multipass works on Apple Silicon (M1), this looks useful.
But the readme says:
Vagrant networking is not supported due multipass doesn't allow to manage network
Could you clarify what that means and if it is still true?
multipass launch --help shows (with multipass version 1.9.1):
--network <spec> Add a network interface to the instance, where <spec> is
in the "key=value,key=value" format, with the following
keys available:
name: the network to connect to (required), use the
networks command for a list of possible values, or use
'bridged' to use the interface configured via `multipass
set local.bridged-network`.
mode: auto|manual (default: auto)
mac: hardware address (default: random).
You can also use a shortcut of "<name>" to mean
"name=<name>".
--bridged Adds one `--network bridged` network.
Hello When I wrote this plugin multipass didn't provide this feature. So for the moment it's always true.
Thanks @Fred78290 . Given the multipass options above, is it your understanding that it should be possible to get multipass network management working with Vagrant?
Is it this line that would need updating? https://github.com/Fred78290/vagrant-multipass/blob/010f182fa828f060f5fad348c1a70039df433cc2/lib/vagrant-multipass/action.rb#L136