Closed purpleidea closed 10 years ago
Label: priority -> high Label: severity -> 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! Let's see how this patch goes. I really don't see why Fedora is using biosdevname and RHEL is not. RHEL7 is based on Fedora18/19 so there isn't much difference.
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