-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vagrant doesn't work on Fedora 20 with libvirt #4104
Comments
Label: priority -> high |
Looks like the same as #4078 for el/centos7 |
I've submitted PR#4297 as workaround. |
@gildub oh awesome, thank you! I didn't test yet, but glad to see you've written a patch for this! |
@purpleidea , my pleasure! Well I finally took the time to jump on Vagrant, and I can't go back now! |
The PR looks good. Thanks! This should be fixed. |
After building a Fedora 20 base box, and testing it with vagrant-libvirt, I would see this error:
It seemed weird that vagrant was getting the syntax wrong. Tracing this, got me:
Which shows: ifcfg-
which is missing something.
I traced this down to the following command in the configure_networks.rb file:
which if you run, you'll see that it doesn't work in a kvm powered virtual machine. Why? The man page of biosdevname has the answer:
Which means that this script is bogus when running in a real virtual machine that knows it is one.
I haven't worked out how to patch this yet, since I'm not as familiar with the vagrant source, so if someone else could step up this would be appreciated. Of worthy mention: running CentOS 6.5 works fine. I think this is because there doesn't seem to be a specific capability with this bug in it, and whatever the default is, works great. If someone has more info on this, that would be great too. Workarounds are appreciated.
Cheers,
James
The text was updated successfully, but these errors were encountered: