Skip to content

Instantly share code, notes, and snippets.

@mintsoft
Created October 28, 2015 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mintsoft/d0ddb771b72efb39fc50 to your computer and use it in GitHub Desktop.
Save mintsoft/d0ddb771b72efb39fc50 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 Migrate to Bonding network configuration without a reboot
#!/bin/bash
# put new bonded configuration in interfaces.bonded and cd into /etc/network
ifdown -a; mv interfaces interfaces.old; mv interfaces.new interfaces; ifup lo; ifup bond0 & ifup eth0; ifup eth1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment