-
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
The private network with static ip is not activated when Guest OS starts #8250
Comments
+1 |
1 similar comment
+1 |
+1 Host Ubuntu 16.04, guest CentOS7 |
+1 |
1 similar comment
+1 |
+1 Hosts: Ubuntu 16.04.1 and OS X Sierra 10.12.3 Restarting the network.service inside the box fixes the problem also here. |
Same with an Ubuntu 16.10 host, CentOS 7.3.1611 guest. Looks as though something screwy is going on in one of the network capabilities, as the wrong SELinux context is applied to an interface configuration file:
|
My patch above doesn't completely fix this. It seems that Vagrant-configured interfaces don't come back after a restart; the SELinux policy violation above is simply because of In this configuration,
Adding the following block to the
|
Has anyone rolled back to a version of vagrant that doesn't have this issue? I'm on ubuntu 16.04 host and using the openshift-vagrant cdk image which is rhel 7.3 maipo. |
@mtbvang I just hit the same issue with centos7.2 & 7.3. I just downgraded to vagrant-1.9.0 and cannot reproduce the issue anymore. May be a possible workaround until this issue is resolved, but YMMV |
Downgrading to vagrant 1.9.0 still had the problem for me. |
Fixed in Vagrant
|
I think this issue is fixed by: #8096 |
This is fixed in the 1.9.2 release via PR #8148. Thanks! |
Vagrant 1.9.1
Host operating system
Windows 10 Pro x64 - Version 1607 (OS Build 14393.693)
Guest operating system
CentOS 7.3-1611 x86_64
Vagrantfile
Expected behavior
The private network ifcfg-enp0s8 with static ip should be activated by default on startup!
Actual behavior: I must restart network service manually (or add inline shell to my Vagrantfile). The generated file ifcfg-enp0s8 is correct.
The text was updated successfully, but these errors were encountered: