Created
October 28, 2015 16:12
-
-
Save mintsoft/d0ddb771b72efb39fc50 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 Migrate to Bonding network configuration without a reboot
This file contains hidden or 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
#!/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