Created
January 14, 2013 06:58
-
-
Save ymmt2005/4528277 to your computer and use it in GitHub Desktop.
Patch for ifenslave-2.6 in Ubuntu 12.04 to modify the timing for enslaving slaves.
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
--- /etc/network/if-pre-up.d/ifenslave 2012-01-24 02:26:28.000000000 +0900 | |
+++ ifenslave 2012-09-12 01:03:22.558799876 +0900 | |
@@ -224,6 +224,7 @@ | |
# Setup the master interface | |
early_setup_master | |
setup_master | |
+ enslave_slaves | |
# Indicate that we're done setting up the master | |
# this is required as ifstate is modified at the beginning | |
@@ -266,7 +267,7 @@ | |
done | |
# Only setup one slave at once | |
- BOND_SLAVES=$IFACE enslave_slaves | |
+ #BOND_SLAVES=$IFACE enslave_slaves | |
# Call late_setup_master every time we add a slave as we don't have a way to know | |
# when all the slaves are up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment