Skip to content
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

Fix a network configuration issue of Fedora [GH-1997] #3207

Conversation

khiro
Copy link
Contributor

@khiro khiro commented Mar 14, 2014

Support Predictable Network Interface Names (PNIN).

I tested on Fedora19 and Fedora20, both vms' private/public network worked fine.

Fedora's udevd renames original nic name to predictable nic name (e.g "eth0" to "p7p1").
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

This patch can get original nic name using biosdevname command, then set each network interface's script defined in vagrant file.

Support Predictable Network Interface Names.
@ryansb
Copy link
Contributor

ryansb commented Mar 15, 2014

Works for me. Tested on a base F18 box and https://vagrantcloud.com/chef/fedora-20. 👍

@khiro
Copy link
Contributor Author

khiro commented Mar 15, 2014

@ryansb Thank you for testing.
@mitchellh If code is not problem, please merge this PR.

@davidpelaez
Copy link

I'm having the exact same issue that this pull request seems to fix. What's the proper way to start using this while it's still not released to the general public?

@ryansb
Copy link
Contributor

ryansb commented Mar 20, 2014

@davidpelaez you can git clone https://github.com/khiro/vagrant.git then check out the "support_fedora_predictable_network_interface_names" branch. Then use the steps here to install that.

@davidpelaez
Copy link

Thanks for the help. Tested with fedora 20 from Chef and works as expected.

@mitchellh
Copy link
Contributor

LGTM. Thanks!

mitchellh added a commit that referenced this pull request Apr 5, 2014
…k_interface_names

guests/fedora: Fix a network configuration issue of Fedora [GH-1997]
@mitchellh mitchellh merged commit e04ef90 into hashicorp:master Apr 5, 2014
@ghost ghost locked and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants