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

Issue with Consistent Network Device Naming on CentOS 7 #4171

Closed
Xylakant opened this issue Jul 10, 2014 · 5 comments
Closed

Issue with Consistent Network Device Naming on CentOS 7 #4171

Xylakant opened this issue Jul 10, 2014 · 5 comments

Comments

@Xylakant
Copy link
Contributor

CentOS 7 now defaults to using Consistent Network Device Naming and thus is affected by the same issues as Fedora. Issue #1997 describes the problem in detail and has a PR attached that applies the fixes for fedora, the same fixes might work for CentOS, so deferring there for a detailed description. RHEL7 is probably affected in the same way.

@vStone
Copy link
Contributor

vStone commented Jul 11, 2014

@Xylakant: I created https://github.com/vStone/vagrant-centos7_fix as a temp workaround.

@nickchappell
Copy link

@vStone's workaround does the trick for me (OS X 10.9.3 host, CentOS 7 64-bit box, Vagrant 1.6.3). Any updates on fixing the underlying cause, either here or in #1997?

@vStone
Copy link
Contributor

vStone commented Jul 14, 2014

I can probably forge a pull request that does pretty much the same as the workaround later today.

vStone added a commit to vStone/vagrant that referenced this issue Jul 15, 2014
Uses fedora's network configuration for RedHat and CentOS 7.

Possibly fixes hashicorp#4171 but I doubt this is the 'cleanest' way. Pointers
welcome.
andytson referenced this issue in chef/bento Aug 8, 2014
@mitchellh
Copy link
Contributor

Fixed by #4195

@misheska
Copy link

I'm still seeing an issue when the network interfaces are using the new-style names on CentOS 7. I'm using the image 'box-cutter/centos7' on vagrantcloud. No issues with VirtualBox and public networks, only with VMware Fusion. Though my image is using the new-style network addresses. Here' s the output of ls /sys/class/net:

ls /sys/class/net | grep -v lo
ens32
ens33

No eth0 or eth1, but again, this works fine on VirtualBox.

@ghost ghost locked and limited conversation to collaborators Apr 10, 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 a pull request may close this issue.

5 participants