You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time I use vagrant up, Vagrant creates /etc/sysconfig/network-scripts/ifcfg-eth1 as it should.
But after reload Vagrant overwrites /etc/sysconfig/network-scripts/ifcfg-eth0 with the same content of /etc/sysconfig/network-scripts/ifcfg-eth1. (I saw this through the VirtualBox console)
To be noted: I have vagrant-vbguest disabled
I found that the problem is wrong sorting:
...
DEBUG ssh: Re-using SSH connection.
INFO ssh: Execute: /sbin/ip -o -0 addr | grep -v LOOPBACK | awk '{print $2}' | sed 's/://' (sudo=true)
DEBUG ssh: Exit status: 0
DEBUG network_interfaces: Unsorted list: ["eth0", "eth1", "docker0"]
DEBUG network_interfaces: Sorted list: ["docker0", "eth0", "eth1"]
DEBUG ssh: Uploading: /var/folders/2k/14hhz7z14nv29v3b07wvwzz0_84k23/T/vagrant-redhat-configure-networks20161102-16633-18xtva2 to /tmp/vagrant-network-entry-eth0-1478137285-0
DEBUG ssh: Re-using SSH connection.
DEBUG ssh: Re-using SSH connection.
INFO ssh: Execute: # Down the interface before munging the config file. This might
# fail if the interface is not actually set up yet so ignore
# errors.
/sbin/ifdown 'eth0' || true
# Move new config into place
mv '/tmp/vagrant-network-entry-eth0-1478137285-0' '/etc/sysconfig/network-scripts/ifcfg-eth0'
# Bring the interface up
ARPCHECK=no /sbin/ifup 'eth0'
(sudo=true)
...
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 3, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vagrant version
Vagrant 1.8.6
Host operating system
Mac OS X 10.11.6
Guest operating system
Centos 7
Vagrantfile
Debug output
debug info here
Expected behavior
VM should restart normally
Actual behavior
Vagrant hangs and can not connect to the VM
Steps to reproduce
References
No references
Additional info
The first time I use
vagrant up
, Vagrant creates/etc/sysconfig/network-scripts/ifcfg-eth1
as it should.But after reload Vagrant overwrites
/etc/sysconfig/network-scripts/ifcfg-eth0
with the same content of/etc/sysconfig/network-scripts/ifcfg-eth1
. (I saw this through the VirtualBox console)To be noted: I have
vagrant-vbguest
disabledI found that the problem is wrong sorting:
The text was updated successfully, but these errors were encountered: