Created
January 25, 2018 16:33
-
-
Save jasonwilliams/4b9c52a0e97072694cb0e2764c12a8d6 to your computer and use it in GitHub Desktop.
VAGRANT_LOG=info vagrant up | portfowarding false
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> default: Configuring and enabling network interfaces... | |
INFO ssh: SSH is ready! | |
INFO ssh: Execute: (sudo=false) | |
INFO guest: Execute capability: configure_networks [#<Vagrant::Machine: default (VagrantPlugins::ProviderVirtualBox::Provider)>, [{:type=>:static, :adapter_ip=>"192.168.193.1", :ip=>"192.168.193.22", :netmask=>"255.255.255.0", :auto_config=>true, :interface=>0}]] (redhat) | |
INFO ssh: SSH is ready! | |
INFO ssh: Execute: (sudo=false) | |
INFO guest: Execute capability: network_scripts_dir [#<Vagrant::Machine: default (VagrantPlugins::ProviderVirtualBox::Provider)>] (redhat) | |
INFO ssh: SSH is ready! | |
INFO ssh: Execute: (sudo=false) | |
INFO guest: Execute capability: network_interfaces [#<Vagrant::Machine: default (VagrantPlugins::ProviderVirtualBox::Provider)>] (redhat) | |
INFO ssh: Execute: /sbin/ip -o -0 addr | grep -v LOOPBACK | awk '{print $2}' | sed 's/://' (sudo=true) | |
INFO ssh: Execute: cat /proc/net/dev | grep -E '^[a-z0-9 ]+:' | awk '{print $1}' | sed 's/://' (sudo=true) | |
INFO ssh: Execute: nmcli (sudo=false) | |
INFO ssh: Execute: nmcli d show eth0 (sudo=false) | |
INFO ssh: Execute: nmcli d show eth0 | grep unmanaged (sudo=false) | |
INFO ssh: Execute: nmcli d disconnect iface 'eth0' | |
mv -f '/tmp/vagrant-network-entry-eth0-1516895975-0' '/etc/sysconfig/network-scripts/ifcfg-eth0' | |
(test -f /etc/init.d/NetworkManager && /etc/init.d/NetworkManager restart) || ((systemctl | grep NetworkManager.service) && systemctl restart NetworkManager) (sudo=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment