简体   繁体   中英

Trying to run a couple of VMs using Vagrant. On running vagrant up command I get Call to virDomainCreateWithFlags failed: internal error

Trying to run a CentOS 7 VM on Virtual Box using vagrant on my Fedora 35 machine. On running the run the vagrant up & vagrant up --debug commands I get the following message as output.

There was an error talking to Libvirt. The error message is shown
below:

Call to virDomainCreateWithFlags failed: internal error: /usr/libexec/qemu-bridge-helper --use-vnet --br=virbr0 --fd=27: failed to communicate with bridge helper: Transport endpoint is not connected
stderr=failed to get mtu of bridge `virbr0': No such device

So I was making a rookie mistake of not properly defining the VM provider in vagrant up command. Running vagrant up --provider virtualbox fixed this issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM