Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SOLUTION:
- apt-get install ifupdown
- PROBLEM:
- The following SSH command responded with a non-zero exit status.
- Vagrant assumes that this means the command failed!
- /sbin/ifdown 'eth1' || true
- /sbin/ip addr flush dev 'eth1'
- # Remove any previous network modifications from the interfaces file
- sed -e '/^#VAGRANT-BEGIN/,$ d' /etc/network/interfaces > /tmp/vagrant-network-interfaces.pre
- sed -ne '/^#VAGRANT-END/,$ p' /etc/network/interfaces | tac | sed -e '/^#VAGRANT-END/,$ d' | tac > /tmp/vagrant-network-interfaces.post
- cat \
- /tmp/vagrant-network-interfaces.pre \
- /tmp/vagrant-network-entry \
- /tmp/vagrant-network-interfaces.post \
- > /etc/network/interfaces
- rm -f /tmp/vagrant-network-interfaces.pre
- rm -f /tmp/vagrant-network-entry
- rm -f /tmp/vagrant-network-interfaces.post
- /sbin/ifup 'eth1'
- Stdout from the command:
- Stderr from the command:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement