Skip to content

Instantly share code, notes, and snippets.

@HowellBP
HowellBP / gist:ed781d188d7fc54353a6a5abaffa0ed1
Created June 12, 2018 20:59
vagrant up error during ifup/ifdown
==> minion1: Configuring and enabling network interfaces...
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

Keybase proof

I hereby claim:

  • I am howellbp on github.
  • I am chitownaudio (https://keybase.io/chitownaudio) on keybase.
  • I have a public key whose fingerprint is 7CCC A698 6E4B 1D7F 5828 CFD8 7ADA B777 535C 4E88

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
name="MinTTY"
type="win32"
/>
<description>http://www.cygwin.com/</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">