Parallels / vagrant-parallels

Vagrant Parallels Provider
https://parallels.github.io/vagrant-parallels
MIT License
995 stars 88 forks source link

Cannot attach a NIC with unplugged cable by public_network on bridge mode #460

Open Yohnah opened 11 months ago

Yohnah commented 11 months ago

I'm trying to create a virtual machine using Vagrant + parallels plugin.

This virtual machine require 3 NIC and I setup the Vagrantfile using the public_network as follows:

Vagrant.configure("2") do |config| config.vm.network "public_network", bridge: en0 config.vm.network "public_network", bridge: en8 config.vm.network "public_network", bridge: en9 end

en0, en8 and en9 are ethernet NICs and I need to attach them to virtual machine, and it is detected by prlsrvctl command

image

The main problem is en0 has unplugged the ethernet cable and, when I tried to vagrant up, I receive the next message:

image

If I attach the cable it works fine.

I need to vagrant up the machine with the unplugged cable first, and once the machine is up, plugged it by own reasons.

Are there any configurations I can add to Vagrantfile to reach out this goal?

Thanks

Yohnah commented 11 months ago

In addition, I've just tested it by using Virtualbox (and same device), and Virtualbox allows to attach the NIC althoug the cable is unplugged.

So,the problem seems to be focussed on parallels plugin

Thanks